Problem solve Get help with specific problems with your technologies, process and projects.

Suppressing messages using the call function

You can suppress information messages if you call a function module by adding this parameter.

You can suppress information messages if you call a function module by adding this parameter: ERROR_MESSAGE. Example:...

 

CALL FUNCTION 'L_TO_CREATE_SINGLE'
         EXPORTING
              I_LGNUM               = MLGN-LGNUM
              I_BWLVS               = '103'
              I_BETYP               = 'F'
              I_BENUM               = H_AUFNR+2(10)
              I_MATNR               = MLGN-MATNR
              I_WERKS               = 'BV01'
              I_LGORT               = AFPO-LGORT
              I_CHARG               = AFPO-CHARG
*             I_BESTQ               = ' '
*             I_SOBKZ               = ' '
*             I_SONUM               = ' '
              I_LETYP               = MLGN-LETY1
              I_ANFME               = ZTOTAL
              I_ALTME               = MARA-MEINS
*             I_WDATU               = INIT_DATUM
*             I_VFDAT               = INIT_DATUM
*             I_ZEUGN               = ' '
              I_LZNUM               = H_AUFNR
*             I_SQUIT               = ' '
*             I_NIDRU               = ' '
*             I_DRUKZ               = ' '
*             I_LDEST               = ' '
*             I_WEMPF               = ' '
*             I_ABLAD               = ' '
              I_VLTYP               = '901'
*             I_VLBER               = ' '
              I_VLPLA               = AFPO-AUFNR+2(10)
              I_VPPOS               = ' '
*             I_VLENR               = ' '
*             I_VLQNR               = ' '
*             I_NLTYP               = ' '
*             I_NLBER               = ' '
*             I_NLPLA               = ' '
*             I_NPPOS               = ' '
              I_NLENR               = ' '
*             I_NLQNR               = ' '
*             I_RLTYP               = ' '
*             I_RLBER               = ' '
*             I_RLPLA               = ' '
*             I_RLQNR               = ' '
              I_UPDATE_TASK         = ' '
              I_COMMIT_WORK         = 'X'
              I_BNAME               = SY-UNAME
              I_KOMPL               = 'X'
*             I_SOLEX               = 0
*             I_PERNR               = 0
*             I_AUSFB               = ' '
*        IMPORTING
              E_TANUM               = H_TANUM
              E_LTAP                = I_LTAP
*        TABLES
              T_LTAK                = I_LTAK
              T_LTAP_VB             = I_LTAP_VB
*        EXCEPTIONS
             NO_TO_CREATED         = 1
             BWLVS_WRONG           = 2
             BETYP_WRONG           = 3
             BENUM_MISSING         = 4
             BETYP_MISSING         = 5
             FOREIGN_LOCK          = 6
             VLTYP_WRONG           = 7
             VLPLA_WRONG           = 8
             VLTYP_MISSING         = 9
             NLTYP_WRONG           = 10
             NLPLA_WRONG           = 11
             NLTYP_MISSING         = 12
             RLTYP_WRONG           = 13
             RLPLA_WRONG           = 14
             RLTYP_MISSING         = 15
             SQUIT_FORBIDDEN       = 16
             MANUAL_TO_FORBIDDEN   = 17
             LETYP_WRONG           = 18
             VLPLA_MISSING         = 19
             NLPLA_MISSING         = 20
             SOBKZ_WRONG           = 21
             SOBKZ_MISSING         = 22
             SONUM_MISSING         = 23
             BESTQ_WRONG           = 24
             LGBER_WRONG           = 25
             XFELD_WRONG           = 26
             DATE_WRONG            = 27
             DRUKZ_WRONG           = 28
             LDEST_WRONG           = 29
             UPDATE_WITHOUT_COMMIT = 30
             NO_AUTHORITY          = 31
             MATERIAL_NOT_FOUND    = 32
             LENUM_WRONG           = 33
             OTHERS                = 34      
ERROR_MESSAGE       =  35  .


 

This was last published in October 2003

Dig Deeper on SAP CRM software

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close