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

Inbound IDoc

Former Member
0 Likes
1,289

Hello

Is it possible to control what segments and/or fields are posted on an inbound IDoc? If so, what is the best approach so that if the user needs to change the fields, they do not need new ABAP code?

Any help appreciated!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,135

Hey

u can filter the segments to be posted or use user exits to remove the additonal segments

u need abap coding

regards

m.a

5 REPLIES 5
Read only

Former Member
0 Likes
1,136

Hey

u can filter the segments to be posted or use user exits to remove the additonal segments

u need abap coding

regards

m.a

Read only

Former Member
0 Likes
1,135

Hi,

For inbound IDOC's you can set filter condition (conversion rules) on the IDOC segment fields.

Use the below transactions:

BD62: Create conversion rules and assign to the IDOC segment

BD55:Assign the conversion rule to the sender and reciever so that the rule triggers only for the sender and receivers.

BD79: You can actually set the filter criteria on a field of the IDOC segment(defied in conversion rules)

Using BD79: You can do the below:

Set constant value for the incoming field

Convert sender field

Set variable

Copy/Convert etc...For more details refer help documentation.

Hope this helps

Regards

Shiva

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,135

Hi,

There are IDOC with userexits. The definition of the userexit determine your possibilities.

Other question is create your own IDOC as a copy and replace it or create new ports and so on. So you can add new logic by your new coding.

Tell us the IDOC and perhaps we can suggest you the best solution.

Regards

Eduardo

Read only

0 Likes
1,135

Thank you for your answers. The IDoc to be posted is CUSDEC posting to GTS.

Read only

0 Likes
1,135

Hi,

I'm sorry, but I'm not able to find this IDoc in my system (we60). Can you elaborate more? for instance: message type, etc...

Regards

Eduardo