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

idoc error 26

Former Member
0 Likes
1,017

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

1 ACCEPTED SOLUTION
Read only

paruchuri_nagesh
Active Contributor
0 Likes
788

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

4 REPLIES 4
Read only

paruchuri_nagesh
Active Contributor
0 Likes
789

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

Read only

0 Likes
788

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.

Read only

Former Member
0 Likes
788

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

Read only

asik_shameem
Active Contributor
0 Likes
788

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.