Application Development 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: 

account assignment while creating reservation using bapi

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

solved