on 06-13-2012 10:00 AM
Hi Friends,
I need to write an End routine at DSO level to populate an Info object( List amount) with Master data Info object (0BPARTNER) from its Q Table,
Key fields are 0Bpartner,Objver and Date to.Can somebody please give me the code.
Thanks,
Sahasra
Hi Sahasra,
You can directly assign the objects in the transformation and use option "Read from master Data".
However you can write the code as below:
data: i_tab type standard table of /BI0/QBPARTNER,
wa_tab type /BI0/QBPARTNER.
Select * from /BI0/QBPARTNER into table i_tab
for all enteries in result_package
where bppartner = result_package-bpartner and
objver = 'A' and
date_to = result_package-date_to.
loop at result_package assigning <result_fields>.
read table i_tab into wa_tab with key
bpartner = <result_fields>-bpartner
date_to = <result_fields>-date_to.
if sy-subrc = 0.
<result_field>-list amount = wa_tab-list amount.
endif.
endloop.
Hope it helps.
Regards,
Satyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.