Hello,
I'am submitting some programms with :
PRI_PARAMS-PDEST = BAPIDEFAUL-SPLD.
PRI_PARAMS-PRCOP = 1.
PRI_PARAMS-PLIST = 'DUMMY'.
PRI_PARAMS-PRTXT = 'DUMMY'.
PRI_PARAMS-PRIMM = ' '.
PRI_PARAMS-PRREL = ' '.
PRI_PARAMS-PRNEW = 'X'.
PRI_PARAMS-ARMOD = '1'.
PRI_PARAMS-PRREC = SY-UNAME.
PRI_PARAMS-PRSAP = 'D'.
PRI_PARAMS-PRBIG = 'D'.
PRI_PARAMS-PAART = 'X_58_170'.
PRI_PARAMS-LINCT = 55.
PRI_PARAMS-LINSZ = 155.
SUBMIT (<S>-ZZREPORT)
TO SAP-SPOOL
USING SELECTION-SET <S>-ZZVARIANT
SPOOL PARAMETERS PRI_PARAMS
WITHOUT SPOOL DYNPRO
AND RETURN.
In the submitted programm, ALV-Grid-Control is put into the spool. But I cannot control the language of the ALV-List.
With normal ABAP-list-processing, the statement SET LANGUAGE will do. But it just translate the header of the Grid, not the columms and the content of the real Grid-list.
A solution would be to run a normal ABAP-List, or to change the ALV via a manuel fieldcat. But this is a lot of coding.
Is there any other solution to this problem?
with kind regards
Maik
Hi Maik,
Just a few points i have.
You said that the Header of the grid got translated and not the column headers. Would like to know whether the data elements that you are using for the columns have their texts maintained in the target language.
Also as for the contents of the ALV grid are not getting translated i feel the contents must be coming from some database table or basically some persistent store.Hence the contents will be as be displayed as they have been stored.
Do let us know what the scenario is so that we can then discuss that.
Regards
Sidharth Deshpande
Add a comment