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

Custom fields in ORDERS05 Idoc

Former Member
0 Likes
1,293

Hi Guys,

For our scenario we have extended the custom IDOC ORDERS05 to add one custom field (ZZREF) in the header and one at the line item level (ZZLINEREF).

Same fields have been appended to VBAK (Order header) and VBAP (Line items) tables.

Now the problem is I am unable to find a standard way of populating these standard tables with the values coming in the custom fields.

I am using standard process code attached to function module IDOC_INPUT_ORDERS. this function module creates the order using call transaction method, which is creating a problem to pass on the values.

Can you please help me on this situation and provide me with the possible solutions.

Thanks

Sandeep

1 ACCEPTED SOLUTION
Read only

venkateswarareddy_medam
Active Participant
0 Likes
932

Hi Sandeep,

U can copy ur Statndard FM IDOC_INPUT_ORDERS to ZFM and assign to newprocess code.

And replace the old processcode with newprocesscode.

I hope this will resolves your problem.

Regards,

Venkat.

3 REPLIES 3
Read only

venkateswarareddy_medam
Active Participant
0 Likes
933

Hi Sandeep,

U can copy ur Statndard FM IDOC_INPUT_ORDERS to ZFM and assign to newprocess code.

And replace the old processcode with newprocesscode.

I hope this will resolves your problem.

Regards,

Venkat.

Read only

venkateswarareddy_medam
Active Participant
0 Likes
932

Hi Sandeep,

U can copy ur Statndard FM IDOC_INPUT_ORDERS to ZFM and ( fill those two fields ) assign to newprocess code.

And replace the old processcode with newprocesscode.

I hope this will resolves your problem.

Regards,

Venkat.

Read only

former_member376453
Contributor
0 Likes
932

Hi -

As fer as I know, ORDERS is actually a BDC call. So, if possible, you can add two fields in Header and Item, in Additional Data B tab. and populate those two field through screen. I think, this will be the most easiest way to do this.

Kuntal