‎2008 Mar 14 5:17 AM
hi to all.
we have some problem to create IDOC type ORDERS05 for Purchase Order.
it throws error 26.
i compared succesful n this idoc.
header data was totally different.
succes idoc : header data contains document number and etc.
but
error idoc contains street,land ,country and other fields .i think,this is reason only it throws an error.
how to populate the exact dat.?
how can i find ABAP program to populate the data in idoc.?
i dont have knowledge in idoc's.
plz explain clearly with steps or t.code's.
poits ll b rewarded.
regards
satya
‎2008 Mar 14 5:57 AM
hi
Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
and also
check whether u r using
1) sap standard program
2) user defined program
3) enhancing sap program using user exits
if it is standard program check all ur ALE settings once again
if ur using user defined check ur program logic and compare it with idoc structure
if ur enhancing sap standard program check partner profiles using correct message & idoc type
check your user exit logic
reward if u find helpful
Thanks&Regards
Nagesh.Paruchuri
‎2008 Mar 14 5:57 AM
hi
Usually posting program contains your logic which exists in process code this process code contain function module nothing but posting program
and also
check whether u r using
1) sap standard program
2) user defined program
3) enhancing sap program using user exits
if it is standard program check all ur ALE settings once again
if ur using user defined check ur program logic and compare it with idoc structure
if ur enhancing sap standard program check partner profiles using correct message & idoc type
check your user exit logic
reward if u find helpful
Thanks&Regards
Nagesh.Paruchuri
‎2008 Mar 14 6:07 AM
hello nagesh garu,
req is :
wenever create po,then save.
it automatically triggers the idoc.
how can i find which program used in idoc.
giv me some clear explanation.
points ll b rewarded only after getting the exact solution.
‎2008 Mar 14 7:02 AM
Hi,
for the IDOC type ORDERS05 , the messge type is ORDERS.
u can check this in WE82
the process code is ME10.
The FM IDOC_OUTPUT_ORDERS, in this 'MASTER_IDOC_DISTRIBUTE' is the FM which creates idoc.
check is there any customer exist has been activated.
Reward Points if it is Useful.
Thanks,
Manjunath MS
‎2008 Mar 14 7:30 AM
Hi,
Status 26 means, data was not populated properly(ie. in the right order as of ORDERS05).
1. goto WE30, give basic type as ORDERS05 and see the hierarchy of data(segments).
2. goto FM MASTER_IDOC_DISTRIBUTE, put a break-point and send the PO (with leading zeros) using standard program RSNAST00 and check the hierarchy of internal table MASTER_IDOC_DATA. Both has to be same.
otherwise problem in generating the data for IDOC. for that you have to find out the user exit in IDOC outbound program.
If u have any clarification. Get back to me.
Thx
Shameem.