on 08-26-2014 6:55 AM
Hi
We are in a Classic Scenario environment and the requirement is for a certain type of material to create Reservations in the backend with a different Movement Type. Let’s say we have we need two movement type 201 for cost center and 241 for asset
I have assigned this value (241) for the movement type and set it up as default but it didn’t work, the reservation was still created with 201.
how can i manage two movement type in creating reservation
Regards
Elham
Hello,
What SRM version are you using? Are you using PI?
BADI BBP_CREATE_BE_RS_NEW can be used for this requirement.
Pseudo-logic:
1. Read IS_SC_DOCUMENT-ACCOUNT.
2. Write necessary movement type to CS_RS1_DOCUMENT-MOVEMENT.
Let me know if this helps or solves your issue.
Regards,
Justine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we implement BAdi BBP_CREATE_BE_RS_NEW
but the system also want to creating asset with movement type 201
can u send me the sample of badi for reserve
is my badi confiq ok?
method IF_EX_BBP_CREATE_BE_RS_NEW~FILL_RS_INTERFACE1.
data : account type line of BBPT_PDEXT_ACC.
loop at IS_SC_DOCUMENT-ACCOUNT into ACCOUNT.
if account-ACC_CAT = 'CC'.
CS_RS1_DOCUMENT-IS_RS_HEADER-MOVE_TYPE = '201'.
elseif account-ACC_CAT = 'AS'.
CS_RS1_DOCUMENT-IS_RS_HEADER-MOVE_TYPE = '241'.
endif.
endloop.
endmethod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.