cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating in transit order in APO using BAPI BAPI_SLSRVAPS_SAVEMULTI

Former Member
0 Kudos

Hi Experts,

I am trying to create In transit order using a flat file in APO using 'BAPI_SLSRVAPS_SAVEMULTI'. I am using logical system as corresponding R/3 system, Order type as 'B - Delivery/In Transit', ATP Category as either ZB or AH.

In the return table of BAPI I get following error -- 'Catagory ZB is not defined for catagory type 2 or R/3 object'

Can you please suggest the remedy as I am able to create sales order, stock goods reciept etc using this BAPI but using above mentioned category it gives error.

Thanks in advance.

Best Regards,

Chandan Dubey

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandan,

Did you try the FM BAPI_SLSRVAPS_CREATEINTRANS? I don't have experience with it but...Ramana was creating some intransit orders. See his [post|;.

Answers (1)

Answers (1)

Former Member
0 Kudos

Intransits are created using BAPI 'BAPI_MOSRVAPS_SAVEMULTI3'. Refer below parameters that are required to be passed to BAPI.

CALL FUNCTION 'BAPI_MOSRVAPS_SAVEMULTI3'

EXPORTING

logical_system = v_r3_sys

order_type = c_order_type

ext_number_assignment = c_x

check_source_existence = ' '

commit_control = c_commit_ctrl

plng_version = c_version

planning_mode_usage = c_plan_mode_usage

TABLES

order_head = lit_ordhead

order_head_x = lit_ord_headx

return = lit_ret.