Skip to Content
author's profile photo Former Member
Former Member

Originating document

Hi,

How can it update of this filed Originating document(VBELV) in table VBAP. what is purpose?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2009 at 08:24 AM

    Hi Friend,

    The Originating field in the BILLING DOCUMENT will be populated only for the Billing documents which were created with reference to Master contract.

    The ORIGINATING DOCUMENT willl appear only for the MASTER CONTRACTS.

    Please go to the INCLUDE RV60AFZC which shows that if the VBTYP in the Document flow is 0 then only the VBELV field will populate.

    This is the include shows for VBELV

    select vbeln from vbfa into table lt_vbeln

    where vbelv = vbrp-vgbel and vbtyp_n ='O'.

    select vbeln fbuda from vbrp into table lt_cmr

    FOR ALL ENTRIES IN lt_vbeln

    where vbeln = lt_vbeln-vbeln.

    The Sales document type "0" refers to MASTER CONTRACT.

    thnks,

    santosh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.