Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Link between two programs

Former Member
0 Likes
528

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     

1 REPLY 1
Read only

Former Member
0 Likes
404

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