cancel
Showing results for 
Search instead for 
Did you mean: 

Default Conditions in SAPSCRIPTS using MEDRUCK

Former Member
0 Kudos

Hi All,

I am working on copied MEDRUCK form in SAPSCRIPTS.

My requirement is to get some default TERMS & CONDITIONS in PRINTPREVIEW or while taking a PRINTOUT.

In ME22N i can edit some conditons in HEADER TEXTS.But i want to get the Default TEXTS ie (TERMS & CONDIITONS) instead of entering directly in ME22N.

I have changed the HEADER_TEXT & SUPPL_TEXT by including some standard texts .But its not working.

Is there any solution for this.Hope there is a solution for this.

Answers will b awarded points.

Thanks & Regards.

Sudheer.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Standard Texts are <b>CLIENT DEPENDENT</b>.

they will be limited to a client and to be created in each client.

If you wants to see some Default Text in the terms and conditions

You can add some text(hardcoded )in the script code and see

or create some Std Text in SO10 tcode and INCLUDE that Std text in script and see

it will display in printpreview

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Hi Anji ,

Right now i am working in IDES system.

I have done the process before only what u have replied.

C the process made by me once.

I have made changes to <b>HEADER_TEXT</b> in the <b>Main Window</b>.

I have Replaced <b>INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE</b> as <b>INCLUDE ZSTANDARD OBJECT TEXT ID ST PARAGRAPH AS</b>.But i was unable to see the changes.

So is that the place where i need to change the code or else where.

Can u give me some example code for this where to place that code.

Thanks & Regards.

Sudheer.

former_member196280
Active Contributor
0 Kudos

SAPSCRIPTS are cleint dependent too, so if you want to see the changes in all clients, use program RSTXR3TR , execute.. give lower TP number and try to Use EXPORT to Download and IMPORT to Upload to the desired client.

Try this it will work

/: INCLUDE <b>'ZSTANDARD'</b> OBJECT TEXT ID ST PARAGRAPH AS.

Regards,

SaiRam

Former Member
0 Kudos

HI Sai,

I didnt found the exact use of this RSTXR3TR.

Bcoz i am using SO10 and transporting the TEXT elements to the SCRIPT transport.

Then what is the use of IMPORT/EXPORT.

I really didnt get u??Canm u explain abt this a bit Brief.

Thanks & Regards,

Sudheer.

former_member196280
Active Contributor
0 Kudos

As you know SAP script is client dependent..RSTXR3TR is used to load the scripts in various clients...

Ex,

You have two development clients i.e client 100 and client 200.. in client 100 you did changes to your form and all your test data exists in client 200, now as SAPscript is client dependent the hcanges done in 100 will not reflect in 200, so we use the above program with TP to download the form from client 100 and upload the form to client 200.

Similarly, there is a program available for uploading standard text from one client to other.. pls check I could not remember the program name.... you can go and search in SE38...

<b>Note: it is good practice to close the thread once your question is answered</b>

Regards,

SaiRam

Former Member
0 Kudos

Hi Sai,

Thanks for ur valuable reply.

But ,right now i am not working on client system.I am working on IDES system.

After this was successful i should implement it in Client system.

Thanks & Regards,

Sudheer.

former_member196280
Active Contributor
0 Kudos

note standard text are client dependent... check the client where you are testing.. if not try to move the standard text to that client.

regards,

Sairam