SLIN - GUI Status cannot be checked statically for my_module:pool??

Hi Experts,
Am executing the SLIN for my_module_pool_prog. So, I got 1 message,
Pls. let me know that,
1  - Wht is the meaning of the following statement
2 -  How to fix it?
GUI Status cannot be checked statically.
  SET PF-STATUS wa_con_pf1.            
(You can hide the message using "#EC *)
My code in PBO is,
If xxxxx = Y.
SET PF-STATUS wa_con_pf1.
endif.
Am guessing, its coz of, writuing the SET PF-STATUS wa_con_pf1 statement in  IF condition!!!!!!
thanq
thanq
Edited by: Srinivas on Apr 4, 2008 4:55 PM

Yes, the message is self explanatory GUI Status cannot be checked statically.
As it is in if condition, compiler don't know what will be the value for PF-status at run time. And PF-status needs to be determined statically(at compile time).
Following will hide the message:
If xxxxx = Y.
SET PF-STATUS wa_con_pf1. "#EC *
endif.
Not sure about the  effect of "#EC.  I guess , it says skip this statement while Extended Check.
G@urav.

Similar Messages

  • GUI status local/global

    Is gui status that is created by us for a particular program is local for that progam or it is global, so that we can use it in other programs.
    Waiting for replies
    thanx in advance

    Hi,
    GUI STATUS are screen specific, different for each screen.  If u want to use same in other prg then copy gui status to that program in se80-gui status-status name - right click -copy.
    Hope it will helpu.
    Jogdand
    PS: Award if helpful

  • GUI Status - Report program

    Hi Experts
                 How to create toolbar in the Report program.
                ie how to add gui status and how to code for it.
                 Pls suggest me.
    Thanks in advance.
    Regards
    rajaram

    Hi
            This is my coding part inwhich i want to add a button in toolbar, Can you change this coding that where exactly changes needed and what.
              Pls help me.
    Regards
    Rajaram
    REPORT  ZSAB_POLY_INVOICE.
    tables : vbrp, vbrk, vbap.
    DATA : BEGIN OF it_final OCCURS 0.
            INCLUDE STRUCTURE ZINV_ORG.
    DATA : END OF it_final.
    data : wa like line of it_final.
    data : mode type string.
    data : flag type i,
           flag1 type i.
    DATA : fm_name  TYPE  rs38l_fnam.
    DATA : w_formname TYPE tdsfname.    "form name
    w_formname = 'Z_POLY_ORGINAL'.
    DATA: LX_OUTPUT TYPE SSFCOMPOP,
    LX_CNTL TYPE SSFCTRLOP.
    LX_CNTL-NO_DIALOG = 'X'.
    LX_OUTPUT-TDDEST = 'LP01'.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
    PARAMETERS vbeln TYPE vbrk-vbeln matchcode object ZINVOICE.
    PARAMETERS rtim TYPE vbrk-ERZET.
    SELECTION-SCREEN END OF BLOCK bk1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    parameter : p_org as checkbox,
                p_dup as checkbox,
                p_tri as checkbox,
                p_qua as checkbox.
    SELECTION-SCREEN END OF BLOCK b2.
           select a~vbeln
                  a~bukrs
                  b~posnr
                  b~werks
                  a~stceg
                  a~FKDAT
                  a~INCO1
                  a~INCO2
                  b~MATNR
                  b~ARKTX
                  b~FKIMG
                  b~UEPOS
                  from vbrk as a
                  inner join vbrp as b on avbeln = bvbeln
                  into corresponding fields of table it_final
                  where a~vbeln = vbeln.
    break pro01.
    if p_org is not initial and p_dup is not initial
    and p_tri is not initial and p_qua is not initial.
    mode = 'Original for Buyer'.
    perform original.
    mode = 'Duplicate'.
    perform original.
    mode = 'Triplicate'.
    perform original.
    mode = 'Quadruplicate'.
    perform original.
    elseif p_org is not initial and p_dup is not initial
    and p_tri is not initial.
    mode = 'Original for Buyer'.
    perform original.
    mode = 'Duplicate'.
    perform original.
    mode = 'Triplicate'.
    perform original.
    elseif p_dup is not initial and p_tri is not initial
    and p_qua is not initial.
    mode = 'Duplicate'.
    perform original.
    mode = 'Triplicate'.
    perform original.
    mode = 'Quadruplicate'.
    perform original.
    elseif p_org is not initial and p_dup is not initial.
    mode = 'Original for Buyer'.
    perform original.
    mode = 'Duplicate'.
    perform original.
    elseif p_tri is not initial and p_qua is not initial.
    mode = 'Triplicate'.
    perform original.
    mode = 'Quadruplicate'.
    perform original.
    elseif p_org is not initial and p_tri is not initial.
    mode = 'Original for Buyer'.
    perform original.
    mode = 'Triplicate'.
    perform original.
    elseif p_dup is not initial and p_tri is not initial
    and p_qua is not initial.
    mode = 'Original for Buyer'.
    perform original.
    mode = 'Duplicate'.
    perform original.
    mode = 'Triplicate'.
    perform original.
    elseif p_org is not initial.
    mode = 'Original for Buyer'.
    perform original.
    endif.
    *&      Form  original
          text
    -->  p1        text
    <--  p2        text
    FORM original .
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = w_formname
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = fm_name
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION '/1BCDWB/SF00000447'
    EXPORTING
    RTIM = RTIM
    MODE = MODE
    *ARCHIVE_INDEX =
    *ARCHIVE_INDEX_TAB =
    *ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS = LX_CNTL
    *MAIL_APPL_OBJ =
    *MAIL_RECIPIENT =
    *MAIL_SENDER =
    OUTPUT_OPTIONS = LX_OUTPUT
    *USER_SETTINGS = 'X'
    *BOL_NUM =
    *CARRIER_NAME =
    *SHIP_FROM_ADR =
    *SHIP_TO_ADR =
    *THIRD_PARTY_ADR =
    *IMPORTING
    *DOCUMENT_OUTPUT_INFO =
    *JOB_OUTPUT_INFO =
      TABLES
        it_final                  = it_final
    IF sy-subrc = 0.
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • GUI status for report

    Hi,
        I had created GUI status for output list in one report. its status is active in program but in report output this created status is not activated (Menu bar, application toolbar). Has anybody face this kind of problem before?
    Regards,
    Dilip

    hi,
    use command
    SET GUI-STATUS 'menu1' -> double click on menu1 ->select menu bar radio button from available radio buttons -> click on expand butt0n -> select required buttons n give function codes n select user-command optionfor those buttons ->activate -> back ->activate the report prgm.
    i think in our case you didn't activated the menu painter screen. check it once n dont forget to assign f.code n to give user-command after giving static text for buttons that u will use in prgm.
    if helpful reward some  points.
    with regards,
    suresh babu aluri.

  • Any ideas for GUI status manipulation?

    Hi All,
    I have a requirement with me, which I'm not able to figure out how to achieve. Here goes:
    There's a transaction in ERP system (CO11N) which was originally not designed (it seems) to be used with CALL TRANSACTION kind of way. But now a requirement is to call it that way... I guess I can do that anyway by passing the SET PARAMETER for the key input fields...
    But there's also another requirement that when calling the transaction this way, make sure two of the application toolbar buttons should be disabled. And they should be enabled when the transaction is called directly from the command bar (as /nCO11N).
    I don't have any set/get parameters to check for and disable/enable the GUI status Fcodes with it...
    Can someone please give me some pointers as to how this can be achieved?
    Thanks in advance!
    Mithun.

    Hello Jonathan,
    Thanks a lot for the quick tip.
    I thought of this technique as well... But then figured that using this 'export to memory' technique is not a very recommended way...
    Thus I want to keep this way as a last resort for the time being... But would like to know if there is any better way to achieve the same effect without using the shared memory sort of technique.

  • Windows update cannot currently check for updates

    dears
    when I Try to update my windows 7 by clicking on windows update ( control panel or windows update) I get some notification saying
    "windows update cannot currently check for updates because of the service is not running you may need to restart the computer"
    I have tried with 2 solution in internet found but not successeded as below :
    1) stop windows update service and rename " SoftwareDistribution" folder in order to be created later after restart aformentioned service" and some solution as for stop "Background Intelligent Transfer Service" before windows
    update service even though didnt pass.
    2) run windows update troubleshooter to idnetify the problems and fix the issue , it tells me its fixed but nothing there.
    I need your support please if somebody encounter that to let me run my windows Update for more information its colored with red.
    Ali Hadawe

    Hi ,
    First of all ,I would you suggest to check the status of the "Windows update "services " and "Background Intelligent Transfer service".Run "Services.msc" to open the services manager.
    Someone has tried the following methods to resolve the similar issue,please have a try :
    1.go into Windows Update and change the settings to "Never check for updates (not recommended)", click OK, and then change it back to "Install updates automatically".
    2.Turn on the Windows Defender and update it .
    Here is a link for reference :
    windows update cannot currently check for updates because the service is not running window 7 HELP(pay attention to Brook and Gab_Power`s answers)
    https://social.technet.microsoft.com/Forums/en-US/ee85d867-ce2f-412f-8c03-f43ab92132cc/windows-update-cannot-currently-check-for-updates-because-the-service-is-not-running-window-7-help?forum=w7itproinstall
    If the issue persists, please run the fix it tool in the following link to reset the windows update components to have a check .
    How do I reset Windows Update components?
    http://support.microsoft.com/kb/971058
    Best regards

  • Gui status - Add status for F1

    Hi,
    My requirement like this way.
    I need to create a Gui status add FCODE to key F1. But if you expand the "Function Keys" icon in Gui status screen and scroll all the way right , you can find a function key option with icon ? . But this FCODE entry is in disable mode.
    But if you check SAP standard program SAPLLMOB and check gui status LOGON. You can find SAVE has been entered .
    Please don't suggest copy the standard gui status and use .
    Any other suggestion?

    I've tried but it did not worked for me.
    I've create a screen with 2 buttons: Button BACK and Button NEXT. The Function Codes are 'BACK' and 'NEXT' also.
    I've also created a brand new status gui and added this funtion codes to key F1 and F2.
    Result: when I press F1 key during screen execution, it opens a help window....
    Something is missing? Can you explain why do not works for me?

  • TS1424 i cannot play my videos or shows on itunes any more. i get the message saying "windows can check online for a solution to the problem" " i tunes has stopped working"

    i cannot play my videos or shows on itunes any more. i get the message saying "windows can check online for a solution to the problem" " i tunes has stopped working"

    Hi marymike,
    The crash signature is simalr to that mentioned in the thread: https://forums.adobe.com/thread/644139
    Please try the suggested steps mentioned and check.
    Regards,
    Rave

  • Cannot convert pdf to word - just spins and says retrievin current session status - has been doing it for days

    Cannot convert pdf to word - just spins and says retrievin current session status - has been doing it for days

    Hi da522811,
    Are you still having trouble converting files? It sounds as though you may be trying to convert via Reader, is that correct? If so, please try logging out, and then logging back in. You may need to log out via the web interface at https://cloud.acrobat.com if you don't have access to the Sign Out button in Reader.
    Please let us know how it goes.
    Best,
    Sara

  • SMS_STATE_MIGRATION_POINT Health check failed for port 80 with status code 500

    My SMS_STATE_MIGRATION_POINT gets a red cross because the health check of the SMS_STATE_MIGRATION_POINT is “sometimes” failing. I don’t understand why its fails sometimes? Any suggestions.
    gr, Iwan
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:51:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 2:56:29 PM 22044 (0x561C)
    Checking store for cleanup of failed or stale state stores... SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    STATMSG: ID=6207 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_STATE_MIGRATION_POINT" SYS=SWAMS0083 SITE=P01 PID=13560 TID=22044 GMTDATE=Thu Apr 15 13:01:29.777 2010 ISTR0="500" ISTR1="Internal Server Error" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:01:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:06:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:11:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:16:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Health check operation succeeded SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:21:29 PM 22044 (0x561C)
    Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Health check request failed, status code is 500, 'Internal Server Error'. SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)
    Completed availability check on local machine SMS_STATE_MIGRATION_POINT 4/15/2010 3:26:29 PM 22044 (0x561C)

    I'va got the following event in my security event log this is strange because the Windows Firewall is off and the problem is not always there, 8 out 10 time the health  checks passes.
    Log Name:      Security
    Source:        Microsoft-Windows-Security-Auditing
    Date:          4/15/2010 7:01:27 PM
    Event ID:      5159
    Task Category: Filtering Platform Connection
    Level:         Information
    Keywords:      Audit Failure
    User:          N/A
    Computer:      ********
    Description:
    The Windows Filtering Platform has blocked a bind to a local port.
    Application Information:
     Process ID:  13560
     Application Name: \device\harddiskvolume2\programs (x86)\microsoft configuration manager\bin\i386\smsexec.exe
    Network Information:
     Source Address:  0.0.0.0
     Source Port:  9000
     Protocol:  17
    Filter Information:
     Filter Run-Time ID: 0
     Layer Name:  Resource Assignment
     Layer Run-Time ID: 36

  • GUI status:  codes for standard functions

    Hi Experts,
    I have created a custom GUI status in my screen and enabled BACK, CANCEL, EXIT, PRINT and FIND buttons.
    With coding BACK, CANCEL and EXIT are working fine but what codes i should write for PRINT and FIND? Can anybody give me some sample codes.
    Points assured.
    Jogdand M B

    Hi
    For PRINT:
    NEW-PAGE PRINT ON.
      WRITE: 'Bye Bye'.
    For FIND, something like
    FIELD-SYMBOLS: <FIELD> TYPE ANY.
    LOOP AT SCREEN.
      ASSIGN (SCREEN-FIELD) TO <FIELD>.
      IF <FIELD> CS MY_STRING'.
        SET_CURSOR = SCREEN-FIELD.
        EXIT.
      ENDIF.
    ENDLOOP.
    In the PBO
       SET CURSOR FIELD SET_CURSOR.
    Max

  • HT2731 I want to use I tunes prepaid amt to buy music, I checked none for cc, but cannot seem to purchase music eith money on my acct, send how to instructions

    I want to use I tunes prepaid amt to buy music, I checked none for cc, but cannot seem to purchase music eith money on my acct, send how to instructions

    I have the same issue and it does not m,ake sense. No fix for it yet. it *****.

  • Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small

    Hi,
    I have created a program for uploading and posting open items aso. I've gathered items in an internal tables and tried to display on ALV list with tree for correct and incorrect items. When table contains more than 1000 items ( not all in one document but 2 items for every single doc), ALV displays but after awhile I get the error message 'Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small' and next step process leaves the program to initial SAP screen without dump. Error doesn't occur when item lines less than 1000. The detailed message is:
    +Storage area for GUI status Z_FI_UPLOAD_FIDOC 100 too small
    Message no. 00261
    Diagnosis
    The memory area of the basis software for the GUI status is too small for the requested status.  The following is stored in this area:
    Administration information in fixed length
    Menu structure, F keys and push buttons of a status
    The texts of the complete interface (not just of the status)
    The active and the requested Excluding list (SET PF-STATUS... EXCLUDING ...).
    System Response
    Termination as presumably the system is unable to continue processing.
    Procedure
    A short-term solution might consist of leaving off the EXCLUDING for the current SET PF-STATUS...
    Clear up the interface affected: in the Menu Painter (Transaction SE41), choose Utilities -> Unused objects.
    If it is an interface with a large number of statuses, it may be possible to take the interface apart.
    This is often possible for interfaces belonging to a function group that supplies GUI statuses for multiple programs (these programs call up function modules of the group that mainly contain a SET PF-STATUS command).
    If the above solutions will not work, your system administrator will have to enlarge the profile parameter "ztta/cua_area".
    Note that profile parameter "ztta/short_area" must be at least 6 times as large as "ztta/cua_area".+
    There is no unused object in my GUI. Is it connecting with number of items or should I ask system admin to enlarge mentioned parameters?
    Thanks for quick reply in advance,
    György
    Message was edited by:
            György Jakabovics

    Now I know what the problem was.
    Message was edited by:
            György Jakabovics
    Message was edited by:
            György Jakabovics

  • Storage Area for GUI status is too small

    Hi Experts,
    I have developed a custom program in which i ahev my own GUI status for the modal dialog box.
    At certain point I am getting error "Storage Area for GUI status is too small"
    What is the solution for this?
    Thanks.

    Hi Klas,
    I am getting the error as Storage Area of GUI Stattus "PROGRAM MAME" "GUI STATUS NAME" too small.
    I did not mention the program name and gui status name .
    Mean;
    I do not have any push buttons. While I am creating teh order for each item it will popup teh custom screen to select something.
    When the number of items becomes more I am getting that issue.
    As it calls the BUI status each time, the memory gets full and hence gives that message.
    If you know the exact solution plz reply back.
    Thanks
    Kumar

  • Iphone cannot make or receive calls check itunes for update

    iphone cannot make or receive calls check itunes for update, i received t hat message on my iphone 4 since the new update 4.3.5
    before that i didnt have problem. should i restore back to default?

    Few days ago it would happend if i call someone or receive call i lose the signal halfway through the conversation. It last like 5-10 minute or no signal. same when browsing internet.
    Now today i receive like this popup from apple saying  iphone cannot make or receive calls, please check for updates on itunes.
    the new update is a piece of ****

Maybe you are looking for

  • Logical and physical file paths

    Hi, can anyone elobrate me  on what are logical and physical file paths ?

  • Down payments to different vendors through app (f110)

    hi frineds how can i make down payments to different vendors through APP in (f110),  where should i configure this settings ? pls help me with t.codes and paths..

  • Manual Planning with MS Analysis (BO 4.0) and BW 7.3

    Hi, I am working with MS Analysis (BO 4.0), I want an Analysis Grid.  I create a Real Time Infocube, a query with an input - ready key figure.  When I insert this query in MS Analysis, the planning ribbon is not activated. I need to do something else

  • Can't Synch to the new Itunes

    I got the older 15 gig Ipod. I downloaded the new itunes and like it but it wont synch properly. I connect my ipod and let it run the course but when it finishes synching the new songs I imported aren't there. Anybody know what i'm doing wrong?

  • Tools for Variant and Batch Schedule

    Dear all, do you know wehther there is tools with following functionality - create variant with a input file (information for report names, variant names, variant parameter names and values) - schedule SAP jobs with a input file (information about jo