‎2007 Oct 10 6:33 PM
Hi,
My data declarations are ..
TABLES: bkpf.
SELECT-OPTIONS: s_date FOR bkpf-bldat OBLIGATORY,"DATE
s_blart FOR bkpf-blart OBLIGATORY,"DOCUMENT TYPE
s_belnr FOR bkpf-belnr. "ACCOUNT DOCUMENT
when i do extended check,the error is
Selection text for selection field S_BLART not maintained ..
also in the perform statements (for bdc)
PERFORM bdc_dynpro USING 'SAPMF05l' '0100'.
PERFORM bdc_field USING 'RF05l-BELNR' WA_BKPF-BELNR.
PERFORM bdc_field USING 'RF05l-BUKRS' WA_BKPF-BUKRS.
PERFORM bdc_field USING 'RF05l-GJAHR' WA_BKPF-GJAHR.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMF05l' '0700'.
PERFORM bdc_field USING 'BDC_OKCODE' '=VK'.
PERFORM bdc_dynpro USING 'SAPMF05l' '1710'.
PERFORM bdc_field USING 'BKPF-BKTXT' WA_RETURN-MESSAGE_V2.
PERFORM bdc_field USING 'BDC_OKCODE' '=ENTR'.
PERFORM bdc_dynpro USING 'SAPMF05l' '0700'.
PERFORM bdc_field USING 'BDC_OKCODE' '=AE'.
the error message is
Char. strings w/o text elements will not be translated:
''RF05l-BUKRS''
can any one tell me how to resolve this....
Thanks,
Challa.
‎2007 Oct 10 6:35 PM
Hi,
Replace all text litterals with Constants
So instead if using ''RF05l-BUKRS'' use C_'RF05l_BUKRS. and Declare the constant.
Cheers
VJ
‎2007 Oct 10 6:41 PM
hi,
instead of passing the string value directly,create a new text element and pass the value thru it.
-Sivakumar
Message was edited by:
SivaKumar
‎2007 Oct 10 6:48 PM
Challa, just ignore those warnings / errors as no one will ever want to translate those kinds of strings.
It would be stupid if a QA review person finds that as fault, but in that case, you have to define a text element. (Defining a constant won't help.)
PERFORM bdc_field USING 'RF05l-BUKRS'(051) WA_BKPF-BUKRS.
Then double-click on (051) and enter RF05l-BUKRS for the text element.