GET_NEXT_MESSAGE_NUMBER SAP Method Determine the next message number and reconciliation period









Below is documentation, parameters and attributes of ABAP Method GET_NEXT_MESSAGE_NUMBER within SAP class CL_BS_SOA_INAPPSEQ_OUT. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_BS_SOA_INAPPSEQ_OUT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET_NEXT_MESSAGE_NUMBER can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_NEXT_MESSAGE_NUMBER

.

NameTypeData TypeDescriptionDefault Value
IR_PROXYImportingTYPE REF TO
CL_PROXY_CLIENT
Base clas for consumer proxies
IV_APPL_MESSAGE_IDImportingTYPE
BS_SOA_INAPPSEQ_MSG_ID
Message ID within the Business Document Message Header
IV_OBJ_TYPEImportingTYPE
/SAPPO/DTE_OBJTYPE
Object Type
IV_RECIPIENT_BUSINESS_SYSTEMImportingTYPE
SLD_BSKEY
Key Name of Business System
IV_RECONCILIATION_REQUESTEDImportingTYPE
BSSOA_INAPPSEQ_RECON_IND
InApplication Sequencing: Reconciliation is Requested
IV_SEQUENCING_CONTEXTImportingTYPE
BS_SOA_INAPPSEQ_CNTXT
Sequencing Context for Checks on Application level
EV_MESSAGE_NUMBERExportingTYPE
BS_SOA_INAPPSEQ_MESSAGE_NMBR
Sequencing Information: Message Counter
EV_RECONCILIATION_PERIODExportingTYPE
BS_SOA_INAPPSEQ_RECON_PER
Sequencing Information: Reconciliation Period Counter



Exceptions of Method GET_NEXT_MESSAGE_NUMBER

CX_BS_SOA_EXCEPTION - Error message occurred

Example ABAP coding


DATA: lv_EV_MESSAGE_NUMBER TYPE BS_SOA_INAPPSEQ_MESSAGE_NMBR,
lv_EV_RECONCILIATION_PERIOD TYPE BS_SOA_INAPPSEQ_RECON_PER,
lv_IR_PROXY TYPE CL_PROXY_CLIENT,
lv_IV_APPL_MESSAGE_ID TYPE BS_SOA_INAPPSEQ_MSG_ID,
lv_IV_OBJ_TYPE TYPE /SAPPO/DTE_OBJTYPE,
lv_IV_RECIPIENT_BUSINESS_SYSTEM TYPE SLD_BSKEY,
lv_IV_RECONCILIATION_REQUESTED TYPE BSSOA_INAPPSEQ_RECON_IND,
lv_IV_SEQUENCING_CONTEXT TYPE BS_SOA_INAPPSEQ_CNTXT,
lv_other TYPE c.

CALL METHOD CL_BS_SOA_INAPPSEQ_OUT=>GET_NEXT_MESSAGE_NUMBER(
EXPORTING
IR_PROXY = lv_IR_PROXY
IV_APPL_MESSAGE_ID = lv_IV_APPL_MESSAGE_ID
IV_OBJ_TYPE = lv_IV_OBJ_TYPE
IV_RECIPIENT_BUSINESS_SYSTEM = lv_IV_RECIPIENT_BUSINESS_SYSTEM
IV_RECONCILIATION_REQUESTED = lv_IV_RECONCILIATION_REQUESTED
IV_SEQUENCING_CONTEXT = lv_IV_SEQUENCING_CONTEXT
IMPORTING
EV_MESSAGE_NUMBER = lv_EV_MESSAGE_NUMBER
EV_RECONCILIATION_PERIOD = lv_EV_RECONCILIATION_PERIOD ).

Links to Related Class(s)

CL_BS_SO...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!