Automate

 View Only
  • 1.  How to Record a Transaction Script for Specific Values in a Form Group?

    Posted 12-08-2019 18:25
    Summary
    Is it possible to create or record a Transaction Script to post data to SAP through a Web Service using Winshuttle Studio in which only specific form field values in a Composer 12 Form Group, along with a Customer ID value? If so, how can this be done?

    Description
    Our Change Customer Composer solution contains three form groups: a General Area, a Sales Area, and a Company Area. Each form group has an Execute button in the form that will post the updated Customer values back to SAP in the BP transaction block with a form group specific Transaction Script. However, I am having issues with the Transaction Script that is executed to post data changes from the Change Customer Solution's Sales Area form group. This Transaction Script is also posting back data from the General Area form group which is causing a validation error. Is there a way to disable, delete or re-record the Transaction Script that does not need to post back General Area Form Group values from within the Sales Area Transaction Script at the same time? Would this resolve my General Area data validation error issue to have the Sales Area Transaction Script post back only Sales Area form group values?

    With regards to either Disabling or Deleting a Web Form's value mapped by XPath to an SAP BP Transaction Block, Winshuttle has both a Disable and a Delete parameter menu item in both the Basic and Expert Views inside Studio's Map tab. Would disabling or deleting the General Area form group field values from my Change Customer Transaction Script resolve my validation issue?

    Thank you in advance for your time and help, and I look forward to hearing from you soon.

    ------------------------------
    Bill Wonneberger
    bill.wonneberger@versummaterials.com
    ------------------------------


  • 2.  RE: How to Record a Transaction Script for Specific Values in a Form Group?

    Employee
    Posted 12-17-2019 17:04
    Hi Bill

    Am not sure I understand your question, so I'm answering in general.  If you want to share specifics - scripts/screen shots/etc - then I/we may be able to help you better:

    • You can, of course, create scripts - both disabling and deleting fields you don't want active/
    • You can also change mapping of scripts in a form - deleting mapping there, too.
    • You can re-import a script into a solution and it will adjust mapping, as well.
    • Overall with a script, you should check both validate (if you have it enabled) and post in Studio prior to including in a form solution.
    • BP is a monster of a tcode.  From my bit of experience with it, validation doesn't necessarily catch a lot.  It's not until you try to post that SAP even catches errors in the tcode, so I believe a script will behave the same way.

    Hope this gives you some ideas.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    pse | Winshuttle North America
    ------------------------------