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

Similar Messages

  • 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.

  • Copy purchase order number and date from one sales order to other sales ord

    Hi,
    I am creating sales order in va01. here i am entering purchase order number (p100) and date. Sales order number ex: 42000
    I am creating another sales order with reference to 42000. when creating sales order with reference to 42000, purchase order number (p100) and date has to be copied automatically from that order.
    Can anyone please give me a solution?
    Thanks in advance
    Babu

    Dear Babu,
    Currently, PO number is being mentioned in copy routine 101 but this  
    field VBKD-BSTKD is being cleared out.                                
    If we check this routine code:                                                                               
    FORM DATEN_KOPIEREN_101.                                              
    Data which is not copied                                            
    Pricing date for consignment issue by external service agent from   
    the scheduling agreement                                            
      IF CVBAK-VBTYP CA VBTYP_LP_EDL.                                     
        CLEAR VBKD-PRSDT.                                                 
      ENDIF.                                                              
    PO data should not be copied                                        
      CLEAR: VBKD-BSTKD,                    <<<<<                         
             VBKD-BSTDK,                                                  
    In order to achieve your requirement, you need to consider creating you
    own copying routines for VBKD fields copying standard copying routines
    (for example copying routine 101) according your business requirements
    and change them via transaction VOFM, in order to:                    
      - deactivate the LOCAL: statement                                   
      - delete the clear statements                                                                               
    Once you have created those two routines to match your business needs,
    you can insert them in transaction VTAA, so the sales order will copy 
    the PO date at item level.                                            
    I hope I was able to help you.
    Kind regards,
    Zsuzsanna

  • How to provide relation b/w sales order number &  purchase order number

    hi.....
    i created one report  based on sales order number and displayed by alv grid then by selecting one sales record  using bdc i created purchase order number ,then i have to display that purchase order in alv again,hoe to provide relation b/w sales order and purchase order

    This is what VA05 Does
    SELECT bstkd 
                   vbeln  "Sale order Number
                   posnr
              FROM m_vmvaa
              INTO TABLE i_m_vmvaa
              FOR ALL ENTRIES IN i_bstkd
              WHERE bstkd = i_bstkd-bstkd.   "Your PO Number

  • "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

  • FM to find Sales Order based on Purchase Order Number

    Hi All,
    I have a Purchase Order number and based on this I want to find out the corresponding Sales Order Number.
    Can anyone help me find any FM for this (I have tried RV_ORDER_FLOW_INFORMATION but its not of much help).
    Regards,
    Shoeb

    Check my reply here.
    Re: Purchase order number from Sales order

  • 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

  • Getting purchase order number from sales order number

    Hi Experts,
    My requirement is to fetch the following values from a sales-order number:
    Purchase Order Number,
    Delivery Date
    Order Type(Source of Order EDI/EFAX/..)
    Ship To,
    Sold To.
    We are trying to fetch this data from the ECC system in our CRM system.We are exploring the possibilty of RFC calls to get the data from ECC system.
    Is there any standard FM present in ECC which gives the above information from the sales order number?
    Thanks in advance
    Regards
    Shilpi

    Hi,
    Check the FM BAPISDORDER_GETDETAILEDLIST
    It provides the whole data for a particular Sales order which you need to provide Sales order number in the table 'SALES_DOCUMENTS' in tables parameter.
    You have to provide the view what you need and in the import parameter 'I_BAPI_VIEW' like all the views that are in the tables parameter...
    HEADER, ITEM etc...
    The fields
    PO_METHOD
    PURCH_NO
    REQ_DATE_H
    SOLD_TO " will provide you the details you need in the table 'ORDER_HEADERS_OUT'
    SHIP_POINT in ORDER_ITEMS_OUT table provides the ship to
    Regards
    Sarves

  • Update Purchase Order number.(Link GL to PO)

    Hi all,
    Currently i am using the below query for one of our report(R12). However there is a need to update Purchase Order Number .Could anyone please help on how to link GL to PO and provide the updated query.The query is as follows.
    SELECT gjl.je_line_num,
        gjl.code_combination_id,
        SUM(NVL(GJL.accounted_dr, 0))                                     AS Accounted_DR,
        SUM(NVL(GJL.accounted_cr, 0))                                     AS Accounted_CR,
        ( SUM(NVL(GJL.accounted_dr, 0)) - SUM(NVL(GJL.accounted_cr, 0)) ) AS Accounted_Balance,
        gjb.actual_flag,
        NULL     AS "Check Number",
        gjb.name AS "Batch Name",
        TO_CHAR(gjh.currency_conversion_date, 'DD-Mon-YYYY') currency_conversion_date,
        ROUND(gjh.CURRENCY_CONVERSION_RATE,4) CURRENCY_CONVERSION_RATE,
        gjh.currency_conversion_type,
        NULL                                                          AS Document_Number,
        SUM(NVL(GJL.entered_dr, 0))                                   AS Entered_DR,
        SUM(NVL(GJL.entered_cr, 0))                                   AS Entered_CR,
        ( SUM(NVL(GJL.entered_dr, 0)) - SUM(NVL(GJL.entered_cr, 0)) ) AS Entered_Balance,
        gcc.segment1
        || '.'
        || gcc.segment2
        || '.'
        || gcc.segment3
        || '.'
        || gcc.segment4
        || '.'
        ||gcc.segment5
        || '.'
        || gcc.segment6
        || '.'
        || gcc.segment7
        || '.'
        || gcc.segment8 "Account Code",
        gl.currency_code AS "Ledger Currency",
        gjh.name         AS "Header Name",
        gjl.description  AS "Journal Line Description",
        NULL             AS party_name,
        NULL             AS party_id,
        GJH.period_name,
        TO_CHAR(gjh.POSTED_DATE, 'DD-Mon-YYYY') POSTED_DATE,
        NULL AS "Purchase Invoice Number",
        NULL AS "AP Invoice Line Description",
        NULL AS "Sales Invoice Number",
        gcc.segment1 Company ,
        gcc.segment2 Account,
        DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2)) AS "Seg2 Desc",
        gcc.segment3 AS "Business Model",
        gcc.segment4 Region,
        gcc.segment5 AS "Cost Profit Center",
        gcc.segment6 AS "Product Group",
        gcc.segment7 AS "Related Company",
        gcc.segment8 AS "Reserve",
        gjl.status   AS "Journal Line Status",
        GL.name      AS "LEDGER NAME",
        GJH.currency_code,
        GJH.je_category je_cat_f,
        GJCT.user_je_category_name je_category,
        GJH.je_source,
        NULL AS "Sales_order" ,
        NULL AS "Purchase Order Number"
      FROM APPS.gl_je_headers gjh,
        APPS.gl_je_batches gjb,
        APPS.gl_ledgers gl,
        APPS.gl_je_lines gjl,
        APPS.gl_code_combinations gcc,
        (SELECT je_category_name,
          user_je_category_name
        FROM APPS.GL_JE_CATEGORIES_TL
        WHERE language='E'
        ) GJCT
      WHERE gjh.je_from_sla_flag IS NULL
      --AND gjh.EXTERNAL_REFERENCE IS NULL
      AND gjb.je_batch_id         = gjh.je_batch_id
      AND gjh.ledger_id           = gl.ledger_id
      AND gjh.je_header_id        = gjl.je_header_id
      AND gcc.code_combination_id = gjl.code_combination_id
      AND GJH.JE_CATEGORY         = GJCT.je_category_name(+)
      AND GL.name NOT IN('NL ABX RepCorp USD (EUR)')
      GROUP BY gjl.je_line_num,
        gjl.code_combination_id,
        gjb.actual_flag,
        gjb.name,
        gjh.currency_conversion_date,
        ROUND(gjh.CURRENCY_CONVERSION_RATE,4),
        gjh.currency_conversion_type,
        gcc.segment1
        || '.'
        || gcc.segment2
        || '.'
        || gcc.segment3
        || '.'
        || gcc.segment4
        || '.'
        ||gcc.segment5
        || '.'
        || gcc.segment6
        || '.'
        || gcc.segment7
        || '.'
        || gcc.segment8,
        gl.currency_code,
        gjh.name,
        gjl.description,
        gjb.je_batch_id,
        gjb.status,
        gjb.posted_date,
        gjb.description,
        gl.name,
        gjh.name,
        GJH.period_name,
        gjh.posted_date,
        gcc.segment1,
        gcc.segment2,
        gcc.segment3,
        gcc.segment4,
        gcc.segment5,
        gcc.segment6,
        gcc.segment7,
        gcc.segment8,
        GL.name,
        gjl.status,
        GJH.je_category,
        GJCT.user_je_category_name,
        GJH.je_source,
        GJH.currency_code,
        DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2))

    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.

  • Purchase order number for each postings with FBL3N

    Hello
    With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
    thanks for inputs
    sb

    Hello,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from
    menu path Settings -> Special fields).
    Then, select the Purchase order field again from "Change Layout"
    (Ctrl+F8). Now this field is available for display variants, it has the
    technical name 1-U_EBELN and the description 'Purchase Document'.
    The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select
    1-U_EBELN and not 1-EBELN.
    *******Please also refer to attached notes 215798 and 984305.
    Best regards, Hana

  • Defining Purchase Order Number as a Required Entry

    Dear All,
    I've cut and pasted the contents of sap.help.com below, I'm trying to make the Purchase order Number in sales order document a required entry but I'm unable to locate the checkbox in VD02 as mentioned in help text. can some one help me out.
    Defining Purchase Order Number as a Required Entry:
    Use:
    If a customer order number appears on the order for that customer, you can define the PO number (purchase order number) field as a required entry.
    Procedure:
    Choose Logistics ® Sales/distribution ® Master data ® Business partners ® Sold-to party ® Change ® Change.
    Enter the customer and select the Control data view in the General data area of the screen and choose Enter.
    The system now displays the Customer Change: Control Data screen. In the Reference data/area section, select the Purchase order req. checkbox. Save the customer master.
    Result:
    You will have to enter the purchase order number on the Order Entry screen for this customer in all future orders.

    Hi
    TRy transaction VOV8
    select sales document type and go to general control and select Enter PO number check box.
    Otherwise you can create your own incompletion procedure in OVA2 and maintain whatever field you want mandatory and asign this procedure to  sales document type with transaction VUA2 and mark IC dialog.
    regards
    Srinivas

  • Purchase order number in VA05 transaction

    Hi,
    When i excute VA05 transaction by  giving sales orginization number by selecting orginational data tab in initial screen the purchase order number is balnk ,but when i give sales document type in further selection criteria the purchase order number appears for same sales order no and sales document type.
    Please let me if any one has faced this issue.
    FYi we have recently gone for upgrade from 4.6c to ECC.This works fine in 4.6c.
    Regards,
    Sunil.K

    reolved by my self

  • Purchase order number of the customer equals to the batch number

    At our case, purchase order number of the customer equals to the batch number. Purchase order number will be written on the sales document (VBKD - BSTKD).
    1. How can the production department can see what is written in this field (on md04 or etc...)? The batches will be created by the PP module so they have to see what is written on this field to give the right number to the batch externally (when creating the batch manually).
    2. If batches are automatically created, how can we make the batch number to be equal to the purchase order number which is written on the sales document (VBKD - BSTKD)?
    I'll be happy for the answers and I'll also be happy if you can give me the names of the user exits for the above questions. Thanks in advance for the answers....

    Hi Yasar?
    Did you evaluate working with valuated sales order stock?
    This way your PP people could use Make to Order style manufacturing and produce for a special "batch" => The sales order special stock.
    Can be used in Repetitive Manufacturing and has no impact in costing, therefore a nice option for the situation you are describing.
    In MD04 a special segment will appear for the the Sales Order stock and this stock will only be able to be shipped for this special order.
    Best Regards,
    Franck

  • VMI scenario: purchase order number created by supplier

    Hi,
    in a VMI scenario is there a way to let the supplier create the purchase order number which is then sent in the ORDRSP IDoc to the customer? And in the customer system the purchase order number from the ORDRSP is used when the purchase order is created from the ORDRSP IDoc.
    Is this possible? What needs to be done for it? Any ideas?
    Regards,
    Robert

    Hi Anand,
    I'm sorry but I didn't understand it.
    The vendor creates a sales order in his system and sends the order rensponse (IDoc ORDRSP) to the customer system. There a purchase order will be created out of the ORDRSP. That's the standard process. But as far as I know in the purchase order there will be no external purchase order number used from the vendor system but a purchase order number from the customer system instead. This purchase order number from the customer system could be sent to the vendor system in an ORDCHG IDoc if needed. I want to know whether or not it's possible to send an external purchase order number from the vendor system to the customer system and create a purchase order with this external purchase order number.
    Regards,
    Robert

  • I need a purchase order number immediately option in I-proc

    Hello,
    I created one catalog requisition in I-Proc, and checked " I need a purchase order number immediately" option during checkout. This requisition has been created and i even got message that "Purchase order number 45 has been reversed for you" With this being said...
    1. Where can i see this PO number ( I approved above requisition, but i can not see this PO number in PO screen)...?
    2. What does this purchase order number do?
    Thanks
    Deepak

    Hi Depak,
    Please check this doc...
    PO Create Documents
    Workflow File Name: poxwfatc.wft
    This workflow manages the automatic creation of purchasing documents. The PO Create Documents workflow starts in Oracle iProcurement when you submit a
    requisition associated with an existing blanket purchase agreement, contract purchase agreement, or catalog quotation in Oracle Purchasing. Customize the attributes in this workflow to fit your business needs.
    The following table shows the attributes that you must consider:
    1) Is Automatic Creation Allowed?
    Please change to Y
    AUTOCREATE_DOC Indicator (Y for Yes or N for No) of whether this workflow is initiated for all approved requisition lines.
    Default value: N
    2) Is Automatic Approval Allowed?
    AUTO_APPROVE_DOC Indicator of whether the purchase order approval workflow is initiated automatically after this workflow.
    Default value: N
    Please change to Y
    3) Should Workflow Create The Release?
    CONT_WF_FOR_AC_REL_GEN Indicator of whether this workflow creates, releases, or leaves them to the buyer to create using AutoCreate in Oracle Purchasing.
    Default value: N
    Please change to Y
    You can verify the changes through below query..
    select rtrim(w.name) name,
    w.text_default Value,
    rtrim(w.item_type) item_type
    from wf_item_attributes w
    where w.NAME in ('AUTO_APPROVE_DOC', 'CONT_WF_FOR_AC_REL_GEN', 'AUTOCREATE_DOC')
    Hope this will help.
    Regards,
    S.P DASH
    Another quick question to you, you mentioned UNSPENT code in your queries.. I think it should be UNSPSC code...correct me if I am wrong here..

Maybe you are looking for