Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPi for PR create

Former Member
0 Likes
2,381

Dear Experts ,

I am searching the BAPi for purchase requisition create for enjoy transaction ( ME51N ) . I have found the BAPi "BAPI_PR_CREATE" .

But I am using it at SAP ECC 4.6 so here it is giving error that BAPi doesn't exist .

Suggest me.........

Thanks

Alok

5 REPLIES 5
Read only

Former Member
0 Likes
1,316

Hi Alok,

I think BAPI_PR_CREATE is not available in SAP 4.6...You can check BAPI_REQUISITION_CREATE (not sure whether this BAPI exist in 4.6 version).

Also, you can directly go to "BAPI" transaction code and check in MM --> Purchasing if any BAPI is available for PR.

Regards,

Saba

Edited by: Saba Sayed on Feb 16, 2011 4:17 PM

Read only

0 Likes
1,316

Hi Saba ,

Thanks for the reply ..

I have used the BAPI_REQUISITION_CREATE but it is not for the enjoy transaction and it is not fulfilling my requirement.

Is there any other solution ?

Thanks

Alok

Read only

0 Likes
1,316

You don't have any other solution, enjoy purchasing transactions were "fresh released" in 46c, the BAPI for purchase order was delivered but not released, and the BAPI for requisition was not delivered (only released in 640). (check notes like [Note 217437 - ME21N/ME51N: Batch input and CATT not possible|https://service.sap.com/sap/support/notes/217437])

What behavior/result could you not manage to get with the old BAPI_REQUISITION_CREATE (released in 40A) ?

(Also extended maintenance of 46c has been reported til March 2013, but one day they will stop it...)

Regards,

Raymond

Read only

0 Likes
1,316

Hi Alok,

I do not think that there is any BAPI to support enjoy PR transactions. I checked SAP note and found one note for PR BAPIs (SAP note - 499627).

Please check link below:

https://service.sap.com/sap/support/notes/499627

1. Question:

Can I use BAPI_REQUISITION_CREATE to set the fixed indicator?

Answer:

You cannot use the BAPI BAPI_REQUISITION_CREATE to set the fixed indicator.

When the BAPI BAPI_REQUISITION_CHANGE is used to make changes, the system sets the fixed indicator automatically only if the purchase requisition originates from requirements planning.

For more information, refer to Note 330206.

-


1. Question:

Can the BAPIs of the purchase requisition with the "CreateFromData1" and "Change" methods cover all of the functions of the EnjoySAP purchase requisition (transactions ME51N and ME52N)?

Answer:

The function modules BAPI_REQUISITION_CREATE and BAPI_REQUISITION_CHANGE do not cover all of the functions of the EnjoySAP purchase requisition transactions. This is because the two asynchronous BAPIs have been developed based on ME51 and ME52 (program SAPMM06B). The user exits from the function group MEREQ (for example, MEREQ001) are therefore not available.

In SAP R/3 Release 4.70, two new API methods are developed that are based on the EnjoySAP technology of the purchase requisition transactions ME51N and ME52N. The function modules BAPI_PR_CREATE and BAPI_PR_CHANGE are released in Release 6.00 (ERP2005).

SAP does not provide support for this because these function modules have not been released for Releases lower than 6.00. If you use these BAPIs in customer-defined programs, you must bear in mind that you are responsible for any problems that might occur. In addition, you must read Notes 109533 and 415983.

A downport to a release lower than 4.70 is not provided because developing this would involve considerable time and effort.

-


1. Question:

Can BAPI_REQUISITION_CHANGE process the customer enhancements ExtensionIn?

Answer:

See Note 584902.

-


1. Question:

Can service items be created using BAPI_REQUISITION_CREATE or changed using BAPI_REQUISITION_CHANGE?

Answer:

No, this is only possible with the new API functions for the object BUS2105. See the following point.

Hope that helps!

Regards,

Saba

Edited by: Saba Sayed on Feb 17, 2011 5:40 PM

Read only

Former Member
0 Likes
1,316

Hi Alok,

BAPI_REQUISITION_CREATE is there, try it out.

Thanks,

Anmol.