Skip to Content

Dynamic update of text field in transaction

Hi,

We have a transaction with two fields:

  1. Complex table drop down
  2. Text field

Is it possible to enable/disable the text field dynamically depending on the selection made on complex table drop down?

Regards,

Shankar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 09, 2017 at 06:45 AM

    Hi Shankar,

    Try with enable rule for the text field.

    Regards,

    Sravanthi Polu

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 10, 2017 at 03:58 PM

    Shankar,

    Hi. You have two fields: Complex Table Drop Down and a Text field.

    Field1 - Complex Table Drop Down (Points to a Complex Table - Name)

    Field2 - Text Field (make an enable rule) - Example: Need to use a combination of ComplexTable and/or ScreenFieldValue perhaps for your enable rule. So when the field 1 is populated by X your enable rule will try to disable Field 2 based on your answer. This depends on how complicated you want your rule to be or your workflow. If it is a hard constant then by simply using the ScreenFieldValue will work.

    Due to you stated that it is a transaction field, sometimes you need to work with your ATE (Agentry Test Environment) to see if you have properly saved or commit or "apply" the values to the transaction in order for your rule to work. You have the option in the ATE to check each value before apply or commit so you can also check the rules to see (rule log) how it returns if it enables or disables.

    Reference:
    1. http://help.sap.com/saphelp_smp307sdk/helpdata/en/7c/1754d57006101483248f25ed0b4890/content.htm (@COMPLEXTABLE)
    2. http://help.sap.com/saphelp_smp3012sdk/helpdata/en/7c/1696bd70061014823581318658ca68/content.htm (@SCREENFIELDVALUE)

    Regards,

    Mark Pe

    SAP Product Support

    Add comment
    10|10000 characters needed characters exceeded