SAP Function Modules

WLF_INVC_SEND_CONF_B2B SAP Function module - Send InvoiceConfirmation message







WLF_INVC_SEND_CONF_B2B is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name WLF_INVC_SEND_CONF_B2B into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: WLF_INVC_CONF
Released Date: Not Released
Processing type: Start update immediately (start immed)
update module start immediate settings


Pattern for FM WLF_INVC_SEND_CONF_B2B - WLF INVC SEND CONF B2B





CALL FUNCTION 'WLF_INVC_SEND_CONF_B2B' "Send InvoiceConfirmation message
  EXPORTING
    is_output =                 " ive_e_invoice_confirmation  Invoice confirmation
*   iv_correlation_id =         " bs_soa_rspnsrcvr_corel_id  ResponseReceiverCorrelationID
*   iv_service_group =          " srt_wsp_dt_obj_name  WSP Name of Interface Object
*   iv_recipient_business_system =   " sld_bskey  Key Name of Business System
*   iv_application_id =         " bs_soa_appl_id  Application ID
*   iv_tech_seq_context =       " bs_soa_asyncprx_cntxt  Technical sequencing context - mapped to EOIO or WS-RM seq
*   iv_appl_seq_context =       " bs_soa_inappseq_cntxt  Sequencing Context for Checks on Application level
*   iv_reference_message_id =   " bs_soa_rspnsrcvr_msg_id  Original Message ID of the Sender
*   iv_reconciliation_requested =   " xflag     New Input Values
*   is_rspnsrcvr_cor =          " bssoa_rspnsrcvr_cor_upd  Response Receiver Correlation - Update Structure
  EXCEPTIONS
    ERROR_OCCURRED = 1          "               Error occured during send of confirmation
    .  "  WLF_INVC_SEND_CONF_B2B

ABAP code example for Function Module WLF_INVC_SEND_CONF_B2B





The ABAP code below is a full code listing to execute function module WLF_INVC_SEND_CONF_B2B including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).


DATA(ld_is_output) = 'Check type of data required'.
DATA(ld_iv_correlation_id) = 'Check type of data required'.
DATA(ld_iv_service_group) = 'Check type of data required'.
DATA(ld_iv_recipient_business_system) = 'Check type of data required'.
DATA(ld_iv_application_id) = 'Check type of data required'.
DATA(ld_iv_tech_seq_context) = '123 '.
DATA(ld_iv_appl_seq_context) = 'some text here'.
DATA(ld_iv_reference_message_id) = 'some text here'.
DATA(ld_iv_reconciliation_requested) = 'some text here'.
DATA(ld_is_rspnsrcvr_cor) = 'some text here'. . CALL FUNCTION 'WLF_INVC_SEND_CONF_B2B' EXPORTING is_output = ld_is_output * iv_correlation_id = ld_iv_correlation_id * iv_service_group = ld_iv_service_group * iv_recipient_business_system = ld_iv_recipient_business_system * iv_application_id = ld_iv_application_id * iv_tech_seq_context = ld_iv_tech_seq_context * iv_appl_seq_context = ld_iv_appl_seq_context * iv_reference_message_id = ld_iv_reference_message_id * iv_reconciliation_requested = ld_iv_reconciliation_requested * is_rspnsrcvr_cor = ld_is_rspnsrcvr_cor EXCEPTIONS ERROR_OCCURRED = 1 . " WLF_INVC_SEND_CONF_B2B
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_is_output  TYPE IVE_E_INVOICE_CONFIRMATION ,
ld_iv_correlation_id  TYPE BS_SOA_RSPNSRCVR_COREL_ID ,
ld_iv_service_group  TYPE SRT_WSP_DT_OBJ_NAME ,
ld_iv_recipient_business_system  TYPE SLD_BSKEY ,
ld_iv_application_id  TYPE BS_SOA_APPL_ID ,
ld_iv_tech_seq_context  TYPE BS_SOA_ASYNCPRX_CNTXT ,
ld_iv_appl_seq_context  TYPE BS_SOA_INAPPSEQ_CNTXT ,
ld_iv_reference_message_id  TYPE BS_SOA_RSPNSRCVR_MSG_ID ,
ld_iv_reconciliation_requested  TYPE XFLAG ,
ld_is_rspnsrcvr_cor  TYPE BSSOA_RSPNSRCVR_COR_UPD .

ld_is_output = 'some text here'.
ld_iv_correlation_id = 'some text here'.
ld_iv_service_group = 'some text here'.
ld_iv_recipient_business_system = 'some text here'.
ld_iv_application_id = 'some text here'.
ld_iv_tech_seq_context = '123 '.
ld_iv_appl_seq_context = 'some text here'.
ld_iv_reference_message_id = 'some text here'.
ld_iv_reconciliation_requested = 'some text here'.
ld_is_rspnsrcvr_cor = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name WLF_INVC_SEND_CONF_B2B or its description.