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

About flag setting

Former Member
0 Likes
683

Hi Everyone,

I am doing handling unit delivery using sap script. In that country of origin i need to separate the European countries and non European countries , based on the country of origin other fields are need to be displayed in that format.

Regards,

Meenakshi.

4 REPLIES 4
Read only

arindam_m
Active Contributor
0 Likes
599

Hi,

Pass the country as a parameter say via &conty_key& to your Sapscript. Then use the below command

to set the country

SET COUNTRY &conty_key&

*Do you stuff all will be defaulted to country specific setting. Then do as per below to reset.

SET COUNTRY '  '

Cheers,

Arindam

Read only

Former Member
0 Likes
599

Hi Arindam,

This is not possible in driver program ah by setting a flag.

Read only

arindam_m
Active Contributor
0 Likes
599

Hi,

Usually Sapscripts are translated into various languages and that is called for languages & the country setting is automatically mapped to user setting. Also, you can give the same command from your driver program by calling the FM CONTROL_FORM. Check the link below

http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba68494511d182b70000e829fbfe/content.htm

So what sort of flag you want? Is it a Z-Sapscript. Please give some more details.

Cheers,

Arindam

Read only

Former Member
0 Likes
599

Hi ,

Please read below link,

http://scn.sap.com/thread/3373354

Regards,

Ravi Shankar L