2013 Dec 29 5:26 PM
Hi Folks,
I writing two programs.
1. In my first program iam uploading data from excel to custom table.
in my excel data i have 10 other fields along with key fields like the below.
i have to check what is the last maintained value by the user(it might b 0) in excel file.
excel data
man1 man2 man3 fld1 fld2 fld3 fld4 fld5 fld6 fld7 fld8 fld9 fld10
a b c 90 80 70 40 20 0
table data
man1 man2 man3 fld1 fld2 fld3 fld4 fld5 fld6 fld7 fld8 fld9 fld10
a b c 90 80 70 40 20 0 0 0 0 0
2. In my second program i am updating the livecache database( in APO)
there i have to update the values only from fld6 since that is last maintained
value in excel.
fld1 fld2 fld3 fld4 fld5 fld6
90 80 70 40 20 0
how my second program will know what is last maintained value for my current record
in the table.
Please share your valuable suggestions and help..
Thanks,
smriti
2013 Dec 30 4:29 AM
Hi Smriti,
Not really getting the logic you want to impliment,But if you want to pass such information from one program to another, you can try below ways:
1) If the reports are executed one by one you can use SAP/ABAP Memory to pass flags or values specifying which one is the last field ( fld6 ) .( set parameter or export import )
2) if both the reports are executed randomly. try custom table with flags or value to inform second report that fld6 is the last field.
Regards,
Raj