Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Query- default condition

Former Member
0 Likes
1,516

Hi all,

is it possible to give a default condition with in an infoset ?

e.g. : I link mara with matkl (for the description). There are several descriptions for the same material (other language key), but I want the system to take always the english description, so I want to put SPRAS = 'E'...

Is this possible ?

Thanks !!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,123

Hello,

This may be done in two ways: (1) As mentioned above, use SPRAS in the selection screen and create a default variant with SPRAS = 'E'. (2) In SQ02 (Info Set), you can define a code snippet to check SPRAS = 'E'.

Thanks,

Venu

3 REPLIES 3
Read only

Former Member
0 Likes
1,123

yeah u can put conditions , u will get the option while selecting input/output fields.

regards

Prabhu

Read only

Former Member
0 Likes
1,124

Hello,

This may be done in two ways: (1) As mentioned above, use SPRAS in the selection screen and create a default variant with SPRAS = 'E'. (2) In SQ02 (Info Set), you can define a code snippet to check SPRAS = 'E'.

Thanks,

Venu

Read only

0 Likes
1,123

Hi,

At the time of JOIN condition itself you can define the Criteria for Language as well.

where you give table names as MARA and MAKT.

there define the Language condition as well.

Hope it helps.

Vishal