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

GuiXT Save Script for Settlement Request (WZR1)

Former Member
0 Likes
546

Hi Developers,

The GuiXT requirement is to create an input field in the transactions of Settlement Request Create (WZR1) & Settlement Request Change (WZR2). This input field must be the value of Header Text "Vendor packing slip" which is an SO10 text.

Set V[PS] " "

InputField (14,90) "Packing Slip" (14,102) Size="20" name="PS"

The two important things are reading the value from the SO10 texts by Order Number & Updating the text by Order Number.

As far as reading is concerned, I can write a script for ENTER in the transaction screen of WZR1 to call an RFC to return the SO10 text and populate the screen field variable V[PS].

But How should I go about saving this custom created field into the SO10 texts ?

Thanks and Regards,

Pavan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
476

Used RFC call to export to shared buffer and Imported in an Enhancement to use SAVE_TEXT function module.

Moderators can close this thread

Hi Developers,

The GuiXT requirement is to create an input field in the transactions of Settlement Request Create (WZR1) & Settlement Request Change (WZR2). This input field must be the value of Header Text "Vendor packing slip" which is an SO10 text.

Set V[PS] " "

InputField (14,90) "Packing Slip" (14,102) Size="20" name="PS"

The two important things are reading the value from the SO10 texts by Order Number & Updating the text by Order Number.

As far as reading is concerned, I can write a script for ENTER in the transaction screen of WZR1 to call an RFC to return the SO10 text and populate the screen field variable V[PS].

But How should I go about saving this custom created field into the SO10 texts ?

Thanks and Regards,

Pavan.

1 REPLY 1
Read only

Former Member
0 Likes
477

Used RFC call to export to shared buffer and Imported in an Enhancement to use SAVE_TEXT function module.

Moderators can close this thread