cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Executing ME54N

Former Member
0 Likes
2,091

Dear Experts

Instead of using the method RELEASE in the object BUS2105 "Purchase Requisition" I need to execute the TCode ME54N and pass the PR number to it

And if you could till me where does the administrator assign the release code to the user

Thanks

waiting for your advice

Best Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

use the object method BUS2105.SingleRelease instead of .Release. This brings you to transaction ME54N.

There's a standard task existing, which you could use: TS20000159 (don't forget to configure the task as "general task" under the agent assignment, before using).

Best wishes,

Florin

Answers (3)

Answers (3)

Former Member
0 Likes

Hi

As said before , you can use WS00000038(BUS2009) which has methods to release the PR.

or u can delegate BUS2009 with a new method by selecting TRANSACTION in ABAP tab and Name = ME54.

following code will be generated

SET PARAMETER ID 'BAN' FIELD OBJECT-KEY-NUMBER.

SET PARAMETER ID 'BAP ' FIELD OBJECT-KEY-Item.

CALL TRANSACTION 'ME54' AND SKIP FIRST SCREEN.

if BUS2105, apply the same, but Item number has to be passed exclusivly

following code will be generated

SET PARAMETER ID 'BAN' FIELD OBJECT-KEY-NUMBER.

SET PARAMETER ID 'BFC ' FIELD PR-Item.

CALL TRANSACTION 'ME54' AND SKIP FIRST SCREEN.

for connecting the User and relaese code , based on ur requirement go for one of these.

SPRO->Material Management->Purchase->Purchase Requsition->Release Procedure->Set up proc with classification

SPRO->Material Management->Purchase->Purchase Requsition->Release Procedure->procedure with classificatiion ->set up procedure with classification

former_member184495
Active Contributor
0 Likes

Hi SS,

could you make you requirement more clear.

Because generally SAP would by default take you to ME54N.

Aditya

Former Member
0 Likes

I think the release code you can obtain using the standard Workflow WS00000038. The user who is responsible for release can be obtained from standard Rule 148 which you can check in Tcode PFAC_DIS.

Thanks

Arghadip