‎2009 Jul 24 8:02 PM
Hi Everyone,
Is there any FM or BAPI to get Purchase requisition details if I have only material number and plant as the input.
Thanks in advance
Kumar..
‎2009 Jul 24 8:27 PM
You can see if FM WLB3_SELECT_PURCHASE_REQ can be of any use to you. It doesn't take in Material number as an input parameter, but it does accept Plant and Purchasing group.
Sorry I can't be of more help but I only found a handful of FM's that could meet your requirements.
Regards,
C
‎2009 Jul 24 8:27 PM
You can see if FM WLB3_SELECT_PURCHASE_REQ can be of any use to you. It doesn't take in Material number as an input parameter, but it does accept Plant and Purchasing group.
Sorry I can't be of more help but I only found a handful of FM's that could meet your requirements.
Regards,
C
‎2009 Jul 27 2:16 PM
I find a lot of FM's which has LIFNR as the input parameter but not one which has MATNR as the input..Can anyone help?
‎2009 Jul 27 2:23 PM
‎2009 Jul 27 2:24 PM
Hi,
You can check these FM:
BAPI_REQUISITION_CREATE
BAPI_PR_CREATE
Thanks.
‎2009 Jul 27 2:25 PM
I do not want to create a requisition but want to get the details of an already existing requisition.
Thanks
Kumar.
‎2009 Jul 27 2:26 PM
Hi,
Why dont you write a select on table 'EBAN' using the vendor and material number. That would give you the requsitions as per your requirment.
Regards,
Himanshu Verma
‎2009 Jul 27 2:30 PM
I do not have the vendor number but just the material number at this stage and I need to get the open quantity on that requisition..So was wondering if there is any FM which can readily do it..If there is none then my only option would be to read EBAN.
Thanks
Kumar.
‎2009 Jul 27 2:42 PM
U may use BAPI_REQUISITION_GETDETAIL or BAPI_REQUISITION_GETITEMS?
Just check it
Cheers,
TNR
‎2009 Jul 27 2:44 PM
‎2009 Jul 27 2:53 PM
Hi Kumar,
Then you can use only in the material in the select and check the field 'BSMNG' in table EBAN that would give you the quantity againts that material in all requsition then if the requsition has not been converted to a PO that is if the EBELN field is blank in the table that should give you the outstanding quantity against that material.
Regards,
Himanshu