Printing sales order number in screen (PBO)

Hi experts,
               I have created sales order using function modules. The output of the FM is sales order number , i want to print this sales order number in my screen 9001 which i have createdCreation of sales order is in background.
Similarly i have created delivery number also, i want tp print these number in my screen as
For example,
Sales order number      000145113
Delivery                         4512223
kindly help me in solving this.
Thanks you and Regards,
Madhu

Hi,
Create a Class with attributes sales order and Delivery number and store after creation.
when ever the screen 9001 is called call the attrivutes in the class and pass to screen variable.
Or use the Set / Get parameter id for sales order and Delivery Number.
1) use export or import memory
2) use class to as above mentioned.
3) or use SET/GET paramater ID
Prabhudas

Similar Messages

  • Print Sale Order Number In PLD of A/R Invoice in SAP B1

    Dear support team,
    How to print Sale Order Number In PLD of A/R Invoice in SAP B1
    Thanking you
    Pradnya

    Hi Pradnya......
    You can do one thing.
    Create a UDF at SO header level and via FMS pull Document No. to that UDF.
    for this FMS please try this...
    Select $[ORDR.DocNum.0]
    Save above FMS to UDF at SO level.
    When you copy SO to Delivery and then to Invoice the SO no. gets copied to Invoice...
    from this fiedl you can pick in PLD....
    Hope this will help you......
    Regards,
    Rahul

  • How to raise an information message in Sales order change second screen(pbo

    Hi Experts,
      I need to change data in Sales order header if user entered wrong value while creation of order. If he has not given the correct value then i need to raise one information message on second screen of VA02. How can it possible when enter PRESS button or any action(means in the second screen pbo only).
    Cheers,
    Bujji

    Hi,
    Which field do you want to validate??
    Thanks,
    Naren

  • 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

  • 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

  • Sales order number not coming QA32 screen

    Hi Gurus,
    We have created a lay out in QA32 including sales order no,but the sales order no is not visible in the Change data for inspection lot (QA32 Screen)
    We are creating production order via sales order.Our client wants sales order number displayed in the screen.
    What must the reason for not picking the sales order number?
    Is there any other settings we are missing.
    Thanks in advance
    Regards
    Ramkumar

    Hi,
    First you tell me which Inspection type your using.
    Sales order number will Show in the lot if following requirement will exist.
    1. Make to Order Scenario with 04 - Inspection type (Goods Receipt from Production)
    2. Inspection at sales  Order level with 10,11 Inspection Type.
    Regards,
    S.Babusingh

  • All the Pages are Printed - Document Printing Sales Orders

    When using the Document Printing option for Sales Orders, if I select multiple documents and select print I get a message after each document that says "All the Pages are Printed", then the next document comes for printing. I also get a prompt each time whether or not to print Sales Order only or Sales Order and Pick List.
    I don't have the same issue if printing Invoices from Document Printing. It asks what to print and prints all records without additional prompts between each record. I don't see anything in Print Preferences that would cause the Order to act differently from the Invoice.
    We are using B1 9.0 PL 06.
    Alan

    Hello there, linafrompereira.
    The following portion of the online Pages Help for Mac provides information on grouping items in Pages:
    Layer, group, and lock objects - Pages Help for Mac
    http://help.apple.com/pages/mac/5.2/#/tan5eab46568
    Group and ungroup objects
    Shift-click to select multiple objects.
    In the Arrange pane of the Format inspector, click Group (or choose Arrange > Group from the Arrange menu at the top of your computer screen).
    To ungroup an object, select it, then click Ungroup or choose Arrange > Ungroup.
    Tip: You can Control-click objects, then choose Group or Ungroup from the shortcut menu. You can also add these buttons to the toolbar: Group and Ungroup.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • 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

  • Fetch Sales order number and PO number from ship to party and sold to party

    HI,
    I need to get Sales order number and PO number
    from ship to party and sold to party.
    I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
    Please let me know
    Sreekanth

    Hi,
    You can do this:-
    SELECT VBELN FROM LIKP
    INTO TABLE T_DELIVERIES
    WHERE KUNNR = SHIP TO PARTY
    AND     KUNAG = SOLD TO PARTY
    AND LFDAT      = DEL DATE.
    You will get a table containing the list of deliveries.
    Use VBFA to get the sales orders from deliveries.
    SELECT VBELV FROM VBFA
    INTO TABLE T_SALESORDERS
    WHERE VBTYP_N = 'J'
    AND     VBELN  = T_DELIVERIES-VBELN.
    T_SALESORDERS WILL give you list of sales orders.
    From Sales Orders you can get Purchase orders through EKKN Table.
    Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
    Regards,
    SUbhashini

  • 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

  • Finding Sales order number in RVADOR01

    Hi Gurus,
         For printing Sales order we will assign the form in nace for driver program RVADOR01.
         My question is Sales order program is different. Driver program is different and from driver program our form will be triggered. How the program RVADOR01 knows the sales order number when we click on print preview in sales order?
    Thanks
    Ravi

    It takes the document number from structure NAST which is filled by the calling process - note that this structure is declared with "TABLES" statement so the same instance of this structure is known for both RVADOR01 and the program that calls it.
    To see more details look at the subroutine GET_DATA in program RVADOR01.
    regards

  • Printing Sales order

    When i print sales order, in column next to description of material, it is written sa LOOSE, as that material is sent as loose one. But now our process has changed and uesr want to sent it in pack of 2 clled as BOX. So instead of LOOSE word I want there BOX. but m really not getting from where that LOOSE description is coming. Is it like that abaper has drawn it in Sales order?
    So can u please guide to change that LOOSE to BOX?
    Regards

    Hi,
    Please follow the below steps for the solution to your problem.
    Open the Sales Order which you are printing and Navigate to Extras > Output > Header > edit.
    On this Screen Check the Output Type which has got determined in your Sales Order.
    Navigate to V/30 and Select the Output Type which was found above.
    Select the Output Type and Click on Processing Routines on the Left.
    Now select the SmartForm Name on the right and ask your Abapper to Change this SmartForm and remove the HardCoding from LOOSE to make it BOX.
    Hope this info helps you.
    Madhukar.

  • Mass Print Sales Orders

    Hello,
    I need to mass print sales orders.
    Upon trying to use program SD70AV1A using the following settings:
    Output Type                       Z***
    Transmission Medium         1
    Sort order                           01
    Processing mode                1           (I have tried 2 and 3 also)
    Sales Document                 *****
    Sales Organization              ***
    I receive a status saying that there are no messages to be printed.
    I have read that this method will not work if the output type is not already defined in the sales order.
    How can I mass populate the output type in the sales order so I can use this program?
    I have also read that the program RSNAST00 may be used in this instance using output application 'V1' (for sales).
    In trying to use this program I also receive a status saying that there are 0 outputs processed.
    I have tried variations on the object key (Sales order number, Sales order number with leading zeros, sales order number concatenated with item number, sales order number concatenated with item number with leading zeroes) all to no avail.
    What am I doing wrong? How can I mass print sales orders?
    Thanks.
    N.B. Processing them one by one in VA02 works as it should.

    The trouble with using LSMW is that I need the process to be as simple as possible for end users who won't have access to LSMW.
    If it is a standard SAP report that can be used to mass print sales orders, we can always create a custom tcode for it, which would satisfy the requirement for an end user to be able to use it.
    I'd also like to point out that I realise there have been a fair few discussions started and closed on the same topic in this forum but I have not been able to find a solution in any of them that works.
    Message was edited by: Benjamin Allsopp

  • Sales order number not showin in ATP sccreen

    Hello All
                        Can you please answer my quesiton regarding ATP, i created a sales order, system performed ATP check and saved.
    In MD04 screen, i see the sales order number as a demand, but when i navigate to ATP quantities screen from MD04, there i see Totals record demand demand for the sales order, but i can't see the sales order number even when i click on Details of total records, also i am not able to create a delivery for this sales order, can you please tell me how to fix this?
    Thanks
    manju

    Please see the date the Schedule line has been confirmed. Delivery can be created only the material availablility date seen in the shipping tab in Schedule line. or the transportation planning date seen in the shipping tab of schedule line.
    In case if you still have have issues, please reply.
    Regards,
    vasim.

Maybe you are looking for

  • Tp return code 12 while trying to release a request in enhanced CTS

    Hello All, I have installed PI 7.1 on windows with Oracle DB. I have followed all the pre requisites to configure enhanced CTS feature and configured Enhanced CTS making DEV as source system and QAS and PRD as Target Systems. For the firast time when

  • Save for Web & Devices window doesn't fit @ 1366 x 768

    I'm using a MacBook Air running at 1366 x 768, or within Adobe CS5 requirement tolerances, but whenever I try to 'Save for Web & Devices', the dialogue box that pops up is much too big, vertically speaking, for my screen. Attempting to minimize/maxim

  • IMac operating temperature question

    Hi. I am thinking of getting a new iMac. I see on the iMac technical specifications webpage : http://www.apple.com/imac/specs.html#specs ...that the iMac is required to be in a 50 degree Farenheit or warmer environment. "Operating temperature: 50° to

  • HELP ME PLEASE MISSING KEY!!!!

    HI PLEASE CAN ANYB0DY HELP ME??????? I HAVE A MISSING KEY ITS HARD T0 TELL Y0U WHAT KEY IT IS BECAUSE ITS MISSING!!! ITS THE 0NE BETWEEN THE I AND P I AM USING A ZER0 IN IS PLACE! S0RRY IF THIS IS C0NFUSING BUT I D0NT KN0W H0W ELSE T0 EXPLAIN. I HAVE

  • Aged trial balance

    Hi, I can see two opens in a customer when I go to FBL5N. However, when I go to Aged Trial balance report, they are not showing in that report. Can anyone tell me what can be the reason of open items not showing in the aged trial balance report thank