Selecting specific values

Hi, thank you for viewing my discussion. I have two pdf forms, Order Form and Invoice Form. On the Order Form I have a submit button that submits an FDF file. I then will open the FDF file with the Invoice Form and it populates the form fields. However, the issue I am having is on the Order Form there are a list of items where the user will input the quantity etc and after the FDF is sent and opened with Invoice Form, I would like to just display the items with quantities filled on the Order Form. Does this make sense?
Example (words in parentheses are what I named the textfield properties):
Name                                  Description                     Quantity
Aztreonam (txtName1)        500 mg (txtDesc1)           1 (txtQty1)
Bactrim (txtName2)             8mg a day(txtDesc2)       0 (txtQty2)
Cleoncin (txtName3)          150mg(txtDesc3)              1 (txtQty3)
Would need to display the name, description, and quantity on the Invoice Form of the items with quantities more than zero from the Order Form. Keep in mind the above is only a small example, the real form has 10 items.
Any help is appreciated!

Not a bad idea! I will give it a try. Thanks! Another question, let say within the field that is displaying the orders, after one row of data I would like start a new line (like hitting return on a keyboard where it drops down to the next line). Could I do that in javascript?

Similar Messages

  • Select only one specific value from two values contained in an item in form

    hi ,
    i am newly creating a form.
    in the all item i an displaying on control block,
    in one item "dummy.formule" i am taking the value as '1-xyz' where 1 is nummer and xyz is naam
    or '99-fgj'.
    but for the next block i want to write a query in which in the where condition i need to use the nummer from dummy.formule.this query is dymannically created at run time.
    i am wrting this query in the when validate of the "dummy.formule" .
    how i get the specific value that i required?

    923315 wrote:
    hi ,
    i am newly creating a form.
    in the all item i an displaying on control block,
    in one item "dummy.formule" i am taking the value as '1-xyz' where 1 is nummer and xyz is naam
    or '99-fgj'.
    but for the next block i want to write a query in which in the where condition i need to use the nummer from dummy.formule.this query is dymannically created at run time.
    i am wrting this query in the when validate of the "dummy.formule" .
    how i get the specific value that i required?First look at it. dynamically create pop list at run time. close it.
    what you mean by "naam" ?
    If the value has a specific format like as you write "1-xyz,99-fgj". you can use instr function and substr function to cut it out..
    Hope this helps.

  • How to select specific rows in rtf template for complex calculation

    Hi,
    I want custom calculation in my rtf template and for this i need to select specific cell's value OR specific row's value. Any one please suggest how can I get this. Below is the example i have plotted using excel. My target is to get field 8 and 9 using sum and minus. We can calculate column over column, is there any way to calculate row over row? If I use variables, then i have to create so many variables because I have more columns and rows to calculate (here i posted one sample table). Any one please help me how can I get expected result other than using variables! If "Using variables" is the only way then also give your valuable opinions.
    Row No
    Curr Qtr
    PQtr1
    PQtr2
    3
    B3
    C3
    D3
    4
    B4
    C4
    D4
    5
    B5
    C5
    D5
    6
    B6
    C6
    D6
    7
    B7
    C7
    D7
    8
    B8=SUM(B4:B7)
    C8=SUM(C4:C7)
    D8=SUM(D4:D7)
    9
    B9=B8-B5
    C9=C8-C5
    D9=D8-D5
    Thanks.

    Hi AlexAnd,
    Thanks for the reply, I got 0 using both codes. This is a dummy table and I plotted 3,4 to give an idea of row number (as like as excel). Rows are individual data sets combining different measures and dimensions with different values.
    Account
    Curr_Qtr
    PQtr1
    PQtr2
    Deposit
    10
    15
    20
    Loan
    15
    20
    25
    Earning
    20
    25
    30
    Assets
    25
    30
    35
    Total
    =SUM(15,20)
    =SUM(20,25)
    =SUM(25,30)
    Expense
    =SUM(15,20)-25
    =SUM(20,25-30
    =SUM(15,20)-25
    Is there any way to identify the range or individual cell's value? Using variables I have to create lots of variables for each cells, I want to avoid that and want to use rows in calculation! Is that possible, Pls share your valuable opinions!
    Thanks.

  • Sorting based on a specific value in Columns

    Hi All,
    Crystal 2008 version I have. And we are connecting to BW queries as source.
    In a crosstab, I want to sort my row values based on a column value.
    For example, in rows I have an element with three values . In column I have only one element(month), with couple of month values. My requirement is to sort rows based on a specific month (Mar'09 for example).
    .....................Jan'09......Feb'09.....Mar'09
    ABC...............10.............323...........33....
    XYZ...............32..............33............11....
    FGH...............5................34.............55...
    But when I try to sort based on the Month, I can not select a specific value(mar'09). And it sorts based on the total value (sum of all months).
    How can I achieve this problem?
    Thanks
    Ozan

    For {Sort Value}, if you wanted to sort on the Jan column, then substitute the field name that your example shows as 10 in row ABC.  For {row value}, substitute the field name that is used in the first column (ABC in the example).
    In other words, take the value that you want to sort on, and put it in front of the value currently displaying as the row header.  Then, sort on the results.
    The purpose of the "000000000.00" is to make the length of the number, when converted to string, a consistent size.  This is needed (a) so you know how many characters to strip off when displaying the row value, and (b) so the records don't sort as 1, 12, 2, 234, 235423, 25, 3, ...
    HTH,
    Carl

  • Restrict User to specific Values in F4 Help.

    Hi All,
    How do we restrict user to some specific values in F4 Help. ?
    Thanks & Regards
    Himanshu Bhusan Sahoo.

    Hi,
    use this function module CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST''
    @  AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks(Field).
    and pass only those values to this function which must be shown to the user.
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • InfoSet Query - Long Description while selecting variable values

    Dear Experts,
    We have an InfoSet Query on different InfoObjects like 0CUSTOMER, 0CUST_COMPC etc and the common link between these InfoObjects is CUSTOMER.
    We have a variable created on this CUSTOMER. The requirement is that when this query is executed, user should be able to select a value of Customer (F4 help) and at that time, he should be able to view both Key and Long Text of Customer.
    We know that if we change the CUSTOMER InfoObject --> BEx Properties tab, then we can display Long Text and Key in Query Selection Screens. However we can not do that because it would affect all queries in which this InfoObject is used.
    If we go to Query Design, and choose "Long Text and Key" in properties of Customer, then system displays Long Text and Key of Customer but after the report execution is done.
    We want to display the Long Text of Customer to User at the time of selection and that too without making any InfoObject level change.
    If it was InfoProvider, we could have done it using "Provider specific properties of Characteristic" option. But this is InfoSet and that option does not appear here.
    Please suggest the solution.
    Regards
    P

    Rohit,
    Are you looking to display long text for infoobject instead of short description ?
    Then go tp rsd1>infoobject>display/change-->master data/texts -->text table properties -->check long text exists.
    It supports a long text field with a length of 60 characters
    Activate the infoobject
    --Doodle
    Message was edited by: Doodle

  • Filtering internal table using select-option values

    Hi,
    I got an internal table with select-option values. for eg.  it_perno with the values  I  BT    000160    000170.
    Now i got another second internal table which is have the person number. Now i need to filter this second internal table based on the values from the select option table. my question is
    i can collect all the values from 160 to 170 in a separate table by looping over the select option table. and then based on the values filter the second internal table person number.
    But what would be the case if the select option contains both intervals and multiple options. For eg.
    I BT 000160      000170.
    I EQ 000185.
    So can you suggest any good solution, that based on this select option table i need to filter the second internal table Person number.
    Thanks in advance.
    Regards,
    anbu.

    Hi,
    Can you not use the select-options in the Select query while populating the internal table.
    SELECT pernr FROM pa0000 INTO it_tab WHERE pernr IN s_pernr.
    If you cannot do this and you do not want to delete the unwanted entries, then you can use the WHERE clause in the LOOP statement to process the specific entries required:
    LOOP AT it_tab INTO wa_tab WHERE pernr IN s_pernr.
    Regards,
    Aparna Alashe.

  • Print out a column value only if another column has a specific value (CASE Statement)

    Hello all,
    I tried many hours to find a solution for the following request but wasn't successful. Maybe you could help me.
    I've using the already existing SQL Views in Microsoft Service Manager to do some basic reporting about my tickets.There is no closed date in the activity tickets so I decided to print out the lastmodified timestamp when the status is "closed".
    That's my query:
    SELECT DISTINCT
    dbo.DisplayStringView.DisplayName AS Status,
    CASE WHEN dbo.DisplayStringView.DisplayName = 'Closed' THEN dbo.DisplayStringView.LastModified ELSE 'NO CLOSED Date' END AS ClosedDate
    FROM dbo.MTV_System$WorkItem$Activity$ManualActivity LEFT OUTER JOIN
    dbo.DisplayStringView ON dbo.MTV_System$WorkItem$Activity$ManualActivity.Status_8895EC8D_2CBF_0D9D_E8EC_524DEFA00014 = dbo.DisplayStringView.LTStringId
    Unfortunatelly I'm not getting the value from dbo.DisplayStringView.LastModified. SQL outputs that it is not possible to convert the string to date/time.
    I think there is a problem with the CASE statement in combination with a value select.
    Any ideas how to print out a column value only if another column has a specific value?

    I think it is the other way if you want the missing date shown as a string.
    CASE
    WHEN
    dbo.DisplayStringView.DisplayName
    =
    'Closed'
    THEN
    Convert( varchar(10),dbo.DisplayStringView.LastModified
    , 101) ELSE
    'NO CLOSED Date'
    END
    AS
    ClosedDate 

  • Peculiar attitude selecting a value from custom profile ...

    Hi,
    I have a very strange situation in which sometimes the selection of a row of the lov on the default form of the EBS 11.5.10.(setting profile values, sysadmin responsibility, profiles->system) is not accepted and the lov appears again suddenly...
    More specifically, as application developer responsibility we have defined a custom profile(setting a sql query, so as the user->the sysadmin should select from a custom table of a custom application).
    Afterwards, as sysdamin resp. , the user should select a value for the profile from the lov defined and setting it at the responsibility level.(default form : Profile->system).
    Sometimes, but unfortunately the circumstances or the conditions are not reproducible, although the value the user desires and finds it in the lov, when selected the system does not accept it.... and the lov window re-appears ... the user selects it again and the lov appears again....and again...as the value selected from the lov is not valid....{but it is selected from the lov and there is no problem in the majority of cases....}
    Does anybody have the slightest idea....a patch maybe...???
    Note: I use EBS 11.5.10, DB 10g v.2
    I hope , i have described the problem so as to be understandable....
    Thank you,
    Sim

    Sim,
    What is the client OS and browser? Can you reproduce the issue on multiple clients with different username?
    Can you find any errors in application/database log files?
    Can you reproduce the issue on a test (cloned) instance? If yes, I would suggest you enable debug and see if you can produce the issue and collect more details.
    You may also enable debug on JRE/Jinitiator and see if any errors are logged (see Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)).
    Regards,
    Hussein

  • Specific value in one field determines value in fields

    I am building a form using Adobe Pro and I am fairly new to Java Script.
    One of the fields I am creating can only be a specific value (nra).  If nra is selected it needs to blank out a second field and put a number 1 in a third field. Can java script be used on drop down boxes? If not it is ok if the nra field is a free form text field.
    Thanks,
    Christy

    The type doesn't really matter, as long as the value can be validated. But
    if you use a drop-down, make sure to tick the option to commit the selected
    value immediately, or the script will only kick in once you leave the field.
    There are excellent tutorials about using JavaScript in Acrobat on
    AcrobatAnswers.com, and of course there's the Acrobat JavaScript API
    Reference, here: http://www.adobe.com/devnet/acrobat/javascript.html

  • Update record to specific value or to null

    Hello.
    We have two tables. Both have the same attribute. Update sentence look if attribute has the same value in both tables. If the value is the same, another attribute is updated to specific value in one table.
    Now i want to update attribute in all records. But if the both tables haven't got the same value, attribute in record should be updated to null.
    For now update looks like:
    update tableA set att1 = att2
    where att3 = value2 and att4 IN (select att4 from tableB where att2 = value2);
    Any idea?
    I hope i explained the problem properly.
    Thanks.

    Like..
    SQL> select * from test1;
    C1         C2
    c1          1
    SQL> select * from test2;
    C1        C22        C33
    c2         11        100
    c1          1        100
    SQL> update test2 t2
      2  set c33 = decode(c22,(select max(c2) from test1 t1 where t1.c1=t2.c11),0,null);
    2 rows updated.
    SQL> select * from test2;
    C1        C22        C33
    c2         11
    c1          1          0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Select more value of variable in planning folder

    hi gurus,
    I'm using planning folder.
    In planning folder there is a variable that contain many value, for example 0COSTCENTER that contain 10 singles values. (from 1 to 10)
    User wants to select some values contained in variable.
    For example 2 and 5, even if it is authorized on all the cost center contained in variable.
    In this moment it selects one to the time.
    how I can make to resolve this problem?
    Thanks
    Davide

    Davide,
    sorry to say that, that'z the way BPS works.
    it's one of the BPSlimitation & many people are asking for an answer from SAP.
    as a workaround, you can do following things.
    1. user can select variable range, for example 2 to 5.
    2. create a variable with properties "user specific values" & fill in required cost centers for each user & don't check the flag "input allowed by user".
    in the 2nd option, you can assingn multiple single values to USER1.
    if u assign, cost center 2 & 5 to USER1, USER1 gets ability to plan on both 2 & 5 without even selectiing cost centers.
    3. you can even look into authorization variables & user-exit variables if they meet your requirements.
    hope it helps.

  • Specific Values in Info Package

    Hi All,
    I want to load the data into BW by giving the specific values in Info Package Level.
    For example i want to load data for a sales number = 1,6,10,2000 etc. Instead of giving the intervals, i want to load the data specific to the sales Order Number
    I have seen From and TO values over there. Can i write any ABAP Code to pull the data by hard coding the above values over there.
    Pls suggest.
    Thanks,
    Jelina.

    Hi,
    You can achieve it in both the ways.
    You can hardcode in the infopackage through multiple single values instead of range.
    Please the cursor on the Sales Order number and Click the green color '+' button.
    It will create an additional line.  You can enter the second Sales order number.
    You can also write an ABAP routine.
    But if the sales order numbers are available, then it is better to enter in the data selection sceen.
    Thanks.

  • At selection-screen value- help

    Hi All,
    I have a requirement that based on a radio button one at selection-screen value-help is triggered and on based on a different radio button another at selection-screen value-help should be triggered.
    can it be achieved.
    Regards,
    Jeetu

    AT SELECTION-SCREEN - selscreen_event
    Syntax
      | { ON {para|selcrit} }
      | { ON END OF selcrit }
      | { ON BLOCK block }
      | { ON RADIOBUTTON GROUP radi }
      | { }
      | { ON {HELP-REQUEST|VALUE-REQUEST}
      |   FOR {para|selcrit-low|selcrit-high} }
      | { ON EXIT-COMMAND }.
    Alternatives:
    1. ... OUTPUT
    2. ... ON {para|selcrit}
    3. ... ON END OF selcrit
    4. ... ON BLOCK block
    5. ... ON RADIOBUTTON GROUP radi
    6. ... { }
    7. ... ON {HELP-REQUEST|VALUE-REQUEST} FOR
          {para|selcrit-low|selcrit-high} }
    8. ... ON EXIT-COMMAND
    Effect
    These additions allow individual evaluation of specific elements of the selection screens of the program. The information as to which selection has triggered the event is contained in the system field sy-dynnr.
    Alternative 1
    ... OUTPUT
    Effect
    This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.
    Note
    The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.
    Alternative 2
    ... ON {para|selcrit}
    Effect
    This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
    No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
    Note
    If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
    Alternative 3
    ... ON END OF selcrit
    Effect
    This event is triggered after the selection table selcrit has been fully passed to the program after a user action in the dialog box for the multiple selection has taken place. In the event block, the entire selection table can be checked.
    Alternative 4
    ... ON BLOCK block
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the input fields of a block block of the selection screen were passed to the ABAP program. In the event block, the user inputs can be checked. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
    Alternative 5
    ... ON RADIOBUTTON GROUP radi
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the fields of a radio button group radi of the selection screen were passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or error message in the event block makes all the radion buttons of the block radi ready for input again.
    Note
    The individual fields of a radio button group are not passed individually and do not trigger the event AT SELECTION-SCREEN ON par.
    Alternative 6
    Effect
    The event AT SELECTION-SCREEN itself is triggered as the last event of selection screen processing if all the input values were passed to the program. In this event block, all the user inputs can be checked. Sending a warning or an error message in the event block makes all the screen fields ready for input once again.
    Alternative 7
    ... ON { HELP-REQUEST | VALUE-REQUEST } FOR
        {para|selcrit-low|selcrit-high} }
    Effect
    The two events ON HELP-REQUEST and ON VALUE-REQUEST are triggered at the screen events POH and POV of a selection screen if - for the input field of a parameter para or one of the input fields of a selection criterion selcrit - the field help F1 or the input help F4 was called. Other selection events are not triggered.
    In the event blocks, a self-defined field or input field can be programmed, which overrides any helps possibly defined in the ABAP Dictionary.
    Notes
    These event blocks can only be implemented for fields of the selection screen that are defined in the same ABAP program and not in a possibly linked logical database.
    With the events for the field and input help, no data is transported between the selection screen and the ABAP program. As with general screens, suitable function modules must be used for these. The parameters and selection criteria changed for the input help are transported to the selection screen.
    Alternative 8
    ... ON EXIT-COMMAND
    Effect
    This event is triggered if the user has called one of the functions Back, Exit or Cancel. In the event block, possible clean-up actions can be executed.
    Example
    In these executable programs, a standard selection screen and a further selection screen are defined. In the event blocks AT SELECTION-SCREEN, the inputs in the selection screens can be specially handled using the name p_carrid and the screen number in sy-dynnr.
    REPORT demo_at_selection_screen.
    Global data
    DATA: sflight_tab TYPE TABLE OF sflight,
          sflight_wa  LIKE LINE  OF sflight_tab.
    Selection screens
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN BEGIN OF SCREEN 500.
      SELECT-OPTIONS s_conn FOR sflight_wa-connid.
      DATA s_conn_wa LIKE LINE OF s_conn.
    SELECTION-SCREEN END OF SCREEN 500.
    Handling selection screen events
    AT SELECTION-SCREEN ON p_carrid.
      IF p_carrid IS INITIAL.
        MESSAGE 'Please enter a value' TYPE 'E'.
      ENDIF.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                          ID 'CARRID' FIELD p_carrid
                          ID 'ACTVT'  FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE 'No authorization for carrier' TYPE 'E'.
      ELSEIF sy-subrc <> 0.
        MESSAGE 'Error in authority check' TYPE 'A'.
      ELSE.
        IF sy-ucomm = 'ONLI'.
          CALL SELECTION-SCREEN '0500'.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
      IF sy-dynnr = '0500'.
        IF s_conn IS INITIAL.
          MESSAGE 'Please enter values' TYPE 'W'.
        ELSE.
          SELECT *
                 FROM sflight
                 INTO TABLE sflight_tab
                 WHERE carrid = p_carrid AND
                       connid IN s_conn.
          IF sy-subrc <> 0.
            MESSAGE 'No flights found' TYPE 'E'.
          ENDIF.
        ENDIF.
      ENDIF.
    Main program
    START-OF-SELECTION.

  • Validate the Selected Lookup value.. Is it possible??

    Hello Experts,
    Can we Validate a lookup field across a Integer field??
    In detail..
    I have a Look up field which holds 4 digt numeric values
    Order Number
    0001
    0002
    0003
    0004
    Serious is a integer field where the user enters 4 digit numbers..
    So, i need to validate whether the user Selected a value from Lookup Field and its the same value that he keyedin in the Serious Field Or not!!!
    Did anyone face similar situation!! If so how did you resolve, i have tried many tricks in validation but not sure What i am missing!!
    I have tried the below but it did not Work..
    IF (Order Number.[Record] = Serious,TRUE)
    KR
    John

    To be very specific..
    My Maintable has..
    1) Material Type - Lookup Field
        Lookup values:
        Raw material
        Storage
    2) Order Number - Lookup field
    Lookup values:
    0001
    0002
    0003
    DUMMY
    3) Serious - Text Field With length as 4
    Now my requirement is IF Material Type is Raw material THEN Order Number Should be Equal to DUMMY or Equal to Serious...
    I tried may types of validatios but none worked,  Like for example..
    IF(Material Type . Type = Material Type [Raw material]  AND Order Number . Number = Order Number [DUMMY] OR Order Number . Number = Serious , TRUE)
    Did anyone face similar situation, If so how di you fix!!!!
    Please Help
    KR
    John

Maybe you are looking for

  • Error while opening HFM Application "The Parameter is Incorrect"

    I have recently installed HFM 11.1.2.1 and created an applicatiion. When I try to open that application, system is giving an error message stating "The Parameter is Incorrect" Error Reference Number: {DB65561D-1ECC-4227-9361-BB662D71078A};User Name:

  • Mass  Generation Of  Roles

    Hi Which option does user have to choose from the list to output the mass generation of roles at PFCG? Nag.

  • How to start the Oracle 8i client in redhat 7.2?

    I have installed properly oracle 81 client and server properly. I wanna access anothe linux server. But I don't know how to start the clent ?..And what are should be done to access the remote oracle server? Thanks

  • Creating Trandsport Package and storing the data on the local machine

    Hi all, I am upgrading my portal from NW04 to NW04s , i want to take the backup of all the application which i made so how is it posible, i know transport object is one solution but how to do it, can somebody send me somethig related to this regards

  • App Store Update Not Working

    With Mavericks installed on my Mac Pro I had been experiencing for a while erratic behaviour from the App Store and now it is not working. When trying to update software it used to put up a message "Can't load data from the software update server"  a