cancel
Showing results for 
Search instead for 
Did you mean: 

Copy billing item field for PO to new order

Former Member
0 Kudos

Hi,

I'm trying to copy the field from invoice (VF03: PO Data) vbkd-bstkd (at item level!) to a new sales order using Tx vofm. But untill now I didn't understood where is this info on the several structures.

I thought that CVBKD would have this info but it doesn't. And I don't find any field to copy this into the new sales order.

Any ideas?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

former_member182378
Active Contributor
0 Kudos

Pedro,

As you know, you have to create (use) a routine in field "DataT" (Business item data), at item level, in VTAF. (Billing > Sales document).

This routine shall "map" information from the various fields of the billing document to the desired / targetted fields in the sales document.

For this business requirement, take the help of an ABAPer too.

In order to evaluate the existing routines, from which you can make a copy and then change according to your requirement.

Answers (3)

Answers (3)

Former Member
0 Kudos

In fact I did found how to do, but didn't use the structures that existed.

The problem was a pro-forma invoice that creates a sales order. And the PO that is at each item should be copied to the sales order (from the original sales order that created the billing-proforma).

In fact the structures didn't had the info, it was returned empty, even if the field existed on some structures. So I've copied the original routine and add some code to get the info from the reference sales order.

Thanks for the help!

former_member184065
Active Contributor
0 Kudos

Dear,

Your Subject and Heading is totally different / confusion .If you maintain Copying control b/w Billing to Sales Order in VTFA then It will be copied into Billing to Sales Order Level .

Note : If am on wrong route please let me know .

Thanks,

Naren

Former Member
0 Kudos

Hi Pedro,

Could you please explain the business rquirment , why you need to create an order form Billing document.

Thanks,

Siva.