Ansicht
Dokumentation

COD_VOFM - Maintain Requirement Routine

COD_VOFM - Maintain Requirement Routine

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

To carry out the steps below, an appropriate developer key and object key is required.

1. In transaction VOFM, choose Requirements ' Output Control.

2. At the bottom of the displayed table, enter an unused number greater than 600. Assign the application V1 to this newly created line.

3. Mark the newly created line and choose Source text (F5).

4. Within the ABAP editor for kobed_xxx (where xxx is the number you typed in step 2), insert the following code:

FORM kobed_xxx.

* We only trigger the confirmation back to 'Cloud for Customer'

* if the document is complete and if an opportunity document is

* referenced.

IF komkbv1-uvall EQ 'C' AND

cl_cod_oppt_confirmation=>is_relevant( komkbv1 ) = abap_true.

sy-subrc = 0.

ELSE.

sy-subrc = 4.

ENDIF.

ENDFORM.

FORM kobed_yyy.

* We only trigger the confirmation back to 'CRM on Demand'

* if a service request document is referenced

IF cl_cod_srv_rqst_confirmation=>is_relevant( komkbv1 ) = abap_true.

sy-subrc = 0.

ELSE.

sy-subrc = 4.

ENDIF.

ENDFORM.

5. Save and activate the coding.

6. Go back to the list of requirement routines.

7. Mark your new routine and choose Edit -> Activate.






rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2305 Date: 20240523 Time: 181705     sap01-206 ( 23 ms )