F-47 and Purchasing Document

In Advance Payment through F-47, while selecting purchasing document,  system again ask for selecting Vendor from list and then by selecting its Po, it may happen by mistake another vendor choose then its Po will pick. 
Want to restrict PO should be available of vendor to whom payment is going to be made and not by selection of vendor.
Waiting for Reply.
Thanks in Advance.
Edited by: Kiran L. Bhatia on Aug 5, 2010 11:24 AM

Hi,
SAP does not have such check to check the vendor againest the vendor of PO. It only checks whther the PO no. is valid or not.
However you can build your validation in OB28 to perform such check.
To make the vendor line mandatory for KR document type, you can write the validation as below:-
Step 1:-
Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP as you want to display to user.
Step 2:-
Go to transaction GGB0 and create the validation step at line item level in Financial Accounting as below:-
Pre Requisits:-
SY-TCODE='F-47'.
Check:-
Create a exit code using user exit and check that vendor in PO is same as vendor in the line item.
For this take the help of ABAPer and create a copy of the program RGGBR000 and code your check here and assign to the application area GBLR in view V_T80D via transaction code SM30.
Message:-
Message created in step 1 as error message.
Step 3:-
Please also check that this validation has active status (Status=1) at line line item level (level 2) for your company code in transaction OB28.
Regards,
Gaurav

Similar Messages

  • Notification on Receipt and Purchase documents getting fired on Production order having Items with planning method as MRP

    I have written a SP Notification to block adding of documents if block number is not provided. Notification is working fine on Purchase and Receipt documents. This notification also gets executed on Production Order where items included in Production order have planning method as MRP.
    Can anyone explain me the relationship between
    "MRP planned items"
    and
    "Purchase documents (Purchase Order; GRPO; Purchase Return; AP Invoice and Credit Memo) and Receipt of Production."
    Thanks & Regards
    Sonil Bhardwaj

    Hi Sonil,
    Can you post your SP , to look if there is any problem with SP ..
    Regards

  • FAGLB03 - cannot display asset no and purchasing document

    When I used FAGLB03 to view balance (G/L account group is "Assets accounts") and drill into details, then I go to change layout and choose asset, purchasing document fields.
    I find that the report cannot diaplay asset no and purchasing document value (all value is empty, but I can see asset no and purchasing at fi doc line item by T-Code FB03).
    Please advice any solution.
    Thanks!
    Edited by: Eric Yang on Jan 30, 2008 11:40 AM

    Hi,
    Thanks for your reply,
    But I can find asset no, purchase order no and Internal order no In T-Code FB03 display document line item for account type "ASSETS ACCOUNTS".
    Beside, I use se11 to query table bseg for fi document, if account type = 'A', I can find asset no in fields ANLN1, ANLN2 and purchasing no in fields EBELN, EBELP.

  • Is the purchase order number and purchase document numer both are same

    is the purchase order number and purchase document numer both are same or different?
    thanks.

    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

  • Contract ID and Purchase Document No in MM

    Guys,
    Please help me to understand if contract ID  and Purchase Document No in MM
    will be the same thing or not.. In a report i need to get Purchase Document No but
    in the datasource i have only contract id.. To my knowledge contract is a document type under purchasing...So contract id should be equal to the purchase document no in that case... is it right???? Please confirm

    Hi,
    well both numbers are stored in the same field. In your source system it is ekko-ebeln. But the document type defines the number to be a purchase order or a contract no. And so it is in BW. The number is stored in the same infoobject, but together with the document type you can identify that number as a purchase order or a contract no.
    Hope that helps!
    kind regards
    Siggi

  • What is the difference between po and purchase document

    Hi experts,
    What is the difference between purchase order and purchase document.
    Are they both same ?
    Regards,
    Nishuv.

    Dear,
    Purchasing document can be RFQ,PO,PR...RFQ...Contratc...etc
    PR is interanl document that can be changed at any given point of time.
    PO is external  legal document and is formal request to vendor for materials.
    External docments are legal documents used for procuremnt/quotation etc.
    Internal documents like PR are for internal use.
    Brgds,
    Ashok

  • Consume Forecast Option in Sales and Purchase Documents

    Hi All,
    We have a drop-down 'Consume Forecast' with options as "Yes" and "No" in Marketing Documents - Row Level. Can anyone please explain how it is used and the relevance and impact of this field?
    Also, in a sales document, it shows as Y by default whereas, in purchase documents, it shows as N.
    Please provide more details on this option and functionality.
    Regards
    Sudatt

    Hi Sudatt,
    Forecasts are used in conjunction with the MRP wizard to generate your stock requirements (buy or make) based on how much you forecast your business is going to sell.
    The option to use Forecasts in MRP is one of the options on the Data Source stage of the MRP wizard. 
    If you go into the General settings / Stock tab / Planning sub tab.  You can tick or untick Consume Forecast.
    Lets say you setup a forecast that says you are going to sell 100 items a month and you've already sold 25 items that month.  If your MRP run has a data source of forecasts and consume forecast is ticked, it would say you only need to buy or make the remaining 75 from the forecast (the other 25 has been consumed by the amount you've already sold that month so you don't need to buy or make them).  If its not ticked, it would add the full 100 to your requirements and it doesn't matter if you've sold 25 of them already or even 99, it will still recommend the full 100.
    There should be some more info in the help file and I think there will be an elearning session covering this in more detail.
    Regards,
    Adrian

  • Building a multiprovider to join Requisition Number and Purchasing Document

    Hi,
    I've built a multiprovider that is made up of two ODS's.  ODS #1 has the Requisition Number and ODS #2 has the Purchasing Document Number along with other info objects that I need for my query.  When I execute my query, the Requistion Number field populates with "#" but all the other fields are fine.  I know requistion numbers exist for these PO's but they are not displaying.  Does anyone know what I'm doing wrong?
    Thank you for your help!

    Hi,
    Check whether the requistion number is filled in the ODS or not. Secondly, check the identification for this by going in the Cube and hitting the "IDENTIFICATION" pushbutton.
    Hope this helps..
    PB

  • FBL1N and Purchasing Document Number - Item

    Hi, my customer want to see the following field ( ebeln and ebelp) in layout of trx FBl1N Vendor line item display.
    Exaclty i take them with Special fields but in the output the fields are no empty.
    I can see them with the value just to see the display document with all line items/positions.
    I d like to know if is possible to see the ebeln and ebelp just in first output of FBL1N without to see the all display document.
    I know  for the output list of FBL1N there is just one row/ line for document's vendor.  we talking about Invoice Vendor borning in MM Module.
    In Sap note talking about the BTE, for example BTE 1650. Is possible to do it?
    Can you help me?
    Thank you.
    Regards.

    Dear:
              For doing so you will have to take ABAPER help and extend structure RFPOS (RFPOSX) for the new field which in your case is PO, after that use program RFPOSXEXTEND to re generate another necessary structures. For filling new field in reports use BTE - 00001650 LINE ITEM DISPLAY: Add to Data per Line. Please check it we have it working here.
    Regards

  • Link between excise and purchase document

    how do you link the excise and GRPO or A/P Invoice in a select query?

    Hi Krishna,
    IF you need the link for Excise and GRPO or A/P Invoice.
    Try the below Links and Query.
    Link the Excise and GRPO
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Link the Excise and A/P Invoice
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPCH T2 ON T2.DocNum = T1.BaseRef
    Try this Query, Link the Excise and GRPO in a Select Query
    SELECT T0.[DocNum], T1.[BaseRef], T2.[DocNum],
    T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[LineTotal]
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Regards,
    Madhan.

  • Goods receipt number and purchase invoice nubember info objects

    hi experts
    i have the requirement to build the report with the  info objects of goods receipt number(document) , purchase invoice numbers and purchase document numbers from standard cubes or ods.i have checked in inventory management and purchasing cubes&ods i am not success got the purchase document number it is from ods   (0PUR_O02)  the InfoObject  is 0OI_EBELN(purchasing document number),like this i want InfoObject  for Goods receipt number and purchase invoices from where can i get these fields.
    if u need any more information i will provide.
    thanks and regards
    Sreenivas.

    Hi Ahamed,
    thanks for your reply,do u have any information about purchase invoice number.
    i need one more help from you, how to find out Debtors turnover ratio from Acceount Receivables(AR) (or)G/L (General ledger account).is there any standard queries from Business content,i was checked and i was failed,if you have any solution for this please let me know.
    thanks and regards
    Sreenivas.

  • Sales docu and purchse docu

    wat r thge madatory fields we need to pass while creating sales document and purchase document by using BDC's or LSMW's..

    thnx subramanian...thnx for ur advice,,,,but...wat d thing is
    i dont have SAP ma system now....
    i want to know d mandatory fields as m preparin for an interview now...
    help me if u can...
    regards,
    ziden.

  • How to save any sales / Purchase Document in draft mode

    Hi to all
    Good morning to all
    Dear friends
    I am having the problem i.e. i wanted to save all the Sales and purchaseing document in the draft mode
    any one can help me out
    with regards
    Gopi

    Hi Gopi,
    When u r preparing any marketing document, go to File -
    > click on Save as a draft.
    If u wannna see the whole documents which u hav saved in draft mode, go to the SALES A/R module -
    >click on Document Draft -
    > select the document according to your sales and purchase modules and click OK.
    This document draft window is same in both module u can use it from Sales A/R or Purchasing A/P module.
    Hopes u get it.
    Rgds
    Yogesh Gaur

  • Add username and purchasing doc field for display in FAGLL03

    Hi,
    How to add fields username and purchasing document to line item display in FAGLL03.
    Note 945932 is a bit unclear on this.
    Can you please clarify.
    Thanks
    Aravind

    Hi,
    I have added the special fields in the transport request as table T021S hasnot got any entries in Quality or PRD system. Once the import is being made, I have followed the instructions in the above note and the problem got resolved.
    Thanks for your inputs
    Aravind

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

Maybe you are looking for

  • HT1688 I updated my IPhone 5 to IOS 7 and after that now it freezes when I try to type anything.

    I got a new IPhone 5 at the end of July and it worked just fine, but when I updated to IOS 7 now it freezes anytime I type something.  I can push the letters on the screen and then about 1 minute later they will display on the screen.  I even updated

  • No mobileme galerie connection in iweb!

    No MobileMe galerie connection in iweb! I know that this service stops at 30. june 2012 but today i like to work with my website like before. Someone have a good solution or knows more? Thanks and greetings from switzerland Stefan

  • Planning time fence and MRP question

    Good morning, We have the following requirement:- 1. We want the Planning time fence to move once a week (by 1 week) 2. If we have a schedule line at the end of the Planning time fence, we want this to   move inside the planning time fence (as per st

  • How to insert my handwritten signature to pdf file

    I'm developing a program to insert the handwitten signature to pdf file. Now I can get the points of my handwitten signature, but how to insert these points to pdf and show as following picture:(Shoud I use the XObject? and how to use it?) Thanks lot

  • Missing Data in the KE5Z report

    Hi Guru, We are using ECC5. I have executed transaction code KE5Z to derive the actual line item for the profit centre. However, the system read heap of transaction and displayed only for one profit centre data. I have also checked whether there is a