Populate PO number  in the FI document

Hi,
I want to populate PO number in the assignment field of FI document.
I  tried sort key 010, it has populated PO number on second line item (i.e. GR/IR account line item) but not populated on first line item (i.e. Vendor line item).
Please let me know solution for this ....
Thank You,
Archana

Hi,
I tried Substitute, but not worked.
Please help me to solve this issue.
Thank You,
Archana Ugale

Similar Messages

  • 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

  • Obtaining Material number from the CRM Document number

    Hi Gurus
    From which table can I get the material number if I know the CRM document number. Which are the tables that need to be linked to get this information?
    thank you very much

    Hi,
    Using doc number you can access CRMD_ORDERADM_H-OBJECT_ID = DOCNUM.
    CRMD_ORDERADM_I-HEADER = CRMD_ORDERADM_H--GUID.
    The material is in CRMD_ORDERADM_I.
    Hope this helps.
    Best regards,
    Caíque Escaler

  • Finding Purchase Order Number through the Delivery Document

    Dear all,
    I'm doing an EDI 856 ( ASN / Shipment Notice) and I need to know how can I find the PO Number if I only have the Shipment (Delivery) number.
    What I wanna know is the relation between PO and Delivery Document.
    Best Regards,
            Eduardo Arruda Pimentel.

    Hi Eudrado,
    There is no direct relation.
    Technically, the relation between PO and delivery is many to many i.e. one PO can be related to multiple deliveries and many POs can appear in single delivery..this depends on your business scenario.
    for ex., one sales oder might be split into multiple deliveries or many sales orders can be merged into one delivery.
    In this case, you can consider searching table VBFA by item number also..as VBKD contains line item number also.
    Regards,
    Raghu.

  • REGUP_VBLNR (Document Number of the Payment Document)

    Hi,
    Can we get this field REGUP_VBLNR from some other table like BSIS or BSAK.
    Thanks

    Look in BKPF.
    Rob

  • How to populate the sales document number in FD10N or FBL5N report

    Hi Gurus,
    In the reports FBL5N and FD10N i am able to see the Billing document field(VBELN) populated with the number but The sales document number (AUBEL) is not populated with the number.
    How to get this number updated to the FBL5N or FD10N report.
    Thanks in advance.

    Hai
    Goto Settings Special Fields and add the required fields and save and come back and exceute again.
    Regards
    Raghavendra.M
    SAP-Practice

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • Sort detail Check/cheque by the Reference Document Number (REGUP-XBLNR)

    Hi Experts,
    I'm an Abaper and I don't Know very much about this topic, so my question is: How can I sort the detail Chek/cheque by the Reference Document Number (Field REGUP-XBLNR)?  Now is sorted by the Document Number of the Payment Document (Field REGUP-BELNR).
    I've searched in the control program of Sapscript to print the Check/cheque but I haven't found anything about sorting the datail
    Thank you for your time and help.
    Regards.

    Hi Marco,
    You can add the feild of the cheque no via spl.feilds T.code : O7R3/OBVU ( sap  standard report  eg. FBL3N,etc).
    Select the the table payr and add the feild chect.
    After addition of the above feild,do run the program RFPOSEXTEND.
    Once you complete the above mentioned activity,when  system the will pick the checque no in FBL3N.
    Hope that  your issue wil be solved.
    If not,do revert.
    Regards

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • Contrct number in the billing doc

    We have revenure recognition implemented.We create contract and then billing and revenue recogniton.When the revenue recognition is done with VF44 against the contract ..hence the contract number is captured in the Revenue recogniton document.However when the invoice is raised and billed to the customer through VF01 .there is no refernce of contract number in the nbilling document.Is there any standard method or standard config where by we can ensure to get the contract number and item number displayed in the Invoice or billing doc created.
    Please advice

    As  i think,
    Whenever you will be  creating any invoice that would be w.r.t. service contract only .
    So whenever you are creating any billing document just check Item details tab at line item level,
    You will find two fields:
    a)  Sales Document.(VBRP-AUBEL)
    b)  Refrence field.(VBRP-VGBEL).
    Both of these fields will be showing contract number.
    Just tell your ABAPER to capture any one of this fields in your invoice .
    I think this will help you.

  • Extenal number range for biiling documents

    Hi friends pl guide me  how to give external  number range to the billing documents. We have already tried with user exit_number_range but I am unable to put the number in the billing document. pl let me know where to put the number.

    Hello,
    It is advisable to use internal number range assignment for billing document as repetition in billing document would cause
    business irregularities. But if you still want to proceed then you have to use the user exit "exit_number_range". Before starting
    the coding work, please ensure to define the number range in the SPRO setting with external range check box ticked. Then with
    the help of ABAPer, try to develop a logic so that external number range will be embedded on the document while saving.
    Regards,
    Sarthak

  • Error:configuration of serial number  1pm0hm incompatible with document num

    Hi Guys,
    When i enter a serial number in the delivery document, i get an error message saying
    "configuration of serial number  1pm0hm incompatible with document number "
    The material has serial number profile maintained in it and it is a configurable material...
    But i m not sure why this error message is showing up
    Please suggest....
    Thanks
    Anand Viswanathan

    Hi Anand,
    Please go to IQ02 --> Select the 2nd last Tab page "Configuration data" --> There you can see the material in the feild "Configurable material" --> Please check the boxes (Refrenced or Individual) --> mark it as per our requirement.
    Then click on Display and See whether system shows the charaterstics or not?
    Please try and revert back with your findings.
    Also tell what exactlythe status of your serial number,It should be ESTO SLOR.
    Hope this helps,
    Regards,
    MT

  • Allocation number on an FI document

    HI friends,
    When i tried to Move the PO number on the sales document(VBAK-BSTNK) to BIlling document referecnce number (VBRK-XBLNR) the FI document entry is created in BSID table with Allocation number (BSID-ZUONR)as the PO number.
    What i am expecting is The PO Number should be moved to The Billing refernce number and then to FI document reference number (BSID-XBLNR) this is happening. But inever wanted to see the PO number in the allocation field (BSID -ZUONR). Where can I restrict this?
    Helpful suggestions will be rewarded with points.
    Thanks,
    Mohammed.

    hi,
    check tcode xd03-company code data- field KNB1-ZUAWA
    A.

  • PERNR - Personnel Number on vendor line item of the FI document Posting

    After posting a time sheet (PR05, PRFI, PRRW), the FI document created (display via FB03) has the personnel number on each of the GL line items, but the field is blank on the vendor line item.  Does anyone know how to get this to be populated with the same data as being populated on the GL line items (it's the same field BSEG-PERNR)?  I've made the field optional on the vendor reconciliation account as well as on the posting key, but no success yet.  thanks.

    Thanks all for responding. 
    The vendor master was populated.  The strange thing is that the GL line item gets populated but not the vendor line item in BKPF/BSEG.  We talked to SAP and to get the vendor line item to populate we would have to do an SAP coding change.
    I created a quickview (SQVI) between the appropriate tables to get the report out that we needed (a bit easier than an ABAP) - but nontheless it worked.
    thanks again.

  • In FBL5N report user wants the sales document number to be displayed,

    HI, Guys
    Need ur help to sort out the problem
    In FBL5N report user wants the sales document number to be displayed,
    but the sales ducument number column is coming blank and this needs to pick from VBRP table
    As I discussed with Abaper, he reqiures a key field which common in BSEG abd VBRP table
    So,Please guide me in approaching the right way
    Munender

    Hi,
        Speak with your SD consultant. They can set up the copy control in SD so that the sales order is populated in the invoice in field ZUONR (Assignment).This will then copy to the assignment field in accounting.
    Alternatively you can use an exit to populate another field during the Posting.
    Kind regards

Maybe you are looking for