How to pull the Sale order number(sales document) to Accounting document

Hi Gurus,
How to pull the sale order number to the accounting document.
Is any configuration needed to this.
When i run the FBL5N Repoprt ,Sale order number (Sales document) is not getting updated to accounting document.It is diplaying as blank field.
Thanks you.

Hi Shivaji,
In order to display the Sales document in the customer line item report, you need to add it as a special field thorugh customizing settings.
Path - SPRO - FA-GL Accounting - GL Accounts - Line Items - Define special fields for finding and sorting data and in that select the table BSEG-and field VBEL2 (Sales document) and save/
This will work. hope this helsp
regards,
radhika

Similar Messages

  • 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 to get the Process order Number (Deatials by providing Salese order)

    Hi
    I want help to get the Process order details against with sales order number
    in which table i ll get this information and any particular  Function module is available???
    Regards
    Jagadish

    here KDAUF is empty
    Any other table is there i checked AUFK also AFKO also i ma not getting.

  • How to settle the production order variance to 3 GL account

    dear all
    i met a problem in the project ,the customer need see the production order variance category detail for (material,routine,overhead variance) in FI report ,so it need to settle the variance to at least 3 GL account
    i don't know how to configure it ,i try to use result analyse like wip ,but go failed
    do you have some suggestion
    thank you

    Hi ,
    Through Standard SAP .. the same it not possible . Standard SAP will post the differences to one GL account ..The variance amount is not segregated..
    The way out is to use report KKO0  .( Product Costing Drill Down Reports  )  in CO . There are many reports available .. and you can compute the difference in CO Reports and manually make an entry in FI by manually reversing the original variance account and posting it to cost component wise variance accounts ..
    To use the KKO0 report.. please perform the following tasks :-
    1. Assign cost component structure in transaction OKN0 ( Date Extraction/Product Drill Down) tab.
    2.  Product Group Type = Material group..
    3. Run KKRV after period end every month to collect the data for drill down reporting..
    Please revert back for any further clarifications
    Regards
    Sarada
    Sarada

  • HT204053 How to change the credit card number in a iTunes account?

    Need to change credit card number, new card, for iTunes?

    iTunes Store: Changing Account Information
              http://support.apple.com/kb/HT1918

  • How to create the sales order using BAPI's ....?

    Hi Guru's,
    could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically  i don't have basic knowledge on this....please provide required inputs ....:)
    thanks in advance
    Srinivas......

    Hi Guru's thanks for your inouts and your valuble time...
    please find the program logic below...
    *& Report  ZAREPAS30
    REPORT  zarepas30.
    DATA : gs_vbeln                   TYPE  vbak-vbeln,
           gs_order_header_in         TYPE  bapisdhd1,
           gs_order_header_inx        TYPE  bapisdhd1x,
           gt_order_items_in          TYPE  STANDARD TABLE OF bapisditm,
           gwa_itab1                  TYPE  bapisditm,
           gt_order_items_inx         TYPE  STANDARD TABLE OF bapisditmx,
           gwa_itab2                  TYPE  bapisditmx,
           gt_order_partners          TYPE  STANDARD TABLE OF bapiparnr,
           gwa_itab3                  TYPE  bapiparnr,
           gt_return                  TYPE  STANDARD TABLE OF bapiret2,
           gwa_itab4                  TYPE  bapiret2.
    Sales document type
      PARAMETERS: p_auart TYPE auart OBLIGATORY.
    Sales organization
      PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    Distribution channel
      PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    Division.
      PARAMETERS: p_spart TYPE spart OBLIGATORY.
    Requested Delivery Date
      PARAMETERS: p_edatu  TYPE edatu OBLIGATORY.
    Sold-to
      PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    Ship-to
      PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    Material
      PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    Quantity.
      PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    Plant
      PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    Start-of-selection.
      START-OF-SELECTION.
    Header data
    Sales document type
      gs_order_header_in-doc_type = p_auart.
      gs_order_header_inx-doc_type = 'X'.
    Sales organization
      gs_order_header_in-sales_org = p_vkorg.
      gs_order_header_inx-sales_org = 'X'.
    Distribution channel
      gs_order_header_in-distr_chan  = p_vtweg.
      gs_order_header_inx-distr_chan = 'X'.
    Division
      gs_order_header_in-division = p_spart.
      gs_order_header_inx-division = 'X'.
    Reguested Delivery Date
      gs_order_header_in-req_date_h = p_edatu.
      gs_order_header_inx-req_date_h = 'X'.
      gs_order_header_inx-updateflag = 'I'.
    Partner data
    Sold to
      gwa_itab3-partn_role = 'AG'.
      gwa_itab3-partn_numb = p_sold.
      APPEND gwa_itab3 TO  gt_order_partners .
    ship to
      gwa_itab3-partn_role = 'WE'.
      gwa_itab3-partn_numb = p_ship.
      APPEND gwa_itab3 TO  gt_order_partners .
    ITEM DATA
      gwa_itab2-updateflag = 'I'.
    Line item number.
      gwa_itab1-itm_number = '000010'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    Line item number.
      gwa_itab1-itm_number = '000020'.
      gwa_itab2-itm_number = 'X'.
    Material
      gwa_itab1-material = p_matnr.
      gwa_itab2-material = 'X'.
    Plant
      gwa_itab1-plant    = p_plant.
      gwa_itab2-plant   = 'X'.
    Quantity
      gwa_itab1-target_qty = p_menge.
      gwa_itab2-target_qty = 'X'.
      APPEND gwa_itab1 TO gt_order_items_in.
      APPEND gwa_itab2 TO gt_order_items_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
        order_header_in               = gs_order_header_in
        ORDER_HEADER_INX              = gs_order_header_inx
      IMPORTING
        SALESDOCUMENT                 = gs_vbeln
      tables
        RETURN                        = gt_return
        ORDER_ITEMS_IN                = gt_order_items_in
        ORDER_ITEMS_INX               = gt_order_items_inx
        order_partners                = gt_order_partners.
    Check the return table.
      LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error occured while creating sales order '.
      ELSE.
    Commit the work.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WRITE: / 'Document ', gs_vbeln, ' created'.
      ENDIF.

  • Table containeing both the purchase order number and the sales order number

    hi all!!!
    what is table that contains both the purchase order number and sales order number corresponding to that purchase order number.
    Moderator message: please search before posting.
    Edited by: Thomas Zloch on Jan 31, 2012

    Hi Sunny,
    Yes they are same. You will be creating a purchase order in ME21n. After creating purchase order you will shown a number for that order.
    Reward points if useful.
    Thanks,
    Swamy Kunche

  • How to check the sales orders that have been created with an Rebate Agreeme

    Dear Experts,
    Do you know how to check the sales orders that have been created with an Rebate Agreements?
    Thanks!!

    Hi Hoo Laa,
    I have one way but little lengthy.
    Rebate condition always appears in the billing document.
    So 1st you extract the sales order list from Table VBAK.
    once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
    Now put that list in the table VBRK.
    In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
    It will show the result.
    Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
    Already said, Little lengthy
    Regards,
    MT

  • How to settle the sales orders

    Hi experts,
    Can anyone tell me how to settle the sales orders? What is the transaction code?
    regards
    vk

    Hi VK ,
                 Being production consultant I think production order which is created with reference to sale order will be settled in ko88 or co88 after calulating variance ( and settling in variance a/c ) , Work in progress .
    Prod order should have TECO indicator before you settle .
    Neal

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • 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

  • List of incomplete sale orders according to the sales document wise

    Hi Gurus
    can any body suggest me the tcode to find the incomplete sales orders according to the sales document wise
    regards
    satish

    Hi,
    Please run T/code V.02 to see incomplete sales orders.
    Regards,
    Jaiprakash.P.T

  • How to delete the sales org information from BP Master Data in SAP CRM 5.0

    Hi Guruu2019s
    How to delete the sales org information from BP Master Data in SAP CRM 5.0
    Thanks...
    Mahesh Pasupunuri

    Hello
    There is a report attached to [SAP Note 725857|https://service.sap.com/sap/support/notes/725857] that performs the deletion.
    Regards
    Joaquin

  • 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

  • How to get the IObject from the service order number

    Hi Experts,
    I am implementing the CRM_ORDER_STATUS Badi, in that I am getting the Service Order number but I want to get the IObject number, how to get it, which FM to use or any other table.
    Please let me know.
    Thanks in Advance for your help,
    Praveen

    Hi Praveen,
    In the interface of the badi methods there is import parameter IS_STATUS_WRK with the field GUID
    use that one to call FM CRM_ORDER_READ with that GUID (check if the GUID is for ORDER by using update saved trnsaction).
    in the export parameter ET_ORDERADM_H you will find the object id (only after save unless it was customizing different)
    Amit.

Maybe you are looking for

  • How To Sync Backed Up Photos To New iPhone 5?

    Hi, I was just wondering how to get my backed up photo album from my iPhone 4 to my new iPhone 5? I have backed up a lot of photos from my old iPhone and want to transfer them all to my new one, but when I sync, it only syncs my music and apps? It wo

  • Can't import .json file

    I'm trying import a json file into my EA project (I'm on version 2014.1.1) by creating a json file with a .json extension, then clicking on the + sign next to Scripts. However, the .json file does not appear in the list. It only appears if I change t

  • Problem In Grouping

    Hi All, I am having 4 groups say A,B,C and D Recursively. As you all know i may get any number of values in each group. While Grouping I have checked the Keep together and Repeat Group Header on Each Page in All the groups. The situation is,If I am h

  • Export apple mail emails to outlook 2011

    I installed Ms office 2011 in mac book pro a couple of days ago. I need to transfer emails from apple mail to outlook 2011. I see import option for apple mail in outlook import wizard. So hoe can I import apple mail emails in outlook without any data

  • Alternative for Hairpinning / DNS static host entry

    Hello, I want to reach a server, which resides in LAN D from client LAN A via it´s public IP (Citrix Netscaler) and https. Both nets have the same default gateway device (Cisco 1921, 15.4(1) with virtual Interfaces). On this device also the NAT stati