Sales Document Table-TVAK

Hi Gurus,
I know the table and field name.
Table: TVAK
field: OIMSG QTY.
in this table the field value is showing :W.
but my question is where we have to maintain the value te reflect in this table.
Regards,
Sumith

Dear Sumith
Right now I dont have access to SAP and hence not sure of the field what you are asking.
But normally for quantity, you can control in item category.  So go to VOV7, select your item category and check the [Completion Rule]
thanks
G. Lakshmipathi

Similar Messages

  • How to link VBREVK table with Sales document tables

    Hi Experts,
    I have requirement to generate license revenue information which requires tables like VBAK,VBAP.VEDA,VBREVE and VBREVK
    Join condition used:
    VBAK-sales document -VBAP-Sales document
    VBAP-sales document-VEDA-Sales document
    VBAP-sales document item-VEDA-sales document item
    VBAP-sales document-VBREVE-Sales document
    VBAP-sales document item-VBREVE-sales document item
    till here i am able to generate correct records
    But i have to join VBREVK table to any of the above tables
    1.VBREVK is unable to join with VBREVE table
    2.Getting duplicate records when joined with VEDA and VBAK
    Please let me know correct join condition between VBREVK with any of the above tables to avoid duplicates.
    Thank you in advance,
    Regards,
    narasimha.

    Hi Isha,
    you can make use of Tcode SQVI .
    there you can fine the table realtionship.
    regards,
    Pravin

  • Getting valid idoc number from the sales document

    hi,
    Iam sending the code for getting the idoc number from sales document.
    but iam not getting the result.
    please see the code and correct the code so that i will get the idoc number from the sales document.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input         = p_vbeln
    IMPORTING
       OUTPUT        = p_vbeln
    select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    it is very urgent..............
    thanks in advance......

    See the below code :
    report zxyz.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    <b>data sdata like edid4-sdata.</b>
    start-of-selection.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    IMPORTING
    OUTPUT = p_vbeln
    <b>concatenate '%' p_vbeln '%' into sdata.</b>
    select single docnum from edid4 into l_docnum
                  where sdata like <b>sdata.</b>
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    Thanks
    Seshu

  • Sales document type CR is not defined

    Hello Experts:
       I tried the Bapi_Salesdocu_Createwithdia to Create CR sales document table. In SE37 it works fine. But once moved into .net, when the proxy code trying to execute this
    results = this.SAPInvoke("Bapi_Salesdocu_Createwithdia",new object[] {
                                Binary_Relationshiptype,Convert_Parvw_Auart,Sales_Header_In,Sales_Header_Inx,Salesdocument,Sender,Synchronous,Partneraddresses,Return0,Sales_Ccard,Sales_Cfgs_Blob,Sales_Cfgs_Inst,Sales_Cfgs_Part_Of,Sales_Cfgs_Ref,Sales_Cfgs_Value,Sales_Conditions_In,Sales_Conditions_Inx,Sales_Items_In,Sales_Items_Inx,Sales_Partners,Sales_Schedules_In,Sales_Schedules_Inx });
    It returns a unhandle exception of
    Sales document type CR is not defined
    Anyone had experience with this? And have a solution for? Thanx

    I just tried with "OR" and still doesn't work. Must be a sub reference or something! ??

  • Authority-Check for Sales Document Type

    Hi All...
    I would like to incorporate Authority-Chack for the field Sales Document Type "TVAK-AURT"...
    Can any one give me the sample code or exact code..?
    I have written Authority-check for Sales Organization as follows...
    authority-check object 'V_VBAK_VKO'
                     id 'VKORG' field i_sales-vkorg
                     id 'VTWEG' field '00'
                     id 'SPART' field '00'
                     id 'ACTVT' field '03'.
            if sy-subrc ne 0.
            delete i_sales.
    BUT HOW TO WRITE FOR V_VBAK_AAT..??

    Please check object: <b>V_VBAK_AAT</b> for the same.
    EG:
    authority-check object 'V_VBAK_AAT'
    id 'AUART' field L_AUART
    id 'ACTVT' field '03'.
    Kind Regards
    Eswar
    Message was edited by: Eswar Rao  Boddeti

  • Reading the description of Sales document type and Profit centre from table

    Hi
    I want to print the description of Sales document type and Profit center on output
    I have checked in table TVAK and CEPC  but i am unable to pick description against the code
    Can anyone please suggest from where can i capture the description of sales document type and profit centre
    Thanks and Regards
    Sunil Srinivasan

    Hi
    If you have the sales document number VBELN then pass this VBELN in to table VBAK and you can get the sales document type VBAK-AUART.
    Now pass the same VBELN to VBAP table here you can get the Profit Center VBAP-PRCTR
    For sales Document type description you pass the VBAK-AUART values into table TVAKT  table and get the values for TVAKT-BEZEI is you sales document type description
    For Profit center description goto table CEPCT and enter the profit center you will get the
    KTEXT
    LTEXT
    MCTXT
    regards
    Prashanth
    Edited by: Prashanth@SD on Oct 25, 2010 12:29 PM

  • Does anybody know table for copy controls from Sales document to Delivery

    Hi,
    Does anybody know table for copy controls from Sales document to Delivery. Especially for item level.
    Regards,
    Praveen

    >
    Lakshmipathi wrote:
    > Almost all members know copy control from sale order to delivery.  What exactly your problem is ??   Please post that and avoid asking questions like this !!!!!!!!!!
    >
    > thanks
    > G. Lakshmipathi
    Sorry for my post. I guess you were a wee bit quicker than me in the reposnse

  • After creating a sales document type in tvak

    after creating a new sales document type in tvak what next to link it to BP number.

    Hi
    it should be done via configuration, not using the tcode
    goto SPRO
    press F5
    search for SALES DOCUMENT TYPES
    <b>in sales & distribution
    sales
    sales documents
    sales document header
    define sales document types</b>
    there you have to add extra new entries
    Regards
    Anji

  • Is it standard behavior for VL10A/table VEPVG to show two records when a Sales Document has been blocked?

    Hi Experts,
    Is it standard behavior for VL10A to show two records when a Sales Document has been blocked? Their only difference is the field Delivery Block. In VL10A, the first record has a delivery block of BLANK, the second has 99.
    Here's how to replicate the issue.
    Create sales order.
    When you check VL10A, the Sales document is there.
    Change sales order field (RSD) in VA02, Save.
    When you check VL10A, there are now two records, one has a blank delivery block, the other has 99.
    The expected result here is that after changing in VA02, there will be only 1 record in VL10A and it should have delivery block of 99.
    Assumptions:
    1. We know that VL10A retrieves its records from VEPVG. The problem is, in VEPVG, delivery block is a key field. So I think that during VA02, when the delivery block of 99 is assigned, this creates a record in VEPVG instead of updating the existing one. Is this standard behavior, and are my assumptions correct?
    Thanks in advanced experts. Appreciate your prompt response,
    Jack

    Hello Jack,
    This is the standard behavior. When I check in our system, I too can see two entries but with different good issue date and delivery date and the block is specific to good issue date, delivery date.
    So there is no problem in it. try to give the delivery date which includes two table entries delivery date and execute the transaction VL10A.
    Regards,
    TP

  • How to implement screen enhancements with table control in sales document

    I want to add a table control in sales document head and items, is there a good solution for this, thanks

    Hi Zhang Jie,
    There are some reserved screen for you in sales order.
    screen enhancement: for header is SAPMV45A 8309 and 8310.
                                    for item is SAPMV45A 8459 and 8460.
    you can add your table control in those screen.
    regards,
    Archer

  • Tables containing item status procedure used in sales documents

    Hello experts,
    I need make a query in order to know the status procedure used into items of sales documents.
    Example: In some items of sales orders I have status procedure CRMORD_I and in some items I have Z_ORDR_I. I need make a query in order to clarify it.
    What table contains the item status procedure linked to each item into sales documents ?
    Regards
    Juan

    If you want to know the status profile(CRMPRD_I or Z_ORDR_I) attached to a particular line item, you can obtain it from knowing the item category type(ex TAN). The satus profiel are attached to the item category type. The item category value is available in the field ITM_TYPE of the item structure (ET_ORDERADM_I).
    once you know the item category type you can obtain the obtain the status profile from calling the FM CRM_ORDER_ITEM_TYPE_SELECT_CB, the ES_ITEM_TYPE-USER_STAT_PROC will have the status profile value.
    Regards,
    Kiran

  • Table that stores sales document changes...

    Hello Experts,
    I need to get changed date and time for a given sales document. For example,
    I need to show to the user the credit release date and time. Presently, I can only
    show the credit release date which can be fetched from VBAK-CMFRE.I need to get also
    the credit release time just like when you display the changes of a given sales
    document via VA02.
    Hope you can help me out here guys. Thank you and take care!

    Table CDHDR - Change document header &
    Table CDPOS - Change document items
    are the tables u need to look for the change history.
    Its regardless of a sales order or a purchase order.....all the changes are stored in this table
    Regards
    Gopi

  • Load Setup table using Sales Document Ranges

    Hi,
    Is there any way to load the Setup table for Billing using Multiple Sales Document Ranges or Multiple single values. 
    Since the field has no option of Multiple Entries.
    I don't want to execute multiple setup table with different ranges.
    I have to use the Sales Document number as its needed to load on the data for a particular period using Sales Document numbers.
    Thanks in advance.
    SB

    Hi SB,
    If Sales Documnent Number is your selection criteria, as you rightly said, there is no way you can have multiple selections. I don't think you have any option other than loading different mutually exclusive sales document number ranges. You can schedule these ranges in parallel and that way you can save time. Hope this makes sense.
    Thanks and Regards
    Subray Hegde

  • Table for Sales Document and Output Type

    Hi All,
    Can anyone please tell me the table where I can find the SALES DOCUMENT NUMBER and the OUTPUT TYPE assignment.
    Regards
    Vikas

    Hi,
    Goto the Transaction code SE16 and enter the table name as NAST
    In the APPLICATION enter V1
    And in the MESSAGE TYPE give Output type
    execute and you will get the sales documents created with the output.
    thanks,
    santosh

  • Invoice Receipt document (TABLE RBKP) based on Sales Order (table VBAK).

    Hi Folks,
       I have to find Invoice Receipt document (Table RBKP) based on Sales Order (table VBAK).
       Please tell me how the two documents are linked.
    Thanks,
    Punit

    I don't know table RBKP, but I would start by seeing if I could find the value of RBKP-BELNR or XBLNR as the next document in table VBFA.  If found, then you know how to read VBFA forward from sales order (VBAK) to VBFA with correct next document type, then to RBKP with the document number....
    Don't know if this will work, but this is the first approach I would take.

Maybe you are looking for