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_requisition_change

Former Member
0 Likes
609

I tried for function module BAPI_REQUISITION_CHANGE. When i give purchase requisition number as a input it gives me message that "This Purchase Requisition number xx does not exist" I dont know what I am doing wrong.

3 REPLIES 3
Read only

venkateswaran_k
Active Contributor
0 Likes
560

Hi

Before passing the Purchase requisition number, use the

     CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

      EXPORTING

        INPUT         = your pr number variable

     IMPORTING

      OUTPUT        = your pr number variable.

Then pass this variable as input..

Regards,

Venkat

Read only

former_member188827
Active Contributor
0 Likes
560

Try giving leading '0' before PR number. If PR number which you are using is less than 10 characters, then add '0's before PR number so that total length is 10.

Regards

Read only

Former Member
0 Likes
560

Hi Ashwini,

Check the PR number in eban table, if it is available then use conversion routine before passing it to bapi, you have an conversion routine for PR.