2010 Jul 06 8:50 AM
Hi
In the service order once the network and activity is referred in the additional data , system should fill the settlment rule automatically to NWA with network activity number and to 100% , ,Using the user exit EXIT_SAPLCOI1_027 , the following code
suppose to fill the settlment rule automatically as order is released and the logic is not been pushed to the COBRB table where the (receiver)settlment rules of the corresponding object is getting stored.
l_objecttype = 'FUNC'.
l_objectname = 'EXIT_SAPLCOI1_027'.
l_paramname = 'DEFAULT_SETTLEMENT_RULE_NWA'.
l_paramvalue1 = caufvd_imp-auart.
CALL FUNCTION 'XXX_XXXXX_XXXX_READ'
EXPORTING
i_objecttype = l_objecttype
i_objectname = l_objectname
i_paramname = l_paramname
i_paramvalue1 = l_paramvalue1
TABLES
e_parameter = lt_parameter
EXCEPTIONS
parameter_value_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
pmdfu_tab-konty = 'NWA'.
concatenate caufvd_imp-aufnt ' ' caufvd_imp-aufpt into w_data.
pmdfu_tab-fdind = w_data.
pmdfu_tab-perbz = 'GES'.
pmdfu_tab-prozs = '100'.
append pmdfu_tab
endif
---
To push the settlement rules - Is the above logic to be followed by EXIT_SAPLKOBS_001 or K_SETTLEMENT_RULE_FILL & else?
Please help in to get the functionality
Thanks
PP
Hi
In the service order once the network and activity is referred in the additional data , system should fill the settlment rule automatically to NWA with network activity number and to 100% , ,Using the user exit EXIT_SAPLCOI1_027 , the following code
suppose to fill the settlment rule automatically as order is released and the logic is not been pushed to the COBRB table where the (receiver)settlment rules of the corresponding object is getting stored.
l_objecttype = 'FUNC'.
l_objectname = 'EXIT_SAPLCOI1_027'.
l_paramname = 'DEFAULT_SETTLEMENT_RULE_NWA'.
l_paramvalue1 = caufvd_imp-auart.
CALL FUNCTION 'XXX_XXXXX_XXXX_READ'
EXPORTING
i_objecttype = l_objecttype
i_objectname = l_objectname
i_paramname = l_paramname
i_paramvalue1 = l_paramvalue1
TABLES
e_parameter = lt_parameter
EXCEPTIONS
parameter_value_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
pmdfu_tab-konty = 'NWA'.
concatenate caufvd_imp-aufnt ' ' caufvd_imp-aufpt into w_data.
pmdfu_tab-fdind = w_data.
pmdfu_tab-perbz = 'GES'.
pmdfu_tab-prozs = '100'.
append pmdfu_tab
endif
---
To push the settlement rules - Is the above logic to be followed by EXIT_SAPLKOBS_001 or K_SETTLEMENT_RULE_FILL & else?
Please help in to get the functionality
Thanks
PP
2010 Jul 12 8:36 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |