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

RFC - release code

Former Member
0 Likes
696

Is there a standard RFC that can fetch the release code of a PO.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
585

Try these -

CSBD_PROPOSE_RELEASED_DOCUMENT

TH_POPUP_RELEASE_INFO

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
585

Hi

use the Fun module

ME_RELEASE_PURCHASE_DOCUMENT

pass the Po number

will give you the release code for PO

see the sample code

CALL FUNCTION 'ME_RELEASE_PURCHASE_DOCUMENT'

EXPORTING

i_ebeln = object-key-purchaseorder

i_bstyp = 'F'

i_frgco = releasecode

EXCEPTIONS

OTHERS = 1.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

0 Likes
585

'ME_RELEASE_PURCHASE_DOCUMENT' does not exist in 46C