Skip to Content
avatar image
Former Member

Copy billing item field for PO to new order

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Apr 28, 2013 at 06:12 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2013 at 05:04 PM

    Hi Pedro,

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

    Thanks,

    Siva.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 28, 2013 at 01:47 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 29, 2013 at 02:23 PM

    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!

    Add comment
    10|10000 characters needed characters exceeded