Application Development 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: 

dynamic filling control data in idoc for port and partner number

former_member391265
Participant
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

sagar_pawar14
Explorer
0 Kudos

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