In an Infobject 0xyz. i have added an "bpartner" as attribute to 0xyz..(Already data is exists for bpartner). Since for this bpartner(attribute of 0xyz) the data is not showing in maiantain master data of 0XYZ Infoobject. I didnt not maaped in the transfer rules of 0XYZ to datasource, since data is already loading for this arrtibute(bpartner) from other source.
Already 0XYZ contains 0Partner.i want to see the data for "bpartner" where these two partners are equal in maintain master data of 0XYZ.
how can i map the bpartner in transfer rules of 0XYZ? or do i need to write any fied routine ? Any one please advise me
I write the start routine for populating the data for bpartner in trnsfer rules.Iam getting an error as
"DATAPAK" is a table without a header line and therefore has no component called "EXGPTR".
Can you please advise where i need to change the code for this error?
DATA: TS_DATAPAK TYPE TRANSFER_STRUCTURE.
DATA: ls_vendor TYPE /BI0/PVENDOR.
DATA: lt_vendor LIKE SORTED TABLE OF ls_vendor
WITH UNIQUE KEY vendor
WITH HEADER LINE.
INTO TABLE lt_vendor
WHERE objvers = 'A'.
LOOP AT DATAPAK into TS_DATAPAK.
READ TABLE lt_vendor
WITH TABLE KEY 0vendor = DATAPAK-EXGPTR.
IF sy-subrc = 0.
DATAPAK-0vendor = lt_vendor-VENDOR.
MODIFY DATAPAK FROM TS_DATAPAK.
* abort <> 0 means skip whole data package !!!
ABORT = 0.
1.Since for this bpartner(attribute of 0xyz) the data is not showing in maiantain master data of 0XYZ Infoobject.
a).Check what is the data loading problem in maintain master data level
2. how can i map the bpartner in transfer rules of 0XYZ?
a).If you are maintaining two source systems then use the option compound(0sourcesystem)