12-17-2014 12:05 PM
hi all ,
I am having a doubt regarding the awkey type char 20 and vbeln type char10 How to compare the awkey = vbeln (leads to the mismatch datatype )
With thanks,
Maha.
12-17-2014 12:09 PM
Hi,
Use CONVERSION_EXIT_ALPHA_OUTPUT,..FM pass your 20 char awkey .
Regards,
Srini.
12-17-2014 12:10 PM
Hii Mahalakshmi
just deifne both varibale to same data type in your internal table
you must be suing it for all entries in table statement.
Regards
Gaurav
12-17-2014 12:13 PM
12-17-2014 12:18 PM
First look for AWTYP, then look in table TTYP for this value, you will usually get the name of the FM that SAP uses to access original document from FI, sometimes you will also get a structure to be used to map fields.
for example VBRK, FM is AC_DOCUMENT_SENDER_VBRK, in the source you will find no conversion,no structure, so just use a basic MOVE. Of course try to not use some FOR ALL ENTRIES as its syntax rules won't accept the comparison, if you feel compel to use a FOR ALL ENTRIES you must define a second field with same length as required, and use MOVE statements to fill it...
Regards,
Raymond
12-17-2014 1:17 PM
Recently I come up with this command:
UNPACK lv_variable1 TO lv_variable2.
You can unpack value of vbeln to variable that is type of awkey and than compare them.
Br,
Mario