SAP Function Modules

ISP_BUFFER_VAUSGB SAP Function module - IS-M/SD: Read Issue in Buffer







ISP_BUFFER_VAUSGB 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 ISP_BUFFER_VAUSGB into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JD06
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISP_BUFFER_VAUSGB - ISP BUFFER VAUSGB





CALL FUNCTION 'ISP_BUFFER_VAUSGB' "IS-M/SD: Read Issue in Buffer
* EXPORTING
*   in_datum =                  " jdtvausgb-erschdat
*   in_drerz =                  " jdtvausgb-drerz
*   in_pva =                    " jdtvausgb-pva
*   in_vausgbnr =               " jdtvausgb-vausgb
*   in_werk =                   " jdtvawerk-drkei
  IMPORTING
    out_vausgb =                " jdtvausgb
    out_vawerk =                " jdtvawerk
  EXCEPTIONS
    NO_VAUSGB_FOUND = 1         "
    WRONG_INPUT = 2             "
    .  "  ISP_BUFFER_VAUSGB

ABAP code example for Function Module ISP_BUFFER_VAUSGB





The ABAP code below is a full code listing to execute function module ISP_BUFFER_VAUSGB 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_out_vausgb  TYPE JDTVAUSGB ,
ld_out_vawerk  TYPE JDTVAWERK .


SELECT single ERSCHDAT
FROM JDTVAUSGB
INTO @DATA(ld_in_datum).


SELECT single DRERZ
FROM JDTVAUSGB
INTO @DATA(ld_in_drerz).


SELECT single PVA
FROM JDTVAUSGB
INTO @DATA(ld_in_pva).


SELECT single VAUSGB
FROM JDTVAUSGB
INTO @DATA(ld_in_vausgbnr).


SELECT single DRKEI
FROM JDTVAWERK
INTO @DATA(ld_in_werk).
. CALL FUNCTION 'ISP_BUFFER_VAUSGB' * EXPORTING * in_datum = ld_in_datum * in_drerz = ld_in_drerz * in_pva = ld_in_pva * in_vausgbnr = ld_in_vausgbnr * in_werk = ld_in_werk IMPORTING out_vausgb = ld_out_vausgb out_vawerk = ld_out_vawerk EXCEPTIONS NO_VAUSGB_FOUND = 1 WRONG_INPUT = 2 . " ISP_BUFFER_VAUSGB
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "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_out_vausgb  TYPE JDTVAUSGB ,
ld_in_datum  TYPE JDTVAUSGB-ERSCHDAT ,
ld_out_vawerk  TYPE JDTVAWERK ,
ld_in_drerz  TYPE JDTVAUSGB-DRERZ ,
ld_in_pva  TYPE JDTVAUSGB-PVA ,
ld_in_vausgbnr  TYPE JDTVAUSGB-VAUSGB ,
ld_in_werk  TYPE JDTVAWERK-DRKEI .


SELECT single ERSCHDAT
FROM JDTVAUSGB
INTO ld_in_datum.


SELECT single DRERZ
FROM JDTVAUSGB
INTO ld_in_drerz.


SELECT single PVA
FROM JDTVAUSGB
INTO ld_in_pva.


SELECT single VAUSGB
FROM JDTVAUSGB
INTO ld_in_vausgbnr.


SELECT single DRKEI
FROM JDTVAWERK
INTO ld_in_werk.

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 ISP_BUFFER_VAUSGB or its description.