‎2005 Nov 30 11:36 AM
HI every one
Now occurs a new things It can not be used as RFC in nonew sap system just like IBM Lotous Notes
that is to say ,in none sapsystem, configuration can not be generate for a salesorder.but it runs well in sap use this function.
I Don't know the reason.
‎2005 Nov 30 11:38 AM
It come out a message "CU 013 CFG_IS_INCONSISTENT_OR_INCOMPLETE"
‎2005 Nov 30 11:42 AM
IF I set order_cfgs_ref-sce = 1.
then will occurs
"SALES_HEADER_IN has been processed successfullyInternal error in communication between configuration and sales doc.CONFIGURATION_PROCESSINGCondition PR01 is not allowed as header condition "
‎2005 Nov 30 8:06 PM
It sounds like you are trying to put an item level condition type in the sales header table. Item conditions need to go in the condition_in table with the ITM_NUMBER set. Give that a try.
‎2005 Dec 01 1:20 AM
NO,I can run it well in abap SE38
So It can not be the problem as you described ,I need a solution to resolve the calling in none-sap system. just like IBM lotous Notes with JCO development.
I Post my codes :
wa_order_cfgs_ref-posex = zwa_order_items_in-po_itm_no.
wa_order_cfgs_ref-config_id = zwa_order_items_in-po_itm_no.
wa_order_cfgs_ref-root_id = '00000001'.
APPEND wa_order_cfgs_ref TO i_order_cfgs_ref.
wa_order_cfgs_inst-config_id = zwa_order_items_in-po_itm_no.
wa_order_cfgs_inst-inst_id = '00000001'.
wa_order_cfgs_inst-obj_type = 'MARA'.
wa_order_cfgs_inst-class_type = '300'.
wa_order_cfgs_inst-obj_key = zwa_order_items_in-material.
APPEND wa_order_cfgs_inst TO i_order_cfgs_inst.
LOOP AT zorder_cfgs_info INTO zwa_order_cfgs_info.
MOVE-CORRESPONDING zwa_order_cfgs_info TO wa_order_cfgs_value.
Transfer inform to outputform
CALL FUNCTION 'CONVERSION_EXIT_ATINN_OUTPUT'
EXPORTING
input = wa_order_cfgs_value-charc
IMPORTING
output = wa_order_cfgs_value-charc.
wa_order_cfgs_value-config_id = zwa_order_cfgs_info-posex.
wa_order_cfgs_value-inst_id = '00000001'.
APPEND wa_order_cfgs_value TO i_order_cfgs_value.
‎2009 Jul 16 9:16 AM