If condition in forms

Hi,
Can anyone post how to implement if condition in smartforms text module so that based on it we have to call a subroutine by means of perform statement and we have to print the value of changing parameter in the text module of smartform.
can anyone post the solution for the above requirement so that I'll award max points to them.

HI,
IF condition EQ 'XYZ.
perform <subroutinename> in program <pgm name>
using <var>
changing<var>
endperform.
else.
perform <subroutinename1> in program <pgm name>
using <var1>
changing<var1>
endperform.
endif.
In the program
FORM <subroutinename1> TABLES  INPUT STRUCTURE ITCSY
                               OUTPUT STRUCTURE ITCSY.
After doing the manipulations pass these values to OUTPUT
and then in the form print those changing or using parameters.
ENDFORM.
Regards,
Venkatesh

Similar Messages

  • Conditions to Form Fields

    Is there a way to add conditions to forms? For example, if a person selects a choice from a drop down list, that choice will trigger another field to appear like another drop down or a taxt box.

    Yes, you can use question skip logic. Select the field you want to show/hide and select the show/hide check box in the property panel.
    Randy

  • How to make a conditional required form item

    I'm working with an old version of Dreamweaver (CS3) and I'm trying to create a user information registration form. I've got a field for a phone number and then a select box for phone type. I'd like to include an option for a second number and type, but I don't want to make it required. However, if the user enters a number there, I want the type selection box to be a required item. I'm just using the provided spry validation widgets, but I can't find that option anywhere. Is it possible to make that selection box required based upon whether or not the user has entered a value in another field?
    Appreciate any help!
    Jeremy

    Dear sri,
    i want to make a required field thru personalization
    I appied following coditions:
    ========================================
    Trigger Event : WHEN-NEW-FORM-INSTANCE
    Trigger Object :
    Condition :
    ACTION:
    Property : ITEM
    PO_APPROVE.NOTE
    REQUIRED
    TRUE
    ========================================
    Trigger Event : WHEN-NEW-ITEM-INSTANCE
    Trigger Object : PO_APPROVE.WF_OK_BUTTON
    Condition : :PO_APPROVE.NOTE IS NULL
    ACTION:
    Message SHOW
    'NOTE is required field. Please Enter NOTE.'
    ==========================================
    But it is not working.
    Its urgent
    Please assist with coding.
    Thanks
    Pradhyumn Sharma

  • Help with conditional Spry Form Validation

    Hi,
    I am creating some validation for this form and need some help.
    Need to require a finish to be selected if a qty is selected and visa versa.
    I have got this part working but can't get it to destroy the validation if the qty/finish is added and then removed.
    Here is the code for just the 2 fields:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Deleting and rebuilding validations</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    // build validations and delete / destroy them
    function val(e){
         // get the value
         value = e.value;
            //check if value is greater than 0
          if (value>= 1 ){
              // if it is then turn on validation
                  var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", "none", {isRequired:true});
            return true;
    function val2(e){
         value = e.value;       
          if (value= "" ){
                  var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "integer", {isRequired:false});
            else { var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "integer", {isRequired:true}); }
            return true;
    </script>
    </head>
    <body>
    <form id="form1" method="post" action="#">
         <p><span id="spryselect1">finish:
             <select name="finish" id="finish" onclick="val2(this);" >
            <option>please select</option>
            <option value="6, Antique Wiluna White">Antique Wiluna White</option>
            <option value="12, Antique Wiluna White Gloss">Antique Wiluna White Gloss</option>
            <option value="2, Charred Oak">Charred Oak</option>
            <option value="10, Charred Oak Gloss">Charred Oak Gloss</option>
            <option value="5, Gentle Beige">Gentle Beige</option>
            <option value="1, Refined Oak">Refined Oak</option>
            <option value="9, Refined Oak Gloss">Refined Oak Gloss</option>
            <option value="4, Rocksalt">Rocksalt</option>
            <option value="7, Snowdrift">Snowdrift</option>
            <option value="13, Snowdrift Gloss">Snowdrift Gloss</option>
            <option value="3, Vicenza Walnut">Vicenza Walnut</option>
            <option value="11, Vicenza Walnut Gloss">Vicenza Walnut Gloss</option>
            <option value="14, 2 Pack Gloss White">2 Pack Gloss White</option>
          </select>
             qty:
    </span><span id="sprytextfield1">
    <input type="text" name="qty" id="qty"  onblur="val(this);" />
    </span>
    <input type="submit" value="Submit" />
    </p>
    </form>
    <script type="text/javascript">
    var sprytextfield1, spryselect1;
    </script>
    </body>
    </html>
    Also is there a shortcut so this doesn't have to be repeated for all 80 or so fields?
    Cheers

    I am very busy at the moment with having a few projects on hand. Maybe the following example will help you. If not, please come back here.
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Deleting and rebuilding validations</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextFiel d.css" rel="stylesheet">
    </head>
    <body>
    <form id="form1" method="post" action="#">
      <p>
        <input type="radio" name="radio" id="Married" value="Married" onclick="val(this);">
        <label for="Married">Married</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Defacto" value="Defacto" onclick="val(this);">
        <label for="Defacto">Defacto</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Single" value="Single" onclick="val(this);">
        <label for="radio">Single</label>
      </p>
      <hr>
      <span id="sprytextfield1">
        <label for="f_married">Married</label>
        <input name="married" id="f_married" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield2">
        <label for="f_defacto">Defacto</label>
        <input name="defacto" id="f_defacto" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield3">
        <label for="f_single">Single</label>
        <input name="single" id="f_single" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <hr>
      <input type="submit" value="Submit" />
    </form>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
    <script>
    var sprytextfield1,
            sprytextfield2,
            sprytextfield3;
    // build validations and delete / destroy them
    function val(e){
        // get the value
        value = e.value;
        // see what radion button we have
        if(value == "Married"){
            // if there inst a validaton build one
            if(!sprytextfield1){
                sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
            // if there is a validaiton in sprytextfield destory it, and clear the variable
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
            // same as the rest
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Defacto'){
            if(!sprytextfield2){
                sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Single'){
            if(!sprytextfield3){
                sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
        // proceed with the rest as normal
        return true;
    </script>
    </body>
    </html>
    Gramps
    Carn the Pies

  • How do i add a condition in my form?

    i saw in the description we can add conditions in forms but i didn't find where i can do it.

    As mentioned, you can do this with JavaScript. The forms created by Acrobat are not dynamic and so the form fields would have to be in a blank space of the form. You would just want to be able to switch the field from hidden to visible. You would probably want to design the form with everything visible (though even hidden fields would be visible in a form edit mode) and then go back and do the modifications. Be sure to keep track of the field names. You will want to go to Adobe.com and download the JavaScript manual. The JavaScript would be entered in the actions part of the action field.

  • Unable to populate the default value  using form personalization

    Hi, I need to default a value in order managemnt for waybill number
    shipping -- transaction - delivery - detail --
    In Order management
    Shipping - Transactions
    Source system -- Order management
    From Order number - Any ordernumber
    say find
    I want to default this Detail ( xxxxx) as Way bill
    value of :DLVB.DETAIL_LABEL
    I have put the following condition on form personalization
    Condition tab
    Triger event
    When new record instance
    Trigger object
    dlvy_s
    Processing mode both
    Actions tab
    Property
    Object type Item
    Target Object DLVY_S.WAYBILL
    Property name Value
    Value
    :DLVB.DETAIL_LABEL
    but it is not defaulting... Appreciate if any one has idea what is wrong in this.
    Edited by: 885022 on Oct 3, 2011 11:31 AM
    Edited by: 885022 on Oct 3, 2011 11:33 AM

    yes Srini
    as we dont have any option via personalization to set the default values ,it can be done through controller extension ,
    in processRequest method of extended controllere get the control for that particular field where u want to set the default value and set the value using fieldbean.setValue(pagecontext,value);
    in case of any particular case ,please post in the forum
    thanx
    Pratap

  • Want a particular item category line item not to print on form

    HI!
    We would like our smartform for invoice not to print the line item when that item category is "ZABC". I can easily do that by hard coding in the form mentioning when item category is 'ZABC' not to print it instead I was looking for a way using the configuration flag to  show whether a line item should show on the form or not . Is theer a way I can do it by this method instead of going staraight by hardcoding the item category? Is theer a way on the configuration side which I can use to indicate the line item with item category 'ZABC' not to print onto the form?
    KIndly indicate of it cane be done and how.
    Thanks

    Hi Aarav,
    Item category details are in table TVAP. For billable item category the Carry out pricing  indicator (Field PRSFD) will be checked (X) and for free item category the field is blank. Check the table entry for both free and valuated item category and there you will find the difference in the table entries.
    So based on the data in TVAP you can set the condition in Form for displaying the line item.
    Regards,
    Shakeel.

  • Adobe forms and interactive forms

    Hi Friends,
    I am new to adobe forms. Can anybody explain in detail-
    1) Why Adobe forms instead of smartforms.
    2) Main use of Adobe forms.
    3) How to become master in this technlogy.
    regards,
    phaneendra.

    Hi,
    Why Adobe forms instead of smartforms.
    In US Under section 58 will say all the printing documents(forms) should be accessible by the blind people, so that is the reason SAP has been integrated with Adobe. So we can access adobe designer using the tcode SFP. After you develope a adobe form output by using JAWS software imapaired (blind) people can access the output. Access in the sense that software will read the contents in the output.
    Main use of Adobe forms.
    Once you activate the ADobe form system will generate the function modue, thouse function module you can call in the print program. so that pdf form will call and appropriate output will generate.
    In adobe forms we dont have windows concept, instead we have master pages,body pages, with the help of data xml file you can get the output it means no need to execute the printporgram.
    You can write the condition adobe form itself
    if it is master page select the event as layout ready and run at client
    if it is body page select the event as form ready and run at client
    You can get the lot of information in sdn regarding adobe forms
    Thanks
    Ramakrishna Pathi

  • Create an InfoPath Form to Auto Populate Data in SharePoint 2010

    In Anne Stenberg's Blog from 2 Nov 2011 3:00 PM "How to Create an InfoPath Form to Auto Populate Data in SharePoint 2010" she artfully steps through how to create an InfoPath Form to Auto Populate Data. It works but... Jason, another user, 
    wrote whenever the form is opened again either to view or edit, it displays the current users information instead of the value of the person who completed the form in the first place.
    Anne's response was "Hi Jason - I had forgotten I had that problem, too. Change the Form Load rule's condition to
    DisplayName is blank and that should work."
    My problem is I can't find anything other than AccountName in "Select a Field or Group" [GetUserProfileByName (Secondary)] to use in the Condition statement that will correct the problem.
    Any help will be very appreciated.
    Thanks,
    Joe

    Hi Joe,
    I recommend to add one more condition in Form Load to make the form not be populated with current user’s information (You can change Title to another column which should not be blank when users create a new item).
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Membership form is creating row in database but no information is being inserted?

    The connection is being made to my database but the information in the fields isn't being written to the fields. It just shows up like this:
    This is the code
    Membershipval.php (connection to the database)
    <?php
    define('DB_NAME','db444290179');
    define('DB_USER','dbo444290179');
    define('DB_PASSWORD','hello123');
    define('DB_HOST','db444290179.db.1and1.com');
    define('DB_TABLE','Membership');
    $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_TABLE);
    if (!$link){
              die ('Could not connect: ' . mysql_error());
    $db_selected = mysql_select_db(DB_NAME, $link);
    if (!$db_selected) {
              die('can\'t use' . DB_NAME . ': ' . mysql_error());
    $value1 = $_POST['MembershipType'];
    $value2 = $_POST['BCUMemberType'];
    $value3 = $_POST['Full Name'];
    $value4 = $_POST['Dateofbirth'];
    $value5 = $_POST['Sex'];
    $value6 = $_POST['PhoneNumber'];
    $value7 = $_POST['EmailAddress'];
    $value8 = $_POST['BCUNumber'];
    $value9 = $_POST['BCUMember'];
    $value10 = $_POST['StreetAddress'];
    $value11 = $_POST['Town'];
    $value12 = $_POST['City'];
    $value13 = $_POST['Postcode'];
    $value14 = $_POST['Disability'];
    $value15 = $_POST['MedicalInformation'];
    $value16 = $_POST['Photography'];
    $value17 = $_POST['ContactName'];
    $value18 = $_POST['Relationship'];
    $value19= $_POST['ContactPhoneNumber'];
    echo 'connected successfully';
    $sql = "INSERT INTO Membership (MembershipType, BCUMemberType, FullName, Dateofbirth, Sex, PhoneNumber, EmailAddress, BCUNumber, BCUMember, StreetAddress, Town, City, Postcode, Disability, MedicalInformation, Photography, ContactName, Relationship, ContactPhoneNumber) VALUES ('$value1', '$value2', '$value3', '$value4', '$value5', '$value6', '$value7', '$value8', '$value9', '$value10', '$value11', '$value12', '$value13', '$value14', '$value15', '$value16', '$value17', '$value18','$value19')";
    if (!mysql_query($sql)){
              die('Error: ' . mysql_error());
    mysql_close();
    ?>
    Membership.php (the form)
    <div class="Form" id="Form" align="center">
        <table width="547" height="768" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th colspan="2" scope="col">Membership Form</th>
          </tr>
          <tr>
            <td align="center"><form name="form13" method="post" action="Membershipval.php">
              <label for="MembershipType">Non BCU-Membership Type</label>
            </form></td>
            <td align="center"><select name="MembershipType" id="MembershipType">
              <option>Select....</option>
              <option value="£15">Junior (U18)/ Student £15</option>
              <option value="£22">Adult £22</option>
              <option value="£35">Family £35</option>
              <option value="£45">Schools/Groups/Clubs £45</option>
            </select></td>
          </tr>
          <tr>
            <td align="center"><form name="form14" method="post" action="Membershipval.php">
              <label for="BCUMemberType">BCU Member Type</label>
            </form></td>
            <td align="center"><select name="BCUMemberType" id="BCUMemberType">
              <option>Select....</option>
              <option value="£13">Junior (U18)/ Student £13</option>
              <option value="£20">Adult £20</option>
              <option value="£31">Family £31</option>
              <option value="£5">Social Members Only £5</option>
            </select></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Personal Information</b></td>
          </tr>
          <tr>
            <td><form name="form2" method="post" action="Membershipval.php">
              <label for="Full Name">Full Name</label>
            </form></td>
            <td><input type="text" name="FullName" id="FullName"></td>
          </tr>
          <tr>
            <td><form name="form3" method="post" action="Membershipval.php">
              <label for="Dateofbirth">D.O.B</label>
            </form></td>
            <td><input type="text" name="Dateofbirth" id="Dateofbirth"></td>
          </tr>
          <tr>
            <td><form name="form12" method="post" action="Membershipval.php">
              Sex
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="Sex" value="Male" id="Sex_0">
                  Male</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="Sex" value="Female" id="Sex_1">
                  Female</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><form name="form6" method="post" action="Membershipval.php">
              <label for="PhoneNumber">Phone Number</label>
            </form></td>
            <td><input type="text" name="PhoneNumber" id="PhoneNumber"></td>
          </tr>
          <tr>
            <td><form name="form7" method="post" action="Membershipval.php">
              <label for="Email Address">Email Address</label>
            </form></td>
            <td><input type="text" name="EmailAddress" id="Email Address"></td>
          </tr>
          <tr>
            <td><form name="form4" method="post" action="Membershipval.php">
              BCU Member
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="BCUMember" value="Yes" id="BCUMember_0">
                  Yes</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="BCUMember" value="No" id="BCUMember_1">
                  No</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><form name="form5" method="post" action="Membershipval.php">
              <label for="BCU Number">BCU Number</label>
            </form></td>
            <td><input type="text" name="BCUNumber" id="BCU Number"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Address</b></td>
          </tr>
          <tr>
            <td><form name="form8" method="post" action="Membershipval.php">
              <label for="Street Address">Street Address</label>
            </form></td>
            <td><input type="text" name="StreetAddress" id="Street Address"></td>
          </tr>
          <tr>
            <td><form name="form9" method="post" action="Membershipval.php">
              <label for="Town">Town</label>
            </form></td>
            <td><input type="text" name="Town" id="Town"></td>
          </tr>
          <tr>
            <td><form name="form10" method="post" action="Membershipval.php">
              <label for="City">City</label>
            </form></td>
            <td><input type="text" name="City" id="City"></td>
          </tr>
          <tr>
            <td><form name="form11" method="post" action="Membershipval.php">
              <label for="Postcode">Postcode</label>
            </form></td>
            <td><input type="text" name="Postcode" id="Postcode"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Medical Information</b></td>
          </tr>
          <tr>
            <td><form name="form15" method="post" action="Membershipval.php">
              <label for="Disability">Disability</label>
            </form></td>
            <td><input type="text" name="Disability" id="Disability"></td>
          </tr>
          <tr>
            <td><form name="form16" method="post" action="Membershipval.php">
              <label for="Medical Information">Medical Information</label>
            </form></td>
            <td rowspan="3"><textarea name="MedicalInformation" id="Medical Information" cols="45" rows="5"></textarea></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Consent</b></td>
          </tr>
          <tr>
            <td><form name="form17" method="post" action="Membershipval.php">
              Do we have your consent to take photographs
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="Photography" value="Yes" id="Photography_0">
                  Yes</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="Photography" value="No" id="Photography_1">
                  No</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Emergency Contact Details</b></td>
          </tr>
          <tr>
            <td><form name="form18" method="post" action="Membershipval.php">
              <label for="Contact Name">Contact Name</label>
            </form></td>
            <td><input type="text" name="ContactName" id="Contact Name"></td>
          </tr>
          <tr>
            <td><form name="form19" method="post" action="Membershipval.php">
              <label for="Relationship">Relationship</label>
            </form></td>
            <td><input type="text" name="Relationship" id="Relationship"></td>
          </tr>
          <tr>
            <td><form name="form20" method="post" action="Membershipval.php">
              <label for="ContactPhoneNumber">Contact Phone Number</label>
            </form></td>
            <td><input type="text" name="ContactPhoneNumber" id="Contact Phone Number"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Confimation</b></td>
          </tr>
          <tr>
            <td colspan="2"><form name="form21" method="post" action="Membershipval.php">
              <input type="checkbox" name="Terms" id="Terms">
              <label for="Terms">I accept the Terms and Conditions </label>
            </form></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><form name="form22" method="post" action="Membershipval.php">
              <input type="submit" name="Submit" id="Submit" value="Submit">
            </form></td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
          </tr>
        </table>
    Does anyone have any ideas why this is happening?

    Everyone has to start, somewhere.  I got a lot of help when I started.  Just paying it forward. 
    Glad I could help.
    ^_^

  • Mass download of condition records from ECC to CRM

    Hi Team,
    We need to download many condition records from ECC to CRM. We are doing a request download but it takes lot of time. Is there a way to do a mass download of condition records form ECC to CRM.
    Regards,
    Jan.

    Hi Robert,
    We have all the articles in CRM but the prices are not matching for 2000 articles. Kindly suggest us in doing a mass download of the condition records for those 2000 articles.
    Regards,
    Jan

  • Adobe form:How to Print last row of body to next page & printing max7 rows?

    Hi,
    In ADOBE PDF, Design view, for item level data only 7 row or less should appear in first page for following page if rows are greater than 7 if its less than  7 then last row should be on second page. In design page Below Body Row, user details are 'positioned' so they overlap as soon as item level data exceeds 7.
    Using a Static PDF, 7.2. I checked with Pagination property of Item level data, its been set to Place:Following previous and After Continue filling parent. Will putting condition using Form Calc would suffice in condition breaks? What would be condition?
    Thanks
    Mohinder

    Hi,
    Solved by changing Condition in Table pane, making one row and increasing Header and footer.
    Thanks
    Mohinder

  • SRM 7.0 - customizing for print forms

    Hi gurus,
    we want to use adobe forms for print forms.
    In customizing we are able to switch from smartforms to  adobe forms (sap note 1264423).
    While we are encountering problem in configuring differents output actions  for certain documents: i.e. print different forms on basis of a value of an attribute that belong to the business object. We follow IMG documentation (in T. SPRO: SAP Supplier relationship Management -> SRM Server -> Cross Application basic settings -> Set output Actions and output Format -> Condition-Dependent Document Output) but conditions-dependent forms are not getting printed.
    Please help me solving this issue.
    Luca

    Any help on this?

  • How can I put check conditions when using Function 'LDB_PROCESS'

    Hy experts,
    I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
    for example:
    FORM CALLBACK_QALS USING  NAME  TYPE LDBN-LDBNODE
                              WA    TYPE QALS
                              EVT   TYPE C
                              CHECK TYPE C.
    CASE EVT.
       WHEN 'G'.
         MOVE-CORRESPONDING wa to ITAB_QALS.
         APPEND ITAB_QALS.
    ENDCASE.
    endform.                    " CALLBACK_QALS
    Have anyone an example of how I can use check conditions in this type of form???
    thx in advance

    Hi
    U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
    FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
                           <workarea> (LIKE ...)
                           <mode>
                           <selected>.
    So the code should be:
    CHECK <WORKAREA>-FIELD = ............
    Max

  • How can I notify users if form is open

    I have a form which is stored on the network, the user then creates a shortcut to the form (to save email space) then emails the shortcut to a selected team to review and apply their electronic signature, what I would like to be able to do is is warn the team if the form is already opened prior to them trying to sign and save.
    Any suggestions would be gratefully received

    You could create a form action to save the form into initialization.
    Condition: When form "youform" has finished loading: Save the form.
    This save will fail if somebody else has this form opened.
    The save will happen in background and you should catch the error to show a proper error message to the user.

Maybe you are looking for