Radio buttons determine which company logo is displayed

In ES9 I created a form using the Action Builder feature where the first line is two radio buttons for the user to select which of our two companies they work for. Depending on their selection, the corresponding company logo is changed from invisible to visible on the Master Page. This works fine but when a second page is generated dynamically, the logo is only displayed on page one. How do I get to display on all subsequent pages generated?

Hi,
I believe what is happening is that when a new page is being rendered, it reverts the image objects to their default/initial state (in your case probably hidden).
Have a look at this example: http://assure.ly/mcFrC6. In particular the script on page 1. This demonstrates how you can assign the rawValue of an ImageField to any existing Image object. While the example is on the Design pages, the same approach would be used on a Master page.
Set up an ImageField object on the Master page, without a default image and without a caption.
Set its binding to Global.
Set up two Image objects and link the two logos.
Set these Image objects to hidden.
Then the script would follow the example, where it would set the value of the ImageField to match the value of the appropriate Image object (logo).
I can confirm that this will work, but can't share an example.
Niall

Similar Messages

  • Company logo not displayed in preview only for few users

    Hi to all.
    i inserted a company logo in a sapscript with se78 transaction. The most of user are able to preview and print the document with the logo.
    Few users ado not see the logo both in preview and in printing. I checked the su53 for these users and it seems that their buffers are not update. I don't know how to solve. Could someone help me ?
    Thanks in advance.Regards

    Hi,
    Check this things first.
    1. Your logo check on which client may be at dev client it's working but at other cllient it's not working for that u have to transport logo from dev client to other client.
    2. What the format of your form because size can be littlebite change printer wise.
    3. Check the size of window in which u declare logo or granphic window.
    4. Check the upper window or side window of graphic window.
    Rewards points if it is useful.

  • Display company logo on display in SAP ESS

    I copied HR_ESS_PAYSLIP_TO_PDF to ZHR_ESS_PAYSLIP_TO_PDF with the purpose to display a logo in the ADOBE reader screen in the browser.
    When form attributes output settings are set to HTM XSF no logo is displayed, when set to standard the output is out of alingedment but the logo is shown!
    Any other solutions??!?!?

    Hi,
    On initial screen go to menu Extras -> Settings and then make sure that option "Do not display picture" is not checked...
    regards
    Krzys

  • How to determine which company code a customer is assigned

    hi
    anybody knows how a customer is connected to a company code
    i know its connected to several company codes but i want to know the original company code

    Hi
    Anjali's question sounds valid. As per my understanding we cannot Create a customer many times. The customer will be created only once (say Customer 1000) and the same existing customer will be extended to other company codes and for other sales areas based on the requirement. The company code and the sales area details in which the customer was initially created should be traceable.
    But I donot understand the reason for looking for these details.It will give more clarity on the requirement if the reason behind this requirement is also posted by Anjali.
    Thanks,
    Ravi

  • Radio button and selection screen

    hi
    my requirement is that if the user enters some particular combination of value in the select options and clicks a particular radio button there should be an error message displayed.
    1)  I am getting the error message in the form a dialog box , but it has only option of  exit , and the user is thrown of the screen. my requirement is that after the error message the user must still be at the same screen so that he can enter new values.
    2)  the code that i have written also has one more anamoly that the displaying of error depends upon the sequence of  actions .
      if  i enter the value in the select option first and then click the radio button then the error message is displayed which is correct.
    but it doesnt work i click the radio button first and then enter the value, the program is executed and NO ERROR message is flashed.
    here is what i have written
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE  text-001.
    SELECT-OPTIONS: p_year  for  s021-spmon obligatory ,
                    p_kunag  FOR vbrk-kunag  ,
                    p_matnr  FOR vbrp-matnr  ,
                    p_augru  FOR vbrp-augru_auft modif id a1 ,
                    p_vbeln  FOR vbrk-vbeln  .
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE  text-002.
    PARAMETERS:  nrw RADIOBUTTON GROUP g1 user-command check,
                 mwd RADIOBUTTON GROUP g1 ,
                 rws RADIOBUTTON GROUP g1 ,
              edu RADIOBUTTON GROUP g1 ,
             standard RADIOBUTTON GROUP g1 default 'X' .
    SELECTION-SCREEN END OF BLOCK blk2.
    SELECTION-SCREEN END OF BLOCK blk.
    at selection-screen output.
       loop at screen.
       if nrw = 'X' and p_augru-low EQ 'MWD'.
           MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
    endif.
       endloop.
    START-OF-SELECTION.
    CASE 'X'.
    WHEN nrw.
    PERFORM set_dates_nrw.
          PERFORM load_data_nrw.
          PERFORM get_cust_info_nrw.
          PERFORM set_alv_field_cat_nrw.
          PERFORM display_alv_nrw.
    endcase.

    Hi
    Change this piece of code
    at selection-screen output.
    loop at screen.
    if nrw = 'X' and p_augru-low EQ 'MWD'.
    MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
    endif.
    endloop.
    by
    <b>at selection-screen.
    if nrw = 'X' and p_augru-low EQ 'MWD'.
    MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
    endif.</b>
    Reward points if useful.
    Regards,
    Atish

  • Radio button field issue in the selection screen

    Hi Folks,
    I am using an LDB(Logical Data Base) of 'PNP' in my custom report and the LDB has a selection screen with different parameters .
    My concern is, the selection screen has 6 Radio buttons from which if I select one from the first 5 Radio buttons the Dates highlighted should clear off, and when I click on Radio Button 'Other Period' the dates should display as shown .
    Note: I am using the ECC 4.6C
    Please suggest any solution to achieve this functionality .
    Thanks,
    Sujay.V

    Hi,
    Consider your radio buttons looks like below:
    PARAMETERS: RADIO1 RADIOBUTTON GROUP R1 MODIF ID RA1, "Today
                               RADIO2 RADIOBUTTON GROUP R1 MODIF ID RA2, "Current Month
                               RADIO3 RADIOBUTTON GROUP R1 MODIF ID RA3, "Current Year
                               RADIO4 RADIOBUTTON GROUP R1 MODIF ID RA4, " Up to today
                               RADIO5 RADIOBUTTON GROUP R1 MODIF ID RA5, "From today
                               RADIO6 RADIOBUTTON GROUP R1 MODIF ID RA6. "Other period
    AT SELECTION-SCREEN.
    IF RADIO1 EQ 'X' OR RADIO2 EQ 'X' OR RADIO3 EQ 'X'
        OR RADIO4 EQ 'X' OR RADIO5 EQ 'X'.
         CLEAR: "Add your date variables here
    ELSEIF RADIO6 EQ 'X'
         ADD Logic for your date variable here
    ENDIF.
    Hope this will help you .
    regards,
    Rajesh Sadula.

  • Missing company logo when printing form

    Hi,
    We have sap script for billing document, in which company logo has been added to it.
    But at the time of printing the form the logo is getting missed by business user. However when I tried to print the form by using my user ID the logo is getting displayed.
    Is it the problem with business local printer setting or with form itself?
    Thanks in advance.

    Hi Nishad,
    The problem here is neither with the user nor with the form
    but the logo doesnot exists for the user in the location u have to place.
    so if u place the logo in their server the problem will be solved.
    Regards,
    Prakash.

  • Radiobutton - determining which of group is selected

    I can't for the life of me figure out how to determine which
    individual radiobutton is 'dotted'. I have two radiobuttons in the
    same group and I want them to make a certain movieclip object
    visible. So you choose RB1, MC1 is to become visible. Choose RB2
    and MC2 becomes visible. Of course, while making MC1 visible I'd
    also like MC2 to hide and vice versa.
    Also, there is a replay button which needs to determine which
    RB is 'dotted' so it can actually play the appropriate visible MC.
    I've tried to code this a dozen different ways. The attached
    code is just my latest attempt. Please provide some clarity if you
    would. argh... Thanks

    Tim,
    Thanks for putting me on the right path. It would seem that I
    had the event listener assigned to the Radio 'groupname'. And in
    that case the eventObj returned the same name each time which
    happened to be the 1st choice of the group. So I created two event
    listeners, one for each individual radio item and then adjusted my
    code accordingly.
    However, that lead me to another dilema. How does the
    'replay' button determine which radiobutton is the current 'dotted'
    selection. And for that I could only come up with a variable that
    holds the name of the last radio selected. Seems there should be
    another way to do this but I'm at a loss.
    If anyone feels like helping some more with these radio
    buttons, feel free. Thanks.

  • How do I make a Radio Button Widget Report to an LMS?

    Alright....still trying to solve my basic problem.....
    I can put in a radio button widget which looks great, but radio buttons do not report info to LMS.  THen I can use Ravvi's code style to set a variable based on which radio button was clicked and then take a specific action depending on the value.  The action I want is to send info to LMS.  How can I do this? 

    I may have, but I have run across many Survey forms that do exactly that.
    Some also have checkboxes as well and they are used for Check all that apply.
    For all I know they may be using JavaScript code for the buttons to react the way the do.
    I don't know if any of you are old enough to remember the old two button light switches. push one in and the others pop out. Push the other in and the first pops out.  That's the button action I see on many survey forms.
    I am not saying it correct. But if its not correct, how does one change their mind if the clicked the wrong choice?

  • Using Back button issue for radio button

    Dear All,
    My initial screen has 2 radio buttons, on selecting will take to a selection screen with few fields, i have enabled the back button using MODULE user_command AT EXIT-COMMAND.
      when i select a Radio Button 1 which takes to the Selection Screen 1, if the user clicks back button it works fine, even thou we got a mandatory field, it goes back,
    however when i click Radio Button 2 it still takes me to Selection Screen 1, its the same vice versa.
    Is there anyway i can change the screen based on radio button entry

    Hi Krishan,
    You can call your desire selection screen based on the button click.
    if you are working on report program (SE38), then say you have two radio button p1 and p2 and also you have created two selection screen block B1 and B2 and each block has some selection screen elements i.e fields.
    Now if you want that after radio button click b1, you want the only selection screen block B1 and while clicking radio button b2 click ,you want only selection screen block B2.
    Two acheive this in report programming, use the event AT SELECTION-SCREEN OUTPUT.
    so a demo code for the same,
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-049.
    PARAMETERS: p_header RADIOBUTTON GROUP asim USER-COMMAND s DEFAULT 'X',
                                p_item RADIOBUTTON GROUP asim.
    SELECTION-SCREEN END OF BLOCK lim.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-051.
    PARAMETERS : p_vbeln TYPE vbak-vbeln MODIF ID sc1,
                  p_audat TYPE vbak-audat MODIF ID sc1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-050.
    PARAMETERS : p_vbeln1 TYPE vbap-vbeln MODIF ID sc2,
                                 p_posnr TYPE vbap-posnr MODIF ID sc2.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
       IF p_header EQ 'X'.
         LOOP AT SCREEN.
           IF screen-group1 = 'SC1'.
             screen-active = '1'.
           ELSEIF screen-group1 = 'SC2'.
             screen-active = '0'.
           ENDIF.
           MODIFY SCREEN.
         ENDLOOP.
       ELSEIF p_item EQ 'X'.
         LOOP AT SCREEN.
           IF screen-group1 = 'SC2'.
             screen-active = '1'.
           ELSEIF screen-group1 = 'SC1'.
             screen-active = '0'.
           ENDIF.
           MODIFY SCREEN.
         ENDLOOP.
       ENDIF.
    If you are working with Module POOL, then code in the PAI of the screen, and call your respective screen while respective button click.
    code:
    MODULE user_command_900 INPUT.
         IF p1 EQ 'X'.
              CALL SCREEN 9001.
         ELSEIF p2 EQ 'X'.
              CALL SCREEN 9002.
         ENDIF.
    NOTE: your screen 9001 have some screen input fields and 9002 have some screen input fields.
    Thanks & Regards
    Syed

  • Selection screen: Radio button

    HI,
    I want to create a report with the selection screen.
    In the selection screen. there are two radio button under which there are two fields in each of it.  Like Below
    Radio Button 1
    Field 1
    Field 2
    Radio Button 2
    Field 3
    Field 4
    if the User select the first radio button then Field 1 & 2 should be available for input and field 3 & 4 in the other radio button should not be available for input. which means it should be grayed out. Vice versa.
    Where do i need to modify the screen parameter for the fields?..
    Please suggest me a way forward
    Regards
    Suresh Kumar

    Report ZTEST1.
    DATA : FLAG(1) value 1,
          FLAG1(1) value 0.
    selection-screen begin of block b1 with frame.
    PARAMETERS : APPLSER  RADIOBUTTON GROUP  R1 USER-COMMAND R,
                 P_ASER(25) MODIF ID AS,
                 P_ASER1(25) MODIF ID AS.
    *selection-screen end of block b1.
    SELECTION-SCREEN COMMENT /1(30) comm2.
    *selection-screen begin of block b2.
    parameters : PRESER   RADIOBUTTON GROUP  R1,
                 P_PSER(25) MODIF ID PS,
                 P_PSER1(25) MODIF ID PS.
    selection-screen end of block b1.
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'R'.
          IF APPLSER = 'X'.
            FLAG = '1'.
            FLAG1 = '0'.
          ELSEIF PRESER = 'X'.
            FLAG = '0'.
            FLAG1 = '1'.
          ENDIF.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'AS'.
          SCREEN-INPUT = FLAG.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'PS'.
          SCREEN-INPUT = FLAG1.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Message was edited by:
            Sriram Ponna

  • Facing Problem in Configuring Radio buttons

    Hi,
    I have a requirement as follows:
    There are two  fields:
    A1 - Input field
    R1 - Radio button field
    Now I need to display the fields as mentioned below,  in ONE ROW of left Panel
    I to J                   K to M                          N to P
    A1.label            A1.field value             R1 (2 radio buttons with no label)
    When I am trying to do this, I am getting an error for Radio button field, saying:
    Element must cover the entire panel
    Error in property value
    Could you please help me out to solve my issue..
    Thanks for the needful..
    Sandeep

    Hi Dharma,
    My Problem is solved..
    Well the weird part is, when I click on Apply button, it has shown the errors as mentioned above. I thought, it won't allow me to save the configuration.  However as soon as click on SAVE button, all the config changes have been updated successfully.
    I am not sure, why SAP is showing those errors, when we are able to save the config successfully....
    Thanks for your reply...
    Cheers
    Sandeep

  • Adobe Form- Radio Button!!

    Hi Experts,
    I am working on the Adobe Form in which the data is coming from the Backend RFC. So my DataSource is binded to the Bapi node.
    Now my requirement is to add Radio Button for which I have defined in the Dictionary SimpleTypes and binded an attribute to it.
    The problem is since my DataSource in the PDF Form is already binded to the Bapi node I cant get the data for the Radoi button from the attribute(Dictionary simpleType).
    Can somebody suggest me how to go about it in my case. Any useful Help will be given points.
    thanks,
    Vikram..

    Hi,
    You will have to define a value node and then copy values from model node to value node. This way you can define additional attrbute apart from the atributes for data.
    Let me know if you have any problems.
    Regards,
    Ashutosh

  • Forms- Radio buttons

    Hi,
    I've got a form that has radio buttons included which work fine. But what I want is, when a particular radio button is clicked then a new sub-menu will appear, and there will be a different sub-menu for each radio button. Apologies if I haven't explained it that well but I will post any clarifications should you need them.
    Thanks.

    You want to do a search for javascript and dependant radio buttons.  You should be able to get a script pretty quick.
    Gary

  • How to disable a field on the basis radio button value selected.

    hello to all,
    i am facing one problem.I have declared two selection screen blocks.
    In one i hvae declared two radio button r1 -Fiscal year and r2--Datewise.
    And in another selection screen block all i/p fields. like plant. date.year etc.
    Now if user select r1-Fiscal year  then i/p field - date of second block should be disable.
    And if user select r2-Datewise  then i/p field - year of second block should be disable.
    SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME
              TITLE TEXT-002.
           PARAMETERS: R1 RADIOBUTTON GROUP RA1 user-command ucomm,
                       R2 RADIOBUTTON GROUP RA1 DEFAULT 'X'.
       SELECTION-SCREEN END OF BLOCK  BLK.
    selection-screen begin of block b1 with
      frame title text-001.
    parameters : gjahr like ZSA_DETAIL-gjahr  MODIF ID YAR,
                 aedat like ZSA_DETAIL-aedat  MODIF ID DAT,
                 werks like ZSA_DETAIL-werks .
    selection-screen end of block b1.
    AT SELECTION-SCREEN on RADIOBUTTON GROUP RA1.
       BREAK-POINT.
        IF R1 = 'X'. "fiscal
         LOOP AT SCREEN.
            IF screen-group1 = 'DAT'.
             screen-active = 0.
             screen-invisible = 1.
             MODIFY SCREEN.
             ENDIF.
            endloop.
       ELSEIF R2 = 'X'.
         LOOP AT SCREEN.
         IF screen-group1 = 'YAR'.
           screen-active = 0.
          MODIFY SCREEN.
         ENDIF.
         ENDLOOP.
        ENDIF.

    Hi Shikha,
    Regarding your query, when you select a particular radio-button then the fields pertaining to that radio-button should get activated or get displayed, otherwise it should be hidden.
    This can be done adding the addition to the Radiobutton 'USER-COMMAND' this will automatically enable-up
    the functionality of the fields related to that radiobutton, while disabling the others.
    If USER-COMMAND isn't given, then ENTER key serves the purpose.
    DATA:
    w_carrid LIKE sflight-carrid,
    w_connid LIKE sflight-connid.
    PARAMETERS:
    p_carrid RADIOBUTTON GROUP airl USER-COMMAND airline,
    p_connid RADIOBUTTON GROUP airl.
    SELECT-OPTIONS:
    s_carrid FOR w_carrid,
    s_connid FOR w_connid.
    INITIALIZATION.
    p_carrid = 'X'.
    Now enabling desired fields and disabling the others, can be done by the following snippet.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_carrid EQ 'X'.
    IF screen-name CS 'S_CONNID'.
    screen-active = 0. " Disable the field S_CONNID
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CARRID'.
    screen-active = 1. " Enable the field S_CARRID
    MODIFY SCREEN.
    ENDIF.
    ELSEIF p_connid EQ 'X'.
    IF screen-name CS 'S_CARRID'.
    screen-active = 0.
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CONNID'.
    screen-active = 1.
    MODIFY SCREEN.
    ENDIF.
    ENDIF.
    ENDLOOP.
    Hope, this would help you solve your problem.
    Thankyou,
    Zahack.

Maybe you are looking for

  • I need to know if there is a user name and password associated with accessing a certain website.

    I'm not sure if at one time there was a username and password given so that I automatically could access a site. The site is the home page for my department on the intranet of the company I work for, and they've activated a new vpn. If I use Safari,

  • OAS 4.0.8.1 - Some issues

    1) Is connection pooling possible in OAS 4.0.8.1 ? 2) Can JDBC 2.0 drivers be used with OAS 4.0.8.1 . If yes , can we register the datasource in the JNDI namespace ? How ? null

  • Adobe Flash Player Problem: "Movie Not Loaded"

    new user to mac. i'm getting more and more frustrated with this computer. what's bugging me the most right now is i am unable to view videos on certain websites. rather than showing the content, a white box appears. when i right click on the white bo

  • Get apps for ios4

    i have a i touch 2nd gen  and can no longer get apps for it .. at all whats up with that?  I got radio app and it doesnt work at all says i need to update.. yet it let me get the app .   so frustrated.. its still a good Itouch , not a thing wrong wit

  • Vendor  master repliaction &  Material Master Replication

    Hi GRM Gurus, Whether Vendor  master replication &  Material Master Replication is applicalbe only to Plan driven procurement (PDP ) Scenario only (Extended Classic)   (or)  it is needed for Classic Scenario ? Please give your views Regards G.Ganesh