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 for promotion creation

Former Member
0 Likes
1,138

Hello,

I want to create a schedule Agreement (promotion)in in T-Code - VA31. Basically table kona.

Please tell me whether i can use a BAPI for the same and which BAPI also .

Thanks And Regards,

Yogesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
870

Any help?

4 REPLIES 4
Read only

Former Member
0 Likes
871

Any help?

Read only

0 Likes
870

Hi Yogesh, <li>Try this BAPI_PROMO_CREATE function module Thanks Venkat.O

Read only

0 Likes
870

Hi Venkat,

I have already tried this bapi. But it is not working for kona.

Any other suggestion please.

Read only

0 Likes
870

Hi All,

1. Create the notification with BAPI_ALM_NOTIF_CREATE

2. Save the notification with BAPI_ALM_NOTIF_SAVE

3. Do a BAPI_TRANSACTION_COMMIT

I am usinjg above three BAPIs in sequence for creating notification. But after execution of first bapi, in NOTIFHEADER_EXPORT, i am getting notif_no = 00000000001.

If i pass this number to next save bapi. It is giving notifcation number in that save bapi's return structure. Is it correct to pass always 00000000001 to save bapi.

Is there any other way to generate proper notif_no in first create bapi?