Checking  Purchase order Number

HI  Experts,
Can you please suggest me which RFC should i used to check PO exist in R/3 before sending to thirdparty to  Delvery03 Idoc.
     The XI mapping calls an RFC in ERP to validate the ASN against the PO
Thanks
Raj

Hi Raj,
You are calling from out side SAP you can use this.
BAPI_PO_GETDETAIL
and check the RETURN Paramter .
If you want from SAP System just you can write a simple select for EKKO table.
-Pavan

Similar Messages

  • CREATION OF SET FOR PURCHASE ORDER NUMBER

    Dear Sirs,
    I want to create a basic set containing all purchase order number, even though i am using table MSEG and field EBELN, i am not getting and values in it. how to create a basic set containing all the available PO numbers, which can be used in FI validation.
    Give me the full setting to create a above mentioned set.
    Thanks and Regards

    i didn't get what u are saying please elobrate. let me put forth my issue clearly.
    my client want to check where there is any PO available are not, for payments exceeding 1,00,000/-
    So i am cofiguring a validation, for which i want to keep the  "set of PO numbers" in "CHECK" part of the validation. which i am unable to do. when ever i try to select the set it is saying no valid object found.
    SO please help me with ur expert knowledge in this regards
    Thanks & Regards

  • "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 number in FBL5N

    Hello,
    We need to display the purchase order number in the layout for transaction FBL5N.
    But the issue is that the Purchasing Doc.documnet field seems to be empty in most of the invoices.but if we check the billing data for the same invoice (VF03), here we can se that the PO data tab is having purchase order number. but it is not displayed in the inovice.
    What could be the possible reason for this
    Now what we would like to know is that do how can we populate the purchase order number displayed in billing document in the invoice document.
    BR,
    Zulfikar

    Hello
    In FNL5N, try to create a variant for report display options.
    You could select the fields to form part of the report for output options.
    Save the variant , execute, check.
    If the PO number itself is not available in the list, then you need to worry, as it could lead to some USER exit, or some other enhancement. But, I think it is available.
    Check the Sort key too. There could be a PO listing option.
    Reg
    Suresh

  • Purchase order number not update in purchase requisition status tab

    Purchase order is created for purchase requisition. The purchase requisition is triggered through process order. When I checked purchase requisition details in ME53N status tab, status is not edited and purchase order number also not present.
    Kindly let me know the possible reason for this.
    Appreciate your help..
    Thanks,
    SAP PQ

    If the PO had been created without reference to the PR, it will not be updated in the PR.
    If it has been created with reference to the PR, then the PR number gets updated in the PR status.

  • 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

  • How to Display Purchase Order Number IN G.R.P.O

    Hi Guys,
    i am unable to find solution regarding Getting Purchase order number and displaying in Goods Receipt P.O. Report automatically when we copy from purchase Order ie Copy From button .My problem is we are Expecting Purchase Order Number in Goods Receipt P.O automatically when they copy From Purchase. Order.Can any suggest me reagarding with Good solution asap.
    Regards
    ANAND

    Hi Anand,
    When Your Goods Receipt P O Form is Active Click on form Settings in Menubar( 5ty Icon Form Right) Then one window will be opened then click on table format folder and then check the check box against base ref and base key under Visible column
    If you are not adding any comments on GRPO then by default it will show as based ob purchase order XXX.
    Hope it helps you
    Regards
    Vishnu

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

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, please any one help me

    While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, what are the requirements need to display into tcode f.13, please any one help me, i am facing this problem in  production server

    Hi Nattu,
    Please check it will show the PO no under Purchasing doc field
    Check which layout you are applied.
    its should be
    SAP&F124
    Without Specification of Crcy
    Regd,
    Khan.

  • Purchase order number for the Delivery

    How do we get the Purchase order number from a delivery.
    Hello all
    Say i have an Purchase order [EKKO] and from that i have created a delivery.[LIKS]
    In my output for the delivery, i need the preceeding document number for the delivery which is the PO number.
    How do i get the same. what table should i look in. I checked the VBFA table, but i am not able to get the same there...
    is there any table with which we can get this info.
    thanks and Regards,
    Gauravjit.

    No, it will be at the line item level because you can potentially combine several PO (or sales order) line items into one delivery.

  • Inspection Type 05 require input purchase order number for rejection

    Hi Experts,
    I have inspection and needed to reject in QA12.
    When inputting the stock posting quantity to return, it prompts the reason for rejection, and required to input purchase order number also.
    Since that is material return from production(inspection type 05) with no purchase order number, where in SPRO I can check the setting of this and disable this?
    Please kindly advise, thanks!
    Regards,
    Daniel

    Hi SujitSND,
    I have some materials in inspection lot which is created from material return in production.
    This lot is rejected by QA and needed to return to production line.
    When inputting the qualtity field RETURN DELIVERY, system forced me to input Purchase Order number which is not available.
    My target is to not needing to input purchase order.
    Regards,
    Daniel

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

  • ?? default purchase order number generation

    Hello everyone.
    When a purchase order is automatically generated from a sales order, is it possible to make the new PO number the same as the SO number we've just set? 
    ie we need to manually overwrite the newly generated PO just like we did with the initial SO.
    Any help on this would be rewarded with a front row seat in heaven =)

    Groovy,
    Couple of questions,
    Are you creating the SO for a Drop Ship Warehouse which would automatically prompt to create PO.
    OR
    Are you on the SO manually checking Purchase Orders in the logistics tab and creating the PO.
    Each of this scenario can be handled a bit differently.
    Couple of things can be done.  (1)  You may create a User field (Sales Order No.) at the PO header level if the PO has a one to one relation with a SO and if the PO if for multiple SO then create a User field (Sales Order No.) at the row level. and enter the sales Order numbers in this user field.
    (2) You can maintain a seperate numbering series for these kinds of SO and PO where you can maintain a Sync.
    (3) When you copy a Sales Order to a Purchase Order, Create the PO as a draft and then open draft PO and select a manual numbering and enter the SO number.
    NOTE: In his scenario the numbering Series of the SO should be much lower than PO and sometime this could cause ovenruns of number.
    I have just given you the 3 possible scenarios.  My best bet would be to try the (1) or the (2) one.
    Let me know if you have any questions
    Suda

  • Customer purchase order number in Billing document

    Hi Experts
    Billing documen --> Item double click --> Last Tab is PO Data
    Table (VBKD) --Field (BSTKD) -- Customer purchase order number
    How do I get populated my PO here in this field. I am not using the sales order. Only P.O --> D.O --> Billing.(inter Co. STO)
    Any help can be appreciated
    regards
    RG.

    Hi,
    You have the PO number in the delivery (in items, LIPS-VGBEL) or in VBFA table.So, you can achieve it in the copy rules from delivery to invoice (in a VOFM in VTFL). Check so the splitting of invoice (structure ZUK or field ZUKRI), so, see SAP Note 11162 - Invoice split criteria in billing document.
    I hope it helps you
    Regards
    Eduardo

Maybe you are looking for

  • I cant move my song order inside a playlist anymore

    I tried the two most suggested fixes (turning off shuffle and clicking on the first column) but nothing works and now all my playlists are not allowing me to change the order of the songs Help! Thanks

  • Evaluation of xi system

    I want to know some konwledge about evaluation of xi system ,could you tell me where could I find the information about these? thank you.

  • "Content not allowed in Prolog" XML error while using RemoteSession API

    Hi, I am trying to create a view by using a RemoteSession object CREATED on the RPC URL of Sun Identity Manager. Here is the code I am trying out. try URL url = new URL ("http","localhost",8080,"/idm/servlet/rpcrouter2"); System.out.println (url.toSt

  • Problem in Alerts

    Dear Experts,           I am working on Alerts. I have created Alert category in the tcode  'ALRTCATDEF' and I have assigned this category in the transaction 'SWE2' for the Business object 'BUS10006'. My requirement is when i create the Business Part

  • Safari Disappeared

    While I wasn't using my iPhone 4, Safari disappeared from my home screen. The bottom row of 4 became a row of 3 after it was gone, which was immediately conspicuous. I tried using other apps which could include hyperlinks to try and activate Safari t