on 01-31-2014 11:21 AM
Hi SAP Experts,
I would like to ask for your inputs on the issue I'm currently having.
Here's the scenario:
When I create orders using /SAPAPO/RRP3, it is automatically transferred to the ECC system and changed the order number with a new one.
However, when I create orders using BAPI_MOSRVAPS_SAVEMULTI3, it creates the orders in APO but these orders are not transferred to ECC.
Can you give me your thoughts on this issue?
Thank you,
Jo Seczar
Hi Jo.
As a default behavior, the BAPI does not create transfer events for the orders. If you want them to be transferred, please, make sure that importing parameter EVENT_CONTROL is set to 1 when calling the BAPI.
Regards,
Tiago
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Tiago for your input.
I have added the importing parameter EVENT_CONTROL with a value 1, however the planned orders are still not transferred.
In /SAPAPO/CCR, it return message 153, saying the order only exists in APO.
Here's what I input on the BAPI:
CALL FUNCTION 'BAPI_MOSRVAPS_SAVEMULTI3'
EXPORTING
logical_system = logsys
order_type = ordtype
ext_number_assignment = space
commit_control = c_commit3
plng_version = plvers
check_source_existence = checkppm
event_control = '1'
TABLES
order_head = ordhead
order_head_x = ordheadx
cfg_headers = cfg_headers
cfg_instances = cfg_instances
cfg_values = cfg_values
mapping_data = i_mapping_data
extension_in = extension_in
return = return_tmp.
Thank you for your help.
Jo
Hi Jo Seczar,
Are you able to CIF manually created (without BApi) orders to ECC-R/3?
Please check APO-CIF distribution criteria must be set correctly, so that events can be transferred to an (R/3) system.
Active integration model should be there for Order.
Also valid source of supply should be there in order.
Note also that it is very important to use the correct logical source system (field LOGICAL_SYSTEM) that other logical systems events are sent to.The logical system specified must be in the same SAP system group as the R/3 System.
In APO Customizing transaction /sapapo/rrpcust1, Transfer to R/3 In-House Production- Always Create transfer Event.
Also check the CIF queues if any?
Regards,
R.Brahmankar
Hi Rupesh,
Thank you for responding.
Yes I can be able to CIF manually created orders to ECC-R/3.
Logical system I provided in the BAPI is also the APO system.
Transfer to R/3 in-house production is also set to "Always Create Transfer Event".
There are no enteries in the CIF queues.
I observed the behavior of the issue, may it can lead to something:
Thanks,
Jo
Hi Rupesh,
I revisted my code and it is now working.
I indicated a wrong commit_control. changed it to 'E' with event_control = '1' and my problem is now solved thanks to you!
Here's my code, might be helpful to some who'll encounter same issue:
CALL FUNCTION 'BAPI_MOSRVAPS_SAVEMULTI3'
EXPORTING
logical_system = logsys
order_type = '5'
ext_number_assignment = space
commit_control = 'E'
plng_version = plvers
check_source_existence = checkppm
event_control = '1'
TABLES
order_head = ordhead
mapping_data = i_mapping_data
return = return_tmp.
Cheers,
Jo
Hi,
Check the table /sapapo/dmcp whether you can able to see the new planned order entries , if so push these orders through the transaction /sapapo/c5.
BR
Thamizh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.