IDOC NUMBER ON SALES ORDER

How to find Idoc Number on sales order screen .Also any table that holds both Idoc number and sales order number?
Appreciate your Help Thanks!

Hi
go to header-> output in the sales order and u will find the idoc no there
Ranga

Similar Messages

  • Idoc number from sales order in ECC

    Hi,
    Sales order is created by processing an Idoc. Now i want to trace back the idoc number for the sales order created.
    Please let me how we can do this in ECC. I saw couple of posts stating ICON SERVICE FOR OBJECTS...i couldn't really identify that icon. In someother post i saw this can found under Environment.
    Please let me know whether there are any prerequisites for this, and how i can i achieve this in ECC?
    Thank You in Advacne
    Thank You
    Challa

    Hi Challa,
    To find which idoc created the sales order, you can do the following,
    Check for the customer PO no in the sales order.
    Then go to any other inbound idoc which is bound to create a sales order, and see in which segment is the PO number.
    Then go to WE09 and put the dates etc and then go to " Criteria for search in Data Records"
    Put the segement no in Search in segement field.
    Put the idoc field in which you see the PO number
    and put the PO no in the " for Value" field and execute.
    You will get the idoc which created the sales order.
    Let us know.
    Regards,
    SB

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • Create directly an IDOC for a sales orders

    HI,
    I would like to know if it exists a program to create an output IDOC for a sales order directly as does the program
    RBDSEMAT for materail / product.
    With RBDSEMAT we give the product's numeber the message type and the logical system.
    Of course before was customizing all the ALE flow.
    But for sales orders (VA02 / VA01) I don't find any program which allow us to have the same function.
    Does this program / function exist? I want juste to give the sales order number  the logical system and the message type.
    Thanks you
    Henri

    Funtion Module IDOC_OUTPUT_ORDRSP is used by standard SAP when output determination is used. I think you can populate the control record and use this function module directly. This will return the IDoc data, but the IDoc will not exist on the Database.

  • How to count number of sales orders generated in a month in SAP SD

    Hi SD Gurus,
    I have a very strange query from client. I have to count the number of sales order created in a month for a z report. For example 30 in Jan, 25 in Feb etc. Could anyone suggest me How to count number of sales orders generated in a month in SAP SD.
    Regards
    Vinod Kumar

    Hi,
    Goto the T.Code "SE16" or "SE16n" or "SE11".
    Enter the table name as VBAK
    Enter the created on date as the starting date of the period and to date as the end date.
    Enter.
    Click on "Number of Entries".It will tell you the number of entries created in a particular period.
    If you want a report,goto the T.Code "VA05n".
    Regards,
    Krishna.

  • Delivery schedule line number in sales order is not populated in production

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Will reward points.
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • Delivery schedule line number in sales order is not populated  in productio

    Hi all,
    i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated in production order.
    please give your valuable suggestion .
    i would be highly thankful to u
    Regards
    Kumaraguru

    Hi Kumar,
    Some changes done in your PRD server.If yes then contact abap consultant regarding the same.
    Because these type of problem comes when you do transport or changes done in the system.
    Regards,
    Anil

  • Want to add number of sales orders in a COPA report or form

    Hi All
    I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this  With a user exit, .
    thanks in advance for looking into this

    Hi Steve,
    Walter is very right in saying so.
    In SD module itself you can get some reports like this.
    Even in COPA you will get these kind reports.  But if your company is a big company and have lots of sales orders,
    Then you will have serious problems with System performance issue. 
    When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
    But for some reason this requirement is a must case, then it is very simple
    you define Sale order in either form or report,
    then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
    But think about not going for it before you make up your mind
    Best Regards
    Surya

  • Serial number in sales order creation

    HI all,
         please help to me........
    My requirement a add the serial number BAPI sales order.
    problem is their no serial number in bapi structure.
                How to add serial number crate a salesorder bapi.
    serial number is RIPW0-SERNR.
    Thanks & Regards,
    SReddy.

    hi,
    refer to this link
    http://help.sap.com/saphelp_nw04/helpdata/EN/3e/0e1089c24611d1ad09080009b0fb56/content.htm
    refer to this code...
    Also if you set the * CONVERT_PARVW_AUART = 'X' parameter to 'X' you can use sold to party as SP and ship to party as SH.
    REPORT ZEX_BAPISALESORDCRT .
    --Data Declaration--
    Data: st_BAPISDHEAD like BAPISDHEAD, " Sales Order Header Data
    ta_BAPIITEMIN like BAPIITEMIN occurs 0 with header line, " Ln item
    ta_BAPIPARTNR like BAPIPARTNR occurs 0 with header line, " Partner
    d_BAPIRETURN1 like BAPIRETURN1, " Bapi return msg
    d_vbeln like bapivbeln-VBELN. " Sales Order Number
    Move the data to create sales order in the repective parameters------*
    move: 'TA' to st_BAPISDHEAD-DOC_TYPE, " Sales document type
    '15493' to st_BAPISDHEAD-PURCH_NO_C,
    '00010' to ta_BAPIITEMIN-ITM_NUMBER,
    'Y-351' to ta_BAPIITEMIN-MATERIAL,
    '1100' to ta_BAPIITEMIN-PLANT,
    '1' to ta_BAPIITEMIN-REQ_QTY,
    'AG' to ta_BAPIPARTNR-PARTN_ROLE, " Sold to Party
    '0000007777' to ta_BAPIPARTNR-PARTN_NUMB.
    Append the internal tables-------------------------------------------*
    append ta_BAPIPARTNR.
    clear ta_BAPIPARTNR.
    append ta_BAPIITEMIN.
    clear ta_BAPIITEMIN.
    Move ship to party---------------------------------------------------*
    move: 'RG' to ta_BAPIPARTNR-PARTN_ROLE, " Ship to party
    '0000007777' to ta_BAPIPARTNR-PARTN_NUMB.
    Append the internal tables-------------------------------------------*
    append ta_BAPIPARTNR.
    clear ta_BAPIPARTNR.
    Call the Bapi to create the sales order
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
    EXPORTING
    ORDER_HEADER_IN = st_BAPISDHEAD
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = ' '
    IMPORTING
    SALESDOCUMENT = d_vbeln
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    RETURN = d_BAPIRETURN1
    TABLES
    ORDER_ITEMS_IN = ta_BAPIITEMIN
    ORDER_PARTNERS = ta_BAPIPARTNR
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CCARD =
    ORDER_CFGS_BLOB =
    ORDER_SCHEDULE_EX =
    if d_vbeln <> space.
    write: 'Sales order No. ', d_vbeln.
    endif.

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • Whre to see the contract number in sales order

    Hi All,
    I created conrtact thruogh T.code:va41,based on this number,i create sales order.But my question is where can i see the contract number in sales order(va01).Pls suggest.
    Thanks,
    GTNR

    Hi GTNR,
    This is not possible to see in VA01 while creating the sale order,because the system taking the reference document no form buffer,so it is not possible to see in VA01.While creating the order you select create with reference there it self you will tell the system through which contract you want to create the sale order.
    Once you save the order in change mode VA02 you can see that through document flow or form table also you can see
    as Mr.Ravi mentioned above.
    Regards
    Ram

  • Function Module to fetch Customer Number from Sales Order or Process Order

    Hi Gurus,
    I am looking for a Function module which gives me customer number from Sales order or Process order.
    Please let me know of any FM's available.
    Regards,
    Madan

    Hi,
    Thanks for your response.
    I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
    Please suggest some function modules you know any.
    Many Thanks,
    Madan

  • Number of sales orders in a copa report

    Hi All
    I am designing a revenue report from COPA.In the report,By changing the chrecteristics(sales org), the revenue in the report changes and underneath the revenue the number of sales orders will change. Now my question is, Is there any way to display number of orders that make up the $ amount in Copa report?

    Hi Williams,
    In order to regenerate this program call function module 'RKE_GENERATE_INTERFACE_ACT' in the test environment and start it for the respective operating concern.
    Example: if the name of the operating concern is 'S001', program 'RK2SS001' has to be regenerated.
    Proceed as follows to generate program 'RK2SS001':
    Call Transaction SE37 (Function Builder).
    Enter function module: 'RKE_GENERATE_INTERFACE_ACT'.
    Choose 'Single test' (F8).
    Enter import parameter ERKRS = 'S001'.
    Choose 'Execute' (F8).
    You would drive the steps for the generation of the program 'RK2SXXXX' for ALLE your operating concerns through.
    By the program changes described in this note it is avoided to call the CO-PA cross-company-code derivation type in the so-called 'overwrite mode'. Usually characteristic values of the derivation type which are already filled, that means directly copied from the sales order, are not overwritten anymore.
    If characteristic values during the processing of cross-company-code orders are supposed to be copied from the profitability segment of the supplying company code into the CO-PA line item of transaction type 'A', the possibility is provided with the attached correction. Technically the implementation of the desired transfer logic is not executed within the framework of a standard SAP enhancement, but rather by means of the help of a CO-PA-specific user exit of category 'RKE_EXIT'.
    In order to use the 'RKE_EXIT', proceed as follows:
    1. Call Transaction 'SE16' and create an entry in table 'TKEEXITS' with following field contents:
                        EXITID - 'KEI1_INTERC'
                        APPL - 'KE'
                        SEQNO - '001'
                        ISACTIVE - 'X'
                        REPORT - Name of a program in the customer namespace 'Z*'
                        MODEL - Name of a FORM routine in program REPORT.
    2. Then you can implement the 'RKE_EXIT' in FORM routine 'FORM' of program 'REPORT'. If you want to deactivate it, you have to set the flag 'ISACTIVE' to initial or remove the entry from table TKEEXITS.
    3. FORM routine 'FORM' must be declared with following chaning parameters:
                        I_EXIT_ACTIVE TYPE C
                        I_ERKRS LIKE TKEBB-ERKRS
                        IS_CE1 TYPE ANY
                        IS_CE1_INTERC TYPE ANY
    4. To activate the 'RKE_EXIT' in the program, first set flag 'I_EXIT_ACTIVE' to 'X', since otherwise you can not branch to the exit within the same transaction during the next access.
    5. In the parameter 'I_ERKRS' the operating concern 'XXXX' of the selling company code is passed. The parameter 'IS_CE1' contains that one current line items for the record type 'A'. The parameter 'IS_CE1' contains the current line item for the transaction type 'A'. The characteristic values of the profitability segment stored in the sales order from the supplying view are passed in parameter 'IS_CE1_INTERC'. Are the selling and assigned the supplying company code different operating concerns, values of characteristics only are available in the parameter 'IS_CE1_INTERC', that exist in both operating concerns with the same technical indicator.
    6. The parameters 'IS_CE1' and 'IS_CE1_INTERC' are passed in non-record structured form and must be assigned in the FORM routine to corresponding program variables which both of the type 'CE1XXXX' with which 'XXXX' designates the operating concern of the selling company code are. On these program variables the characteristic value transformations can be executed. Finally the program variable 'IS_CE1' must be assigned to the parameter again, so that the changed characteristic values are returned correctly.
    The source code of the 'RKE_EXIT', if the implementation is done in program 'ZZCOPA_CHANGES_INTERCOMPANY', FORM routine 'CHANGES_INTERCOMPANY' and operating concern 'S001' and from the profitability segment of the returning view characteristic 'WWXYZ' is supposed to be copied
    Regards,
    Srinivas Muthyala

  • Revision number in sales order and scheduling agreement

    I want revision number in sales order as well as scheduling agreement. for this where we configure or 
    how will it come in VA01 as well as VA31.
    Regards

    Hi Amit,
    Its not hard to find this info at help.sap.com
    Sales Order
    Definition: Request from a customer to a company to deliver a defined quantity of products or provide a service at a certain time. The sales area that accepts the inquiry is responsible for completing the agreement.
    Scheduling Agreements
    Purpose
    A customer scheduling agreement is an outline agreement with the customer containing delivery quantities and dates. These are then entered as schedule lines in a delivery schedule. You can either create schedule lines when you create the scheduling agreement or you can create them later.
    You fulfill a scheduling agreement by creating the deliveries in the schedule as they become due. You process deliveries for a scheduling agreement in exactly the same way as you process a normal delivery. After you have carried out the delivery, the system updates the Delivered quantity field in the scheduling agreement item with the delivery quantity. The following graphic shows the document flow for scheduling agreements.
    Integration
    You would use this component if you had outline agreements with the customer that contained future delivery quantities of materials that would be sent at certain times within a fixed time period.
    If you work with scheduling agreements for the component supplier industry you also need to choose the "Electronic Data Interchange" (EDI) component.

  • Trigger an Idoc when a sale order is been opened in VA02 & saved

    Hi Experts
         I have a requirement to trigger an Idoc when a sale order is been opened in VA02 transaction and saved.
    Now that I have attained the same through Message Control Settings and Nace out put type settings with Multiple Issuing.
    Here in the Idoc will be triggered when the user makes any changes in the order based on the NAST table entry.
    Now my requirement is that the Idoc has to be processed even if there is no changes made to the document when the user opens the sale order and clicks save.
    This is the process been carried out to re-process the Idoc.
    Now that the Idoc is triggered using the path ---> menu - extras -output - header- edit & save.
    Now that the user need to process the Idoc by just opening the order  in VA02 and  click save.
    How can this be attained ? is there any configuration for it ?
    Or is it possible to handle the same in any of the user exit ?
    the problem is the user exit save gets triggered only when there is any change in the document else it throws a msg " No changes made"

    Hi Niraj
       Thanks for your Response.
    Now that the output control works fine when there is any change made to the document.
    Now that i need to configure such a way that the output control triggers even if there is no change to the document and save   button is clicked.
    Can U please elaborate how do i make settings in VOFM-> Output Control ?
    Thanks
    Sathish

Maybe you are looking for

  • Why is my iphone 6 calendar changing the time zone on my events after I create them?

    Every event I create in my calendar has the correct time and time zone on it.  After I add it it puts it in my calendar at GMT instead of Chicago.

  • ANYDATA queries

    OK experts, what am I doing wrong? SQL> create table trial (val sys.anydata); Table created. SQL> insert into trial values (sys.anydata.convertnumber(56)); 1 row created. SQL> insert into trial values (sys.anydata.convertvarchar2('This is a trial'));

  • Airport wifi won't connect devices

    I've been reading through these forums but none of the solutions have worked for me. I have comcast internet and an airport extreme base station. Wired connections through the base station work fine. But we've been having wireless problems for months

  • Installing CUE 8.6.7 on ISM-SRE-300-K9

    Hello, I been trying to install CUE on ISM0/0 but so far i havent been available... My configuration goes as follow: interface ISM0/0  ip unnumbered GigabitEthernet0/0.11  ip virtual-reassembly in  service-module fail-open  service-module ip address

  • ITunes installation stops

    When I go to upgrade my iTunes and it's installing it suddenly stops at "registering iTunes automation server"