what is the importance of macros? is it that it is useful
only for addition or subtraction operation (arithmetic
operations) ? I need more information regards this? I am
waiting for the reply
Answers were Sorted based on User's Feedback
Answer / sirisha
MACROS -- it is just the abbreviation of the piece of code
(Set of few lines). When the same piece of code is repeated
multiple times in a program, they can be replaced with a MACRO.
Unlike sub-routines, during run time the control will not
call the routine, instead it will just replace the MACRO
with the piece of code.
MACROS can not be debugged.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / swarnali basu
1.Macros can only be used in the program the are defined in
and only after the definition.
2.Macros can take max 9 parameters.
3.Macros are expanded at compilation / generation.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / naveen
macros are nothing but place holders they maintain data at
runtime like field groups.
i know this much of information.
Is This Answer Correct ? | 0 Yes | 3 No |
1.Can we see the output without print program in sap script,and can we fetch the data without printprogram?if yes how,pls reply in details. 2.What is table control in BDC? how can we handled in bdc? pls reply in details
what is the importance of macros? is it that it is useful only for addition or subtraction operation (arithmetic operations) ? I need more information regards this? I am waiting for the reply
Is the basic list deleted when the new list is created?
When writing BDC for MM01 how do you take care of views?
What are the check tables?
which command is used to flushes the database buffer?
does select single *.. / select * .. affect performance ? how?
What is the difference b/w BAPI and Function module
Define database layer? : abap data dictionary
How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc
2 Table Maintenance generation & validation using events Create table lets say ZXXXX hold Object Locations. Field key data element Type Length Dec text MANDT x MANDT Clnt 3 0 Client ZCTRY x LAND1 Char 3 Country Key ZOLOC x ZOLOC Char 15 Object Location ZOLOC20 ZOLOC20 Char 20 Object Location short text ZOLOC40 ZOLOC40 Char 40 Object Location long text ZAWSYS LOGSYSTEM Char 10 Logical System ZSTREET AD_STREET Char 60 Street ZSTREET2 AD_STRSPP1 Char 40 Street 2 ZPOSTAL_CODE AD_PSTCD1 Char 10 City postal code ZCITY AD_CITY1 Char 40 City ZCOUNTRY ZLAND Char 3 Address Country ZOBJ_SIGN ZOBJ_SIGN Char 10 Object Sign ZREF1 ZREF1 Char 10 Reference 1 ZREF2 ZREF2 Char 10 Reference 2 ZREF3 ZREF3 Char 10 Reference 3 ZREF4 ZREF4 Char 10 Reference 4 ZNOTE1 ZNOTE1 Char 20 Note 1 ZNOTE2 ZNOTE2 Char 20 Note 2 ZCREAETDATE CREATEDATE Dats 8 Creation/Change Date ZCREATETIME CREATIETIME Tims 6 Creation/Change Time Create a table maintenance generator for ZXXXX. Create two events in Table Maintenance Generator: - To update the filed value SAP in ZAWSYS and creation date and time - To update change date and time after saving the entry Event ‘21’ – At Create: ZXXXX-ZAWSYS = SAP. ZXXXX-ZCREATEDATE = sy-datum. ZXXXX-ZCREATETIME = sy-uzeit. Event ‘01’- After Save ZXXXX-mandt = extract+0(3). ZXXXX-zctry = extract+3(3). ZXXXX-zoloc = extract+6(15). ZXXXX-zoloc20 = extract+21(20). ZXXXX-zoloc40 = extract+41(40). ZXXXX-zawsys = log_sys. ZXXXX-zstreet = extract+91(60). ZXXXX-zstreet2 = extract+151(40). ZXXXX-zpostal_code = extract+191(10). ZXXXX-zcity = extract+201(40). ZXXXX-zcountry = extract+241(3). ZXXXX-zobj_sign = extract+244(10). ZXXXX-zref1 = extract+254(10). ZXXXX-zref2 = extract+264(10). ZXXXX-zref3 = extract+274(10). ZXXXX-zref4 = extract+284(10). ZXXXX-znote1 = extract+294(20). ZXXXX-znote2 = extract+314(20). ZXXXX-zcreatedate = sy-datum. ZXXXX-zcreatetime = sy-uzeit. modify ZXXXX.
how to write a Classical batch input program using transaction FK01 to create vendor/change the vendor address into R/3 system. (Call Transaction Method) plz mention the detail coding Tahnks, Rahul