Show pageOld revisionsBacklinksBack to top You've loaded an old revision of the document! If you save it, you will create a new version with this data. Media Files====== Repo Example ====== ===== Code snippets ===== <code abap> CHECK sy-uname in /sgd/cl_sd_iop_interface_util=>test_vas_users_group( ). DATA: lf_vas_mandatory TYPE /sgd/sd_de_iop_vas_flag, lf_vas_service_type TYPE fsh_vas_serv-fsh_vas_ser. CALL FUNCTION '/SGD/SD_IOP_INTEGRATION_RULES' EXPORTING if_sales_document_type = vbak-auart if_distribution_channel = vbak-vtweg if_division = vbak-spart if_item_category = vbap-pstyv if_material_number = vbap-matnr IMPORTING ef_vas_mandatory = lf_vas_mandatory ef_vas_service_type = lf_vas_service_type EXCEPTIONS not_relevant = 1 OTHERS = 2. IF sy-subrc = 0. IF lf_vas_mandatory = abap_true. "check i vas is setup already, if not call dialog ivbap[ 1 ]-selkz = abap_true. /sgd/cl_sd_iop_interface_util=>test_vas( is_vbak = vbak is_vbap = vbap if_service_type = lf_vas_service_type it_xvbep = xvbep[] ). ENDIF. IF lf_vas_service_type IS NOT INITIAL. "check vas service value / pre-fill initial value ENDIF. ENDIF. </code> link: [[http://google.pl|External Link]]SavePreviewCancel Edit summary Note: By editing this page you agree to license your content under the following license: CC Attribution-Share Alike 4.0 International public/repo.1671020164.txt.gz Last modified: 2024/01/11 18:57(external edit)