VF04 display also sales order number in case of delivery based billing

Hi,
for delivery related billing VF04 displays the delivery number in column 'sales document'.
Does anyone know, if possible to display also the sales order number additonally?
thanks
MG

Hello,
it is necessary to modify the strcuture VKDFIF used to show the billing due list.
The include VKDFIZ is reversed for custom development.
You should add the field for sales order.
Then you have to fill the added field by userexit.
The SAP note [69519|https://bosap-support.wdf.sap.corp/sap/support/notes/69519] gives an idea about it (it is for another field, you have to adapt it).
Best regards,
Ivano.

Similar Messages

  • Sales Order Number in case of drop ship  in Standard PO Print report

    I want to print sales order number in case of drop ship in Standard PO Print report..But I am not getting any tag related to that..
    When I am checking the log file it is present in the log file but not in the Tags..Please help how can I get sales order number in case of drop ship..
    Here is the log file:
    Start of log messages from FND_FILE
    Entering Get_Order_Line_Info 2
    Entering Get_Drop_Ship_Line_ids...1
    no open order line
    line found now 18757558
    Exiting Get_Drop_Ship_Line_ids...1
    line_id 18757558om org 1274
    po org 1274
    from oe_order_lines
    got ship to ct name and location: GRUPO DE COMUNICACIÓN PROMECAL, S.L-1175623
    sales order info: 1.1-1-1-Closed-10000178
    ENTERING OE_SYS_PARAMETERS.VALUE
    Going to get the value for MASTER_ORGANIZATION_ID
    ENTERING OE_SYS_PARAMETERS_PVT.VALUE
    org_id has changed so delete the cache and reset the globals
    PARAMETER VALUE from the DB when org_id has changed : 1275
    ENTER GET_ITEM_INFO PROCEDURE
    ITEM_IDENTIFIER_TYPE : INT
    INVENTORY_ITEM_ID : 1695026
    ORDERED_ITEM_ID :
    ORDERED_ITEM : 40 x Battery 12HX330
    SOLD_TO_ORG_ID : 1684899
    EXIT GET_ITEM_INFO PROCEDURE
    got ct product and ship method: ES_40 x Battery 12HX330-
    Leaving Get_Order_Line_Info
    I am getting the sales order number 10000178 in sales order info: 1.1-1-1-Closed-10000178
    but how to get it in the report...

    Dear Nitishj,
    If the strategy is MTS then in my understanding you cannot get any sales order order number with reference to
    production made
    Reason is in MTS production will be made collectively without reference to sales order
    where as in MTO it does with reference to sales order
    Regards
    Madhu

  • How to unlock sales order number after changing its line item statuses.

    hi all,
            my requirement is i am changing the status of the double
           clicked sales order which is showing in ALV grid display
           before that i am locking that sales order using FM
           CALL FUNCTION 'ENQUEUE_EVVBAKE' and for
           changing the status i am using FM
            CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            which doesnt have commit statement inside this FM so
           i have explictly written this commit statement if this FM
           gives SY-SUBRC = 0 but with this statement it unlock my
           sales order because of the commit functionality.
    also this FM is in loop for all line items for that sales order
    please help me with that!!!!

    Hi,
    I have created delivery against sales order.
    While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
    Sales order (SO1) - Material (Mat1) - qty (15 ea)
    Delivery against sales order (Del1) - batch split: batch1 - 10 ea
                                                                         batch2 - 5 ea
    In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
       del no.     Item No.      Material   Qty       Batch no       Sales Order no     Sales Order Item no
    1. DEL1       10              Mat1        10 ea    batch1          SO1                    10
    2. DEL1       20              Mat1         5 ea     batch2         ______                 ____
    Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
    I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
    Hope this clarifies the issue faced.
    Regards,
    Ankush

  • How to trace sales order number from delivery number, when batch is split

    Hi All,
    I have created a Sales Order and a Outbound Delivery against the sales order.
    While creating the Outbound delivery, I have split the qty in two batches.
    Now when I go in table LIPS, and search on the basis of the Delivery number, I get two rows, one for each batch. But here the sales order LIPS-VGBEL, and Sales order item no (LIPS-VGPOS) is updated only for the 1st batch line item, but is not updated for the second batch line item.
    Please help me so that on the basis of the delivery number, i will be able to find record from tables for sales order for both the line items (i.e. for each batch).
    Immediate help would be appreciated.
    Thanks in Advance.
    Ankush

    Hi,
    I have created delivery against sales order.
    While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
    Sales order (SO1) - Material (Mat1) - qty (15 ea)
    Delivery against sales order (Del1) - batch split: batch1 - 10 ea
                                                                         batch2 - 5 ea
    In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
       del no.     Item No.      Material   Qty       Batch no       Sales Order no     Sales Order Item no
    1. DEL1       10              Mat1        10 ea    batch1          SO1                    10
    2. DEL1       20              Mat1         5 ea     batch2         ______                 ____
    Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
    I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
    Hope this clarifies the issue faced.
    Regards,
    Ankush

  • How toset 2nd sales order number on the status application in Inbound Idocs

    Hi All,
    When processing inbound idocs in sales order we are splitting that idocs into two sales orders so for one sales order we are getting on Apllication with sales order number, But i want display second sales order number same as first one. can any one suggest me any function module for that....
    Regards,
    Sudhakar Reddy.A

    Hi ,
    Thanks for the relies i am writing the code in same FM (EXIT_SAPLVEDA_005) include (ZXVEDU07). this is for error message i wrote .
    Data : wa_e1ed19_E TYPE ty_e1edp19,
           wa_status1 type BDIDOCSTAT.
    if DIDOC_STATUS-status = '51' and DIDOC_STATUS-msgty = 'E' and DIDOC_STATUS-msgno = '382'.
    read table IT_E1EDP19 into wa_e1ed19_E with key idtnr = DIDOC_STATUS-msgv1.
    if sy-subrc = 0.
    wa_status1-docnum   = DIDOC_STATUS-docnum.
    wa_status1-STATUS   = DIDOC_STATUS-STATUS.
    wa_status1-MSGTY    = DIDOC_STATUS-MSGTY.
    wa_status1-MSGV1    = wa_e1ed19_E-idtnr.
    wa_status1-MSGV2   = wa_e1ed19_E-posnr.
    append wa_status1 to DIDOC_STATUS.
    clear wa_status1.
    endif.
    endif.
    Regards,
    Sudhakar Reddy .A

  • How to look for sales order number if I know outbound delivery number?

    How to look for sales order number if I know outbound delivery number?

    Hi ,
        If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
    for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
    You will get a window,there you can see the Sales order Number before your outbound delivery Number
    With Thanks and Regards,
    Priya

  • Customer Sales Order number to display in Purchase Order idoc

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

  • CM25--display sale order number

    Hi all
    With transaction code: CM25 and overall profile: SAPSFCG011. We can display: Planning Table: SAPSFCG011 Finite scheduling forw./all functs.activ. 
    then there will be three sections, in the left of the bottom section "orders (pool)", there will be disaplay field "Sql" material" "Prio" "order" "operation" "work center" etc. but I would like to display "sale order number", because our production style is make to order. so when planner pull the production order and dispatch it, the planner needs to know the sale order number. Could be sale order number displayed here?
    thanks in advance!
    DanDan

    This is entirely possible... please see my post from a previous post with a similar question... what you would need to do is add field KDAUF (for planned orders) or field KDAUF_AUFK (for production orders).
    The configuration for manipulating the profiles and columns is a bit confusing in the IMG.
    However.. if you use transaction OPD0 you can open up the configuration for the default profile that you are using in production. For instance... overall profile SAPCRPG001 uses planning table profile SAPSFCL010. If you click the button to the right of the planning table profile entry it will take you to the planning table profile configuration screen. Double click on profile SAPSFCL010.
    In this transaction you will note there is an entry for Layout ID which is (if you have not changed the default config) SAPSFCLA10. If you click the button to the right of this entry it will take you to the list of Layout ID's available for you. Locate the Layout ID SAPSFCLA10, select it and double click on the "Definition of charts" option.
    In this case the graphical planning table is using three different sections. Select the section that you wish to manipulate the column headings for and double click on Grouping Names option. Select the option that shows up in the next screen then click on the Grouping Names option.
    Listed here should be the layout keys used in this section of the layout ID. Make note of the layout key(s). Execute transaction CY38. Input the Layout Key you wish to manipulate. From here you can select any field you would like to add/remove from the current listing.
    You can click the Sequence/Heading button to manipulate the specific order of the columns and how large you want those columns to be as well as what text is displayed as the heading.
    My suggestion if you are going to make changes like this is to copy the existing profiles to Z********* profiles so that you have a golden copy to work with.
    Hope that helps.
    Rachael

  • Sales order number not displaying

    hi friends,
    the saled order number  which should have been displayed after saving the order on the bottom left corner of the page , when we press the save button is not getting displayed,
    can anyone help??
                        i can only see the sales order number in change mode.
    help
    sk

    Hi,
    Can check in the standard program with your ABAP consultnat
    Program    
    MV45AF0B_BELEG_SICHERN 
    Found locations/short description ( line 1261
    MESSAGE S311 WITH TVAKT-BEZEI VBAK-VBELN.  
    Program    
    MZFOEF01
    Found locations/short description  ( line 91)
    MESSAGE s311(v1) WITH cv_vbeln. 
    The message standard order is used in this areas, please check with ur ABAP consultant where it is missed.
    Kindly Reward points if usefull.
    Regards
    vK

  • Display Several Sales Orders from Same Business Customer TOGETHER   in MD04

    Hello
    In MD04 is it possible to display several sales orders from same business customer together?
    For instance one business customer order bikes for two times.
    The Order-No are 12912(50st by 07/08/09) and 12913(100st by 10/08/09).
    Normally after runnning of MRP(MD02), the planned orders are displayed seperately in MD04.
    I want to display  two orders together.
    The reason is if some trouble happens in Production(for Ord-no 12912) and it cannot be deliveried on schedule, however Production  (for Ord-no 12913) is going without trouble, the final-products for order 12913 should move for 12912.
    If you have some good solutions, please share it.
    Thank you for your advice.
    Regards,

    Hi Riyolshibashi,
    Lets look at the two main scenarios, MTS and MTO.
    In MTS, the general display filters are available in MD04.  Standard SAP filters do not filter on 'customer'.  I suspect this is because the concept would normally be illogical in a MTS environment.  Planned orders do not exist to serve a customer, but to serve 'stock'.  But let us not think about SAP and their logic.
    SAP allows you to create customized filters, in IMG>Production>MRP>Evaluation>Filter>Define Display filter.  Within this definition, under the  "Addnl Selections' tab, you can tick 'Define addl selections in the transaction'.  When you use this filter in MD04 display, then, one of the options available to you is to enter a specific Customer number, and then the display will only show the requirements from this customer.  Since you have excluded all other customer's orders, all orders of a single customer will be displayed consecutively.  Next to each other.
    In the case of MTO, the 'filter-by-customer' concept makes more sense (although, not for the reason you have stated.  You would have to find some manual method to convert a production order from supporting one sales order item, to supporting another sales order item.  Possible but difficult).  Anyway, the above mentioned customized filter would also work in an MTO environment.
    Regards,
    DB49

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

  • Sales Order number is  not showing in MD04

    Hi Gurus  ,
    I have got one case where  Sales order number is not showing  in MD04 screen  . This sales order , line item  has already delivered , PGI &  billing document also been generated  . Moreover accounting document is also been created .As cheeked & found that it is not shwoing in MD04 screen  because at  the time sales order creation  availability check “01” was maintained  which has sum up all the  requirement in one  particular day ( Also as
    per SAP note -70408) .
    Now because  all the subsequent document has been generated  for sales order so we can not mark it for “Rejection for rejection “  & to create new  sales order  with  availability check “02” in material master .
    Please let  me know the possible solution for the same or  if any  sap note would  be required to get the sales order number in MD04  .
    Thanks  ,
    Aman

    Hi Kiran ,
    Actually  before running the  report in “SDRQCR21”  in PRD I wanted to  run it in “Quality “ .
    In quality I am not able to simulate the same  .
    Please refer below points related to my testing result .
    1.Mainatined availability check group “01” .
    2 . Created Sales order 
    3. Check in MD04 screen & as expected  sales order  was coming blank  with negative Qty .
    4. Run the MRP which generated PR
    5. PR converted to PO  & GRN was done which updated the stock
    6. Created delivery  & checked the same in MD04  . It was also coming blank  . No delivery  document  numbe was showing in screen  but  it was coming with negative  Qty .
    7. Done the PGI  & blank  delivery document number  was removed & it become  normal .
    In PRD .
    There are 3 sales order
    One sales order is already marked reason for rejection & two sales order delivery , PGI has been done  .
    But still it is showing  blank sales order with negative Qty  & after MRP run it is generating the PR also  .
    I don't why it was  showing with negative values  .
    Please refer attacehed screen shot  .
    Thanks,
    Regards ,
    Aman

  • "In FBL5N unable to view purchase order number and the sales order number"

    Hi,
    Below mentioned is the problem we are facing,
    In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
    We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
    Kindly advise how to go about the same.
    Regards
    Harish

    Dear,
    Please also check note 152335. There, you will find a more detailed            
    explanation of the issue.                                                                               
    The only way to see some information regarding related PO-es in a Vendor       
    line items is a workaround. For example, it is possible to create              
    a substitution in order to fill in one of not currently used fields            
    like Reference, Text, etc.    
    I hope this helps You.
    mauri

  • Purchase Order changing Sales Order Number when printing.

    Hi all,
           I have a client who is trying to print a Purchase Order and when they go to Print or do a Print Preview the Sales Order number changes from 2259 to 2264. The customer is using SAP Business 1 2005A SP01 Pl43. If anyone has heard of this or can help us out that would be greatly appreciated. Thanks!
    Jeff Haldeman
    Support One

    Hi Jeff
    That sounds strange .May be it is a bug .lets find out some of the issue before you log to sap support or patch upgrade .
    1 Are you using formatted search . check the setup - if it is automatically refresh when field altered or changes,
    --If that's the case , change it into  display saved user -defined values .
    give a shot and see what happens
    Thank you
    Bishal

  • To Display the Sales docoment Number(VBAk-VBELN) in Business Workplace

    Hi,
    I want to display the sales document number(ie VBAK-VBELN) of Credit blocks orders in the Business Workplace inbox.
    I am able to display the message called "Sales Order Block for Credit Checks ".  I have done the following customizing.
    1. Partner Function KB(Credit Representative) for the Sales Document Header.
    2. Output Determination Procedure.
    3. Output Master Record VV11(KRML) : - Here is there any coding i need to write or can i do it by customizing.
    Regards
    Ravi

    I need to add classification data for sold to party business partner that I created.
    Business partner-->General Data->Classification-->
    Classification -
    > I need to check the check box for customer and also
    Business partner--->General Data-> Classification----->R/3 integration---->Account Group I need to put 0001.
    How should I do this? I am making use of the BAPI BAPI_BUPA_CLASS_ADD.
    Here I need to pass values to CLASSIFICATION.
    I donu2019t know what values I need to pass to this import parameter CLASSIFICATION.
    When I go and see the structure of it, I find that the following fields are there.
    CLASSCAT, CRIT1, CRIT2, CRIT3, CRIT4, CRIT5, ATTRID, VALUE.
    What values should I pass so that I can add classification data to my sold to party business partner such that the Customer check box is checked and in R/3 integration----->Account Group I should fill 0001.
    Regards,
    Jessica Sam
    Edited by: jessica sam on Nov 15, 2008 2:33 PM

Maybe you are looking for

  • How to push remainder Children up after remove 1

    Hi everyone, i have an ary contain a numbers of information as below var ary:Array = new Array(); var temp:Array; var box_mc:Box; // this is a movieclip which contain dynamic text box inside. // assume inside the array have 9 itemName on the stage i

  • Drill down reports for new GL

    Hi All I want to assign drill down report to my PCA (New GL)report painter report( GR52). Can any one suggest some reports for drill down functionality. Thanks

  • Filtering seems to be broken in LR4b

    Steps to reproduce the problem: 1. Select a collection or folder 2. In the library module, call up the filter bar (\) 3. Select Camera as your first criteria 4. Select Lens as the second column criteria If I select "All Cameras" in the first column,

  • Discussion forum with Portal

    I have to do a discussion forum with Oracle Portal. Do I need something else (I meen some other packge) and how can I do this? Can I find something already done or have I to do it all by myself? Thanks in advance null

  • MY CD won't eject out of my MacBook Pro.. Help!!

    iTunes did not recognise the CD. Now the CD will not eject. I have tried to 'Command E' although its still not working!