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_CREATE

Former Member
0 Likes
873

Hello,

I'm trying use BAPI_REQUISITION_CREATE to create PR with service lines. I've followed the steps as recommended by the OSS note, 420331.

The PR was created successfully however, no service lines were assigned. Can someone help me review if I've missed out something? Thanks

Please refer to the values that I've input

REQUISITION_ITEMS

PREQ_NO

PREQ_ITEM 00001

DOC_TYPE NBSE

PUR_GROUP 204

SHORT_TEXT SERVICE

PLANT 2611

MAT_GRP 1401

QUANTITY 1.000

UNIT HR

DEL_DATCAT 1

DELIV_DATE 2006-01-10

PRICE_UNIT 1

ITEM_CAT 9

ACCTASSCAT K

REQUISITION_ACCOUNT_ASSIGNMENT

PREQ_NO

PREQ_ITEM 00001

SERIAL_NO 01

PREQ_QTY 0.000

DISTR_PERC 0.0

G_L_ACCT

BUS_AREA

COST_CTR 2600021601

REQUISITION_SERVICES

(Master Line)

PCKG_NO 0000000001

LINE_NO 0000000001

EXT_LINE 0000000000

OUTL_LEVEL 0

OUTL_NO

OUTL_IND

SUBPCKG_NO 0000000002

(Service Line)

PCKG_NO 0000000002

LINE_NO 0000000002

EXT_LINE 0000000001

OUTL_LEVEL 0

OUTL_NO

OUTL_IND

SUBPCKG_NO 0000000000

SERVICE 1000030

QUANTITY 1.000

BASE_UOM

PRICE_UNIT 0

GR_PRICE 10.0000

REQUISITION_SRV_ACCASS_VALUES

PCKG_NO 0000000002

LINE_NO 0000000002

SERNO_LINE 01

PERCENTAGE 100.0

SERIAL_NO 01

QUANTITY 0.000

NET_VALUE 0.00

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

Use BAPI_TRANSACTION_COMMIT. after the BAPI CALL and check..

regards

vijay

5 REPLIES 5
Read only

Former Member
0 Likes
765

Use BAPI_TRANSACTION_COMMIT. after the BAPI CALL and check..

regards

vijay

Read only

0 Likes
763

i'm running directly from se37. is it possible to run the bapi_transaction_commit? The PR was created. just that the service lines do not appear.

Read only

0 Likes
763

ok, i thought you are doing this in coding..

Read only

0 Likes
763

You can create a test sequence in SE37 to execute the two FM in sequence. Follow path SE37 -> Test -> Test Sequence.

Regards,

Gajendra Bhatt

Read only

Former Member
0 Likes
763

Hi Gladys Wei Ping,

Myself too facing the same issue.

Eventhough the PR is created successfully, the service lines are not updated.

Please help me to solve the issue......

Can you help me if you have solved it?

thanks

Suganya