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

Creating service PO using BAPI - Created PO doesnot exist!!!

Shwetha58shetty
Explorer
0 Likes
1,455

Hi,

I am creating service PO using BAPI_PO_create. BAPI returns a PO number at the completion of excution. But when i check in ME23N Po does not exist. Niether does it Exist in EKKO/EKPO tables.

also there is a structure BAPIESKLC in this BAPI. Though i know htis a link for account assignment i am not very clear on the fields. Specially the percenatge field.

Can someone guid me on This?

Thanks on advance,

Shwetha

Hi,

Please use bapi_transaction_commit after the bapi_po_create.

Also, Check the return ytable form bapi_po_create.Are you getting any errors.

11 REPLIES 11
Read only

Former Member
0 Likes
1,405

Hi,

Please use bapi_transaction_commit after the bapi_po_create.

Also, Check the return ytable form bapi_po_create.Are you getting any errors.

Read only

0 Likes
1,405

I am Using transaction commit. BAPI_PO_create return says Standard PO 45000000241 is created. BAPI_Transaction_commit is also executed succesfully. But when i check ME23N for PO 45000000241 It does not exist.

Read only

0 Likes
1,405

Please do check if there are any dumps in the system, after the commit work command.

For this, you should check transaction code ST22.

Any dumps ?

Edited by: Lior Tabib on Jul 13, 2011 9:35 AM

Edited by: Lior Tabib on Jul 13, 2011 9:35 AM

Read only

0 Likes
1,405

I did check ST22 as well. I donot find any dumps. I doubt on the data input. Can you please guide me on what values to be passed to structure BAPIESKLC and why?

Thanks in Advance!!

Read only

0 Likes
1,405

Hi Shweta,

I w ill suggest you to try testing the bapi with same data from SE37.

See if your doc gets posted.

Read only

0 Likes
1,405

I am facing this issue while testing in SE37 itself.

Regards,

Shwetha

Read only

0 Likes
1,405

Hi,

so you are using a tests sequence from se37->function module(menu)->testing->test sequence , to execute it along with bapi_transaction_commit.?

Read only

0 Likes
1,405

Yes.. exactly

Read only

0 Likes
1,405

Hi Shwetha,

Try with bapi_po_create1.Post if still issue is there.

Regards,

Madhu.

Read only

0 Likes
1,405

Self resolved

Read only

0 Likes
1,405

Hi, Can you explain the problem resolution; Perhaps it could benefit other folks.

- Murugesh