06-18-2015 8:50 AM
Hi All, I need to fill control data in idoc segment . Below detais is for develpemnt system control data should fill dynamically that is if it is quality system (QX4instead of DX4 & QH1 instead of DH1 with cllnt 220) is there... similarly for Production system.. PX4, PH1. how do i get that dynamically .. for devoloment, quality and production RECEIVER Port DX4_ID Partner Number CABR SENDER Port SAPDH1 Partner number DH1CLNT110 thanks
06-18-2015 9:46 AM
Hi,
Ho you are calling the Idoc? From any middleware like PO/PI or Webmethod/Websphere or you are generating the idoc from inside SAP ABAP system?
Please give more detail.
R
06-18-2015 9:56 AM
Hi,
Generally this information will be stored in table EDIDC(idoc control table). But I presume you are using custom outbound IDOC and at the fist time execution this table EDIDC won't hold any entry(as no IDOC is generated yet in system !).
However you can use FM EDI_PARTNER_READ_COMPLETE to get all required details based on your system client, partner number and partner type. This details(Partner type client and partner type) can be fetched from table EDP13 Partner Profile: Outbound based on your message type.
This FM will give details for all basic type in the given partner number and type, but you can filter based on your specific IDOC basic type.
Hope this helps
Thanks,
Sagar