on 09-30-2014 4:15 AM
hi Experts,
today i use service manager to read schedule bo,this schedule bo is a sub business object under the standard bo /SCMTMS/FO_SCHDULE, but when i call get service manger, it dump, and it display it's a unknown BO key, the bo key get by consist class , so i think the bo key is right,
so i think maybe the schedule data is different bt others, could any help me
Hi Shao,
The schedule bo is the same as others.
This is a standard example as below.
mo_service_manager->retrieve_by_association(
EXPORTING
iv_node_key = /scmtms/if_fo_schedule_c=>sc_node-root
it_key = lt_sched_root_key
iv_association = /scmtms/if_fo_schedule_c=>sc_association-root-departure
iv_fill_data = abap_true
IMPORTING
eo_message = lo_message
et_data = lt_sched_dep
et_target_key = lt_sched_dep_key ).
You can refer to the standard method "/SCMTMS/CL_SCH_ADAPTER-READ_SCHEDULES".
Best Regards
Clark Huang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.