‎2009 Mar 11 5:02 PM
Hi,
The requirement is to update the sales order idoc with the contract data (particulary contract date).
Inbound Idoc
Idoc type : ORDERS
Please let me know how should i map the contract date fields to the IDOC.
Thanks in Advance
‎2009 Mar 11 7:39 PM
Are you creating a SO, with contract data or you want to change an existing SO, with contract data.
Kuntal
‎2009 Mar 12 7:37 AM
Yes, iam creating a new SO with contract data. It is an inbound idoc. All the data is read from a file and i need to map the contract data to the idoc type ORDERS.
Contract data mapping at header level. Segment E!EDK03 maps the date field but not sure which value in qualifier maps it.
Regards
‎2009 Mar 12 1:46 PM
If you are only looking for the E1EDK03 qualifier, then goto SE11 -> give E1EDK03 -> Double click on EDI_IDDAT -> Double click on IDDAT -> Clieck on Value Range tab.
Here you will get all the available Qualifier. You can use any other value in this IDDAT field as qualifier. In that case you need to write code for yourself.
Kuntal
‎2009 Mar 12 2:44 PM
hi,
Iam trying to map the contract date field from the file to the idoc type as its an inbound idoc. It will read SO data from a file and triggers inbound idoc.
In segment E1EDK03 its for header date - but i didn't found any particular qualifier for the contract date.
My requirement is just to map the contact date field - so that it will create record in the contract table VEDA and sales order with the relevant details. So, just guide me how to process it.
‎2009 Mar 12 2:52 PM
Then you can just pass that value in E1EDK03, with IDDAT with a value which has not been used by SAP, that is not listed in domain. IDOC_INPUT_ORDERS, do a BDC to VA01. There is one exit, where you can modify the standard BDC data, and insert your code. EXIT_SAPLVEDA_002.
Kuntal
‎2009 Mar 17 7:36 AM
Hi
Is your scenario is EDI process. Because if this is EDI process then only Qualifier values are considered. SAP code match these values with values present in standard document (Like EDI850 for purchase orders).
And mapping of these documents should also be done in middle ware. So if you dont want to change code at SAP side then change mapping in middleware for EDI document.
Regards
Pranay Gupta
‎2009 Mar 17 7:58 AM
Hi,
Its not an EDI process.
Iam using Inbound idoc to create a Sales Order.
Iam reading the data from a file and in a Z program mapping the file data into Idoc segments.
Iam not able to map the contract data in the idoc type ORDERS.
Simple explaination
Requirement: Creat a sales order with Contract data.
Input - File in Application server
Medium - Z program to trigger and create an inbound idoc (ORDERS)
Output - Sales order creation.
Problem: Unable to map the contract data into the Idoc segments.
Approach:
I have to mandatory trigger the idoc -
1) While passing the data - i have to map to the segment.
2) After the SO is created - i have to update with contract data.
At first, iam trying for the approach 1.
Please help me - If there is any other process that i need to follow to see the contract details in the sales order.
Thanks in Advance
‎2009 May 21 9:35 AM
Hi,
For contracts we could use BLAORD idoc type.
Hope it helps.
Regs,
Venkat
‎2009 Mar 12 5:33 AM
Hi,
If this updating is limited to only few idocs and the corresponding field is available in idoc then you can edit the idoc in WE02->double click on data record segment->data record->change or in WE19 also you can change the data.
If field is not available in the idoc you can go for custom idoc and corresponding logic to update field in user-exit.
Thanks,
Asit Purbey.
‎2009 May 22 7:47 AM
hi,
If you want to contract data to ORDERS msg type, first check whether E1EDK03 is created or not , if not create a segment and add the data..
Regards
Sathish