‎2006 Aug 24 5:44 PM
Hi,
Can anyone explain why and which is a better option among
Repeating an IDOC segment to populate some additional data or extending a segment to populate the data.
I would like to populate supplier code in E2DRM1 segment- Partner_ID field of IDOC type QALITY02. The SAP's standard populates ADRNR number from the KNA1 table (in transaction code QC20). But in transaction QC22, I dont see this segment. How to populate this segment?
I appreciate your response.
Shiva
‎2006 Aug 25 8:23 AM
‎2006 Aug 25 12:56 AM
Shiva Ram,
If you want to populate field (partner_id field) then you have to extend the IDOC and populate the supplier code for QC22. For QC21, that field will be blank. So go for IDOC extension.
Thanks,
‎2006 Aug 25 1:54 AM
Hi Shiva,
The best way is to use repeating existing segment (if still available) to populate the supplier code through custom user exits in process code/function module.
If the above is not available then extended the standard IDoc would be the next option. Extended the IDoc will involve above task and also additional setup in the configuration as well i.e. partner profile (WE20) and etc.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Aug 25 3:00 AM
‎2006 Aug 25 8:23 AM