2013 Apr 15 6:18 AM
we have two server PRD1 and PRD2, we want IDOC to be sent from PRD1 to PRD2 for GL balance and account payable open item, which should be the IDOC basic type, message type and process code for both outbound parameter and inbound parameter?
when we design IDOC, if it is cross two SAP R3 server, what should be the difference in terms of IDOC design compared with sending IDOC within 1 server?
2013 Apr 15 7:00 AM
Hi,
IDOC: ACC_GL_POSTING01
Message type : ACC_GL_POSTING
Function Module: BAPI_IDOC_INPUT1 / BAPI_IDOC_INPUTP / IDOC_INPUT_ACC_GL_POSTING
IDOC for FI are FIDCCP01, FIDCCP02. Process code: FID1, FID2. Message type: FIDCC1, FIDCC2
Cheers
~Niranjan
2013 Apr 15 7:06 AM
so if we transfer IDOC across client, then we have to use function module ? if we transfer within one client, then function module is not necessary?
what's the main difference in terms of IDOC design between cross client transfer and transfer within one client?
under which circumstance, we have to transfer IDOC plus EDI segment?
2013 Apr 15 7:55 AM
Hi,
I am not sure whether we can transfer an IDOC with the same client. I tried creating the IDOC and posting the IDOC in the same client, it went to error. The reason is the sending logical system and receiving logical system is same.
We can transfer the IDOC between clients in the same server. In this case, we will have two different logical systems.
Cheers
~Niranjan
2013 Apr 15 8:38 AM
if I know the inbound idoc number, any table I can find the outbound idoc number?
2013 Apr 15 11:54 AM
Hi,
There is no table which link the inbound IDOC number and outbound IDOC number. We need to get the business document from the inbound IDOC number (for ex: get the sales order/delivery/shipping) and go to the business document and get the outbound IDOC from the business document.
Cheers
~Niranjan
2013 Apr 16 2:27 AM
I'm getting the Sales Order number form inbound Idoc, how to get outbound idoc, which table I should search?
2013 Apr 16 7:35 AM
Hi,
There are no direct tables to get the IDOC number for a sales order. You can go to VA03 for displaying the sales order. Click on EXTRAS->OUTPUT->HEADER->EDIT. This will list all the output types for that sales order. Select the output type and click on PROCESSING LOG button to get the IDOC number.
Another option is to search for the IDOC through WE09. Segment E1EDK01 / Field BELNR will have the value for sales order.
In WE09, restrict the IDOC selection with date, time, basic type and message type. Please see the attached pic WE09_ORDERS_Pic1.
Enter the values for the select criteria for segment name, field name and value(value will be sales order in 10 characters).
Cheers
~Niranjan
2013 Apr 16 9:14 AM
As everything is stored in tables, this link is certainly stored somewhere.
I can tell you how to see it on the screen. As you are ABAPer here I think you should be able to find it then using debugging.
Maintain the parameter SD_SWU_ACTIVE with value X (capital X) in your user profile
This will allow to use the Generic Object Services.
Go into your Sales order (where you know that it was send by IDOC) with VA03.
Now you should see the button for Object service directly beneath the grenn okay ball on top left.
Open it and then click the distribution icon. SAP should show you the IDOC
2013 Apr 16 10:28 AM
Hi Stella,
Get the output type records from NAST table for the sales order. KAPPL = V1, OBJKY = <sales order number> and KSCHL = <output type>. Get the value of CMFPNR from NAST table for the output type for specific date and time.
Enter the CMFPNR in CMFP table. This table stores all the processing details of the a output type. This may contain more than one record. You can get the IDOC number any of the message details for a CMFPNR.
Cheers
~Niranjan