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

Data Manipulation - IDOC outbound

Former Member
0 Likes
680

Hi ALL,

I would like to send material numbers from my SAP system in an outbound idoc to another SAP system.

How can I make sure in my IDOC processing user exit - the material numbers I'm sending could be processed without any errors?

For example -

In our SAP system - Material numbers start with AXXXXX

Other SAP syetem - Material numbers start with NXXXXX

Any input appreciated.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
560

Hi Meghna,

We will get to know the errors at the receiver side only when its actually gets under processing in the receiver side. As logical, this should make sense.

If the posting FM is remotely enabled you can give call from your sender system just to check if any error.

Regards

Shital

3 REPLIES 3
Read only

Former Member
0 Likes
560

Hi Meghana,


for every idoc there is a message type ..

for every message type there is a function module attaached ( see in we57)..

for every Function module there is a customer exir and Badi available after the segment append..

you need to write your own code under the customer exit..

or

you can go to T-code we02 and put your message type and direction 02 and today's date and execute..

check the latest record and check the status if it is 03 that means success else check the status and error attached

.

Regards,

Prabhudas

Edited by: Prabhu Das on Apr 20, 2009 10:04 PM

Read only

Former Member
0 Likes
560

Hi Meghana,

An Idoc may fail due to multiple reasons in the target system.

YOu really cannot avoid all the errors in the target system, by coding in your source system.

can you give any other example for your scenario ?

Regards,

Ravi

Read only

Former Member
0 Likes
561

Hi Meghna,

We will get to know the errors at the receiver side only when its actually gets under processing in the receiver side. As logical, this should make sense.

If the posting FM is remotely enabled you can give call from your sender system just to check if any error.

Regards

Shital