SET_BLOCK_0_REG_0200_ALL SAP Method Fill Block 0 Registers: 0200_ALL









Below is documentation, parameters and attributes of ABAP Method SET_BLOCK_0_REG_0200_ALL within SAP class IF_EX_BADI_J_1BEFD. 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 IF_EX_BADI_J_1BEFD into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method SET_BLOCK_0_REG_0200_ALL

.

NameTypeData TypeDescriptionDefault Value
I_COD_ITEMImportingTYPE
MATNR
Material Number
I_DOCNUMImportingTYPE
J_1BNFNUM9
Nine-Digit NF-e Number
I_NFDOCNUMImportingTYPE
J_1BDOCNUM
Document Number
I_WERKSImportingTYPE
WERKS_D
Plant
I_ITMNUMImportingTYPE
J_1BITMNUM
Material Number
CS_0200ChangingTYPE
J_1BEFDS_0_2_0200
EFD: Item Identification Table (Products and Services)
C_FILLED_BY_BADIChangingTYPE
CHAR1
Single-Character Indicator



Exceptions of Method SET_BLOCK_0_REG_0200_ALL

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_J_1BEFD.
DATA: lv_CS_0200 TYPE J_1BEFDS_0_2_0200,
lv_C_FILLED_BY_BADI TYPE CHAR1,
lv_I_COD_ITEM TYPE MATNR,
lv_I_DOCNUM TYPE J_1BNFNUM9,
lv_I_NFDOCNUM TYPE J_1BDOCNUM,
lv_I_WERKS TYPE WERKS_D,
lv_I_ITMNUM TYPE J_1BITMNUM,
lv_other TYPE c.

CALL METHOD lo_class=>SET_BLOCK_0_REG_0200_ALL(
EXPORTING
I_COD_ITEM = lv_I_COD_ITEM
I_DOCNUM = lv_I_DOCNUM
I_NFDOCNUM = lv_I_NFDOCNUM
I_WERKS = lv_I_WERKS
I_ITMNUM = lv_I_ITMNUM
CHANGING
CS_0200 = lv_CS_0200
C_FILLED_BY_BADI = lv_C_FILLED_BY_BADI ).

Links to Related Class(s)

IF_EX_BA...
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!