![]() |
|
|||||||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Caller 09 contains an error message | Mirna | SAP BW/BI | 2 | 08-22-2011 07:55 PM |
| Excel Macro - GuiXT error message | Rampa | SAPScript - Smartforms | 1 | 08-17-2011 09:18 PM |
| HU items' material posting is inconsistent - Error Message HUGENERAL327 | Micro | SAP SD - Sales & Distribution | 1 | 04-19-2011 09:43 PM |
| Error Message KI339 | ERP | SAP FI CO - Financials and Controlling | 1 | 01-26-2011 09:10 PM |
| Please give me few URL/websites where i can find SAP HR job openings. | sapen | SAP Job Offered | 0 | 07-27-2010 05:49 PM |
| Aprenda SAP! |
|
|
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello experts,
I have to check for venum if the venum is present then it shd come out of the program: Code:
FORM validate_venum . DATA : lv_venum TYPE vekp-venum. SELECT handling_unit UP TO 1 ROWS INTO lv_venum FROM zws_data WHERE handling_unit EQ nast-objky. ENDSELECT. IF sy-subrc NE 0. * MESSAGE e006 WITH lv_venum. * WRITE:/ sy-msgty, sy-msgno NO-GAP, ':', l_msg. Write :/ lv_venum, ' already present '. ENDIF. ENDFORM. Thanks, Zumba |
| Sponsors |
|
#2
|
|||
|
|||
|
Hi Zumba,
Code:
FORM validate_venum . DATA : lv_venum TYPE vekp-venum. SELECT handling_unit UP TO 1 ROWS INTO lv_venum FROM zws_data WHERE handling_unit EQ nast-objky. ENDSELECT. IF sy-subrc NE 0. MESSAGE e006 WITH lv_venum display like 'I'. "<<< Check this ENDIF. ENDFORM. Portal |
|
#3
|
|||
|
|||
|
Thanks Portal, but I am still getting an error.
A message ID has not been entered. You can specify this entry for the whole program using the "MESSAGE-ID msgid" addition with the statment that . or in number. - or in parentheses after the error number. - How can I solve this? Thanks again, Zumba |
| Entre a los Links relacionados |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|