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

account assignment while creating reservation using bapi

Former Member
0 Likes
611

Hi , I am creating reservation using BAPI (BAPI_RESERVATION_CREATE1), but when I seeing the open reservation account assignment field is blank, could any on ehelp me on this, i.e what parameter I am missing in BAPI for account assignment.

best regards

pankaj

3 REPLIES 3
Read only

Former Member
0 Likes
532

Hi expert,

I found one sap note (1288002) about this problem, but it's not work to aplication area MM-IM-RS.

Did you solve this problem?!!

Please, i wait for your reply.

Regards,

Tagory

Read only

Former Member
0 Likes
532

Hi,

there is not field to assign the account assignment in Bapi..

you need to assignt he account manaually.

  • Assign account assignment category.

SELECT * FROM eban INTO TABLE lt_eban WHERE banfn = w_banfn .

IF sy-subrc = 0.

LOOP AT lt_eban .

lt_eban-knttp = 'J'. "assign your own account categeory

MODIFY eban FROM lt_eban.

COMMIT WORK AND WAIT.

ENDLOOP.

endif.

Regards,

Prabhudas

Read only

Former Member
0 Likes
532

solved