Application Development and Automation 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: 
Read only

Idocs

Former Member
0 Likes
803

Hi All,

Please Can any one explain this topic.

Riquairment:

flat file should be mapped in XI to the message type

ORDCHG and basic type ORDERS03 and with function module IDOC_INPUT_ORDCHG (process code ORDC), so the ORDERS03 will be received by R/3 and process from there

Process logic

Compare the incoming PO delivery date to the sales order delivery date and process the update accordingly

[The process logic today will update the schedule qty VBEP-WMENG) & schedule date (RV45A-ETDAT), but the function should only update the schedule date (RV45A-ETDAT)]

here what i need to do.

Please kindly give me more Clarification on this.

Thanks in Advance.

Thanks&Regards.

Ramu.

Hi All,

Please Can any one explain this topic.

Riquairment:

flat file should be mapped in XI to the message type

ORDCHG and basic type ORDERS03 and with function module IDOC_INPUT_ORDCHG (process code ORDC), so the ORDERS03 will be received by R/3 and process from there

Process logic

Compare the incoming PO delivery date to the sales order delivery date and process the update accordingly

[The process logic today will update the schedule qty VBEP-WMENG) & schedule date (RV45A-ETDAT), but the function should only update the schedule date (RV45A-ETDAT)]

here what i need to do.

Please kindly give me more Clarification on this.

Thanks in Advance.

Thanks&Regards.

Ramu.

5 REPLIES 5
Read only

Former Member
0 Likes
720

Go to WE82 to find your message type and together you can find your basic type.

Go to WE30 to view your basic type, populate the fields inside your basic type inside your program.

Go to WE42 and search your process code, process code will contained function module.

The rest is just program logic, u just need to code according to requirement.

Read only

0 Likes
720

HI

Can u please give me more information.

i found process code in we42.

after that what i need to do .can u please suggest me .

iam very new to idoc's.

Thanks in Advance.

Thanks&Regards.

Ramu.

Read only

0 Likes
720

Double click on your process code and you may find the FM name.

Apply the FM in your coding to make it work.

Read only

0 Likes
720

hi,

the function module u can see by double clicking on process code is called the processing function module. like IDOC_INPUT_ORDCHG. this will take care of posting the data from incoming IDoc to SAP.

u analyse what this standard one does. if u want it to behave differently, u can go for some exits.

or u can do one thing. u can take a copy of this standard FM. create a process code in WE42 and assign this Zfunction module to this process code.

reward if useful...

Read only

0 Likes
720

HI ,

how can i use user exit in this.

in spec they mentioned one userexit but i donot how to use it.

Requairment:

Create new process code which is a copy of ORDC e.g. ZORDC to include the delivery date update logic and bypass the update logic to the schedule quantity in the sales order

Use userexit ZXVEDU03 to enhance sales order look up. In the exit, trigger BAPI_SALESORDER_CHANGE to update the sales order.

Kindly explain this.

Thanks in Advance.

Thanks&Regards.

Ramu.