Highlighting a Field on BP transaction Through Error

I have some code I've written that in theory should highlight the field where I want the user to be directed to.
The problem is, the field in question is in a table control i.e. the Responsible Institution in the Identification numbers tab.
I have tried this for a non-table control field and the field text changes colour but the cursor isn't placed in the field.
Neither happens when I specify the field of the table control.
Is it that this just simply cannot be done or is there another approach?
My code below:
CALL FUNCTION 'BUS_MESSAGE_STATUS_SET'
  EXPORTING
    msg_coll_status       = '1'.
         CALL FUNCTION 'BUS_MESSAGE_STORE'
            EXPORTING
               ARBGB = gc_msg_arbgb
               MSGTY = gc_msg_error
               TXTNR = '000'
               MSGV1 = 'You cannot use numerals in the institute name: '
               MSGV2 = gt_but0id-institute
               MSGV3 = '. Please change this.'
               TBFLD_STRG      = 'GT_BUT0ID-INSTITUTE'.
Many Thanks
David

Hi,
We can highlight the field contents in table control.
Put this code in PBO event.
---PBO
LOOP WITH CONTROL tb_control.
    MODULE screen_changes.
  ENDLOOP.
MODULE screen_changes OUTPUT.
PERFORM screen_changes
ENDMODULE.
FORM screen_changes .
   LOOP AT SCREEN.
     if screen-name = 'TB_CONTROL-FLD1'.
        screen-intensified = '1'.
        MODIFY SCREEN.
      ENDIF.
   ENDLOOP.
ENDFORM.
Regards
Appana

Similar Messages

  • ECC Transaction iView Error on Browser Resize

    Hello.
    I have created hundreds of SAP ECC Transaction iViews in the portal.  After doing some testing, I realized that any time a browser window is modified when an ECC transaction iView is within display, the resize causes the transaction iView to refresh.  Upon refreshing, the transaction throws error or works as if the user submitted the transaction on the backend, instead of just remaining in the same state.
    For instance, if you have an SAP Transaction iView to an ECC system for tcode QM01 and it is accessible through the Detailed Navigation, this iView can be opened either in its own browser window, or within the desktop inner page.  If configured to pop-up in a new browser window and you click or drag to resize the browser window, the transaction refreshes, and throws the error: "Fill in all required entry fields."  This is the same error that is thrown in ECC when a user submits the transaction with no data.  Similarly, if you have the iView configured to open within the portal framework and you click on the transaction it opens in the desktop inner page.  If you maximize/restore down the browser window displaying the portal, the transaction refreshes within the desktop inner page and throws this same error, like it was submitted.
    It happens with every ECC transaction iView that I have created, but does not happen with SRM IAC iViews, Web DynPro iViews, or SUS functionality iViews.  This leads me to believe it is a problem in ITS.  Does anyone know what is going wrong, or how to fix this?
    Thanks for any help!
    Alexa

    Hi,
       Super admin has permission for end user for all the iViews. So he will be able to view the iView. As mentioned, please check if the end user permission is given for the end user to access the iView. Also check if the permission is given for that particular system. To check permissions, go to System Administration -> Permissions -> Portal permissions -> Portal Content. Check for iView and system that you have created.
    Regards,
    Harinin S

  • TRANSACTION LAUNCHER--CALLING CRM Z TRANSACTION THROUGH WEB UI

    As per the requirement, we are trying to call CRM  Z transaction through web UI. We have used the Object TSTC and created a replica of the object ZTSTC and used the method execute. Made the necessary config for navigation bar and Business role. We could see the link in the Navigation bar but the link could not call the transaction. Pls suggest.Do we need to take the object of the Transaction or copy TSTC and proceed. Thanks in advance.Points will be awarded

    PLS FIND THE DETAILS TO PROVIDE THE INPUTS
    Configure Transaction Launcher TO CALL T.CODE ZEGNM_IMG FROM CRM THROUGH WEB UI USING TRANSACTION LAUNCHER
    USED THE OBJECT ZTSTC BY COPYING TSTC OBJECT AND BY RELEASING THE OBJECT WITH METHOD EXECUTE
    PROVIDED THE T.CODE ZEGNM_IMG IN THE VALUE FIELD IN THE ABOVE SCREEN
    CREATED THE DIRECT LINK ZEGNM_K
    CREATED THE DIRECT LINK GROUP ZEGNM_K
    ASSIGN THE DIRECT LINK TO THE DIRECT LINK GROUP
    ASSIGN THE DIRECT LINK GROUP TO THE PROFILE TMFLEASING WITH POSITION 80
    IN THE BUSINESS ROLE CUSTOMIZING MADE THE DIRECT LINK GROUP VISIBLE
    AFTER MAKING THE ABOVE CONFIGURATION WE HAVE LAUNCHED THE WEB UI AND THE FOLLOWING ERROR IS SHOWING UP
    PLS FOLLOW THE ABOVE SCREENSHOTS AND PLS PROVIDE YOUR INPUTS TO ACHIEVE THE OBJECTIVE OF LAUCHING THE Z CRM GUI TRANSACTIONS USING TRANSACTION LAUCHER
    ALSO PLS FIND THE SCREENSHOT OF ITS
    URL OF ITS USED
    u201Chttp://crd.tmf.com:8003/sap/bc/bsp/sap/its/webgui?transaction=IC_LTX&okcode=ICEXECUTEu201D

  • Call Transaction Through RFC

    Hi ,
    I am trying to do a call transaction through RFC call from a Middleware which is a CPIC user (only communication Non dialog User ) . 
    Call  transaction does gets executed without any error but it does not update any data.But when I run it through my user id it works absolutely fine .
    I am not sure what is causing the issue
    Security authorization?
    RFC through Non Dialog user ?
    Paramters missing in RFC  ?
    Paramatertes missing in call transaction option?
    If anyone of you has faced a similiar issue then please let me know the path forward.
    Thanks
    Vikas

    Hi Vikas,
        The problem is in Authorization? And check the mode of Process Synchoronus or asynchoronous? Both the RFC and CALL transaction should be Same /
    Thanks
    MAnju

  • Field name is not know error when trying to add a filter

    Hello all!
    I need to add a filter dinamically to display a report. I'm using Crystal Reports 10 w/ RAS server.
    There is an sql statement in Database Fields > Command. It uses a join and a correlation name for table name: TT.START_TIME.
    I am getting a "Field name is not known" error:
    "This field name is not known. Details: errorKind Error in File C:\WINDOWS\TEMP\{D375AB61-F7AE-4BCC-AF5E-6702C0EFDE10}.rpt: Error in formula . '{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)' This field name is not known. Details: errorKind"
    I tried to specify the field the following ways:
    Command.START_TIME
    TT.START_TIME
    START_TIME
    TIME_TRACKER.START_TIME (time_tracker being the table name)
    MAIN.TIME_TRACKER.START_TIME (main being the schema)
    All of the above is giving the same field name not known error.
    I am adding the filter the following way:
            String whereClause = "{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)";
            IFilter filter = rptClientDoc.getDataDefinition().getRecordFilter();
            filter.setFreeEditingText(whereClause);
            rptClientDoc.getDataDefController().getRecordFilterController().modify(filter);
    I also tried the following where clause:
    String whereClause = "{Command.TT.START_TIME} > DateTime (2006, 08, 01, 09, 00, 00) AND {Command.TT.START_TIME} < DateTime (2007, 08, 24, 04, 45, 00)";
    still doing the same thing.
    If anyone could please help me w/ this I'd really appreciate it!
    Thank you!
    Anastasia

    The first formula was created using the selection formula expert. I only added the TT part after it didn't work giving the same message. The name the expert gives it after I click on the field is {Command.START_TIME}. Still gives the invalid field name error. -_- Could the rest of the forumula be causing the problem?
    In regards to parameterizing the SQL Command, I spoke w/ the gentleman who creates these reports in Crystal, he says it's not possible, because sometimes we don't want a where clause and sometimes we do.
    Is there a way to directly edit the SQL string itself which is in the Command through java?
    Thank you very much for taking time to respond.
    Anastasia

  • Why Does Replication requires db restart to get transactions through

    I am having problems with the deferred tranasactions. There were about 44,000 in the queue before. The dbms job was broken so I ran it and it was able to push half the tranactions from the 44,000 through.
    However, only half. I am manually pushing the transactions through using OEM. But they do not seem to go through. Any ideas as to why they do not go through. Any alternatives to get all the deferred tranactions to being pushed?
    Oracle 9.2.0.1 on W2k Svr.
    The deferred tranaction queue had then incresed in size to 53,000 tranactions to be applied. I ran this query today, and get the following result.
    SQL> SELECT SID, r.JOB, LOG_USER, r.THIS_DATE, r.THIS_SEC
    2 FROM DBA_JOBS_RUNNING r, DBA_JOBS j
    3 WHERE r.JOB = j.JOB;
    SID JOB LOG_USER THIS_DATE THIS_SEC
    54 8 REPADMIN 15-OCT-06 17:24:52
    SQL>
    Any ideas as to what to do with this information. I ran the query several times within an hour, but the ame result...any sggestions as to how to apply all the tranactions in teh deferred tranaction queue sucessfully across?
    I executed the dbms jobs (which were broken) on all sites so that the DTQ empties. This was sucessfull on two of thethree master sites. However, on one of the master sites, it was only able to push half of the tranactions to one other site. This is what I am trying to resolve.
    I try to manually push these transactiosn form OEM, but they do not seem to go through. Is there a way I could find wher the errors lay? I have checked all the alert logs and the trace files but no major errors.
    W2K Ad Svr, Oracle 9i Release 2. and three Multimaster sites.
    I even ran the following script, it executes, but does not push it through.
    declare rc binary_integer; begin rc := sys.dbms_defer_sys.push(destination=>'DESTHOST.DOMAIN', stop_on_error=>FALSE, delay_seconds=>0, parallelism=>0); end;
    Once again...in our Oracle 9.2.0.1 multimaster replication environmment on Windows 2000 server system containing three master sites is giving strange errors.
    The transactions within defferred transaction queue at one of the sites are not being pushed at the other site. Last month, it was the other way around.
    In the trace files, we can see that there are TNS connect error to the other master sites. However as soon as we restart the particular server, the transactions are pushed through.
    This environment was working fine before and we were wondering as to what could be causing these errors all of a sudden.
    These are only the transactions from the Deferrerd Transaction Queue which are yet to be applied to the other site. The error queue is quite constant and we are not facing much problems there.
    In the trace files the errors are:
    ORA-12012: error on auto execute of job 78
    ORA-23324: error ORA-12535: TNS:operation timed out, while creating deferror entry at "globaldbname" with error -12535
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1716
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1804
    ORA-06512: at line 1
    *** 2006-11-07 22:05:42.000

    Did you fix your problem?
    If Yes please help me bescause I am in the same situation

  • Calling Transaction through User Decision step in workflow

    Hi all,
    Pls help me calling a transaction through User Decision step in workflow. I have attached two buttons to my User decision and the one of the outcomes to a task where I am calling the transaction through a method of BOR. But the problem is I am unable to see the transaction when I press the button on my User Decision at test run.
    Can you ppl let me know how can I achieve this?
    Pls reply ASAP...
    Thanks
    Sangharsh

    Hello Sangharsh ,
    Please Check the paramater of of the method which you define.
    e.g. I define CALL_TCODE_CJ03 method
          which have the parameters FLAG,ProjectDefinition,WBSElement2,User
          with export, import checkbox.            
    Pass the paratmeres in programs
    e.g.
    BEGIN_METHOD CALL_TCODE_CJ03 CHANGING CONTAINER.                      
    DATA:                                                          
          FLAG(1),                                                        
          PROJECTDEFINITION TYPE PROJ-PSPID,                              
          WBSELEMENT2 TYPE PRPS-POSID,                                    
          USER TYPE USR21-BNAME.                                                                               
    SWC_GET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_GET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_GET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.                
      SWC_GET_ELEMENT CONTAINER 'User' USER.                                                                               
    GET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      GET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                                                                               
    SET PARAMETER ID 'PSP' FIELD PROJECTDEFINITION.                       
      SET PARAMETER ID 'PRO' FIELD WBSELEMENT2.                             
      CALL TRANSACTION 'CJ03' AND SKIP FIRST SCREEN.                                                                               
    SWC_SET_ELEMENT CONTAINER 'FLAG' FLAG.                              
      SWC_SET_ELEMENT CONTAINER 'ProjectDefinition' PROJECTDEFINITION.    
      SWC_SET_ELEMENT CONTAINER 'WBSElement2' WBSELEMENT2.    SWC_SET_ELEMENT CONTAINER 'User' USER. 
    END_METHOD.
    I hope it will help you.
    ***Assigning points is the way to say thanks in SDN.***
    Minaxi Shah

  • Save custom fields value  in EKKO through ME21N

    Hello Friends,
    putting a new inputfield in the header of ME21N - PO transaction must be inserted within existing tabstrib "Additional Data".
    This the new requirement.
    I have used the enhancement "MM06E005". I have only implemented and activated the USEREXIT without writing
    any code in any Function Module.
    Additionally I have added through the screen painter (Function Pool MEGUI) into screen 1229 the customer
    ZFIELD (Textinputfield).
    I can see this field in the transaction ME21N, ME22N, ME23N but if I enter any value and save it. This Field has only 0000000 in the EKKO instaed of the entered value by me.
    In the other transaction like ME21 ME22 ME23 this problem is not existing. I can save the enterd date without any problem.
    I have already implemented the structure CI_EKKODB too. There is the zcustom field added.
    I need your  help for in how to save the data in EKKO with me21n.
    Kindly Regards
    Marco

    Dear Marco,
    Dont use User Exit for this . Use the BADI's .If uses the USer Exit it will create u some probs at later stage.
    There are 2 BADI's available for this.
    1) ME_PROCESS_PO_CUST.
    2) ME_GUI_PO_CUST.
    1) ME_PROCESS_PO_CUST.This BADI is for Validating the PO at various Level. Methods for this BADI is
    1.Open.
    2.Initialize.
    3.Process Header.
    4.Process Item.
    5.Check.
    6.Post.
    Etc.
    So u can Validate the Entire PO ..
    2. ME_GUI_PO_CUST.
    Adding the Customer Own Screen to Enjoy Purchase Order.
    The Process is that Just Create a Function Group with the Screen with Screen Which u want to Add to the Header Level.
    Through this BADI u can add N Number of Screen to PO.
    In the First Method of this BADI just Add the Screen. For Better Understanding goto the Sample Coding of Both BADI's.
    With Regards,
    Sumodh.P

  • User exit for field BEDNR in transaction ME22N

    Hi experts ,
                         i want to use a search help for the field BEDNR in transaction ME22N . Is there any user-exit or badi available .
    This field is in the PO header table. if any more clarification required please inform me

    Thanks for pointing me in the right direction.
    I was able to put my code in EXIT_SAPMM06E_012 and retrieve the component data through (SAPLEINK)XMDPM[]
    Below is the code I used to assign the data to be able to evaluate it.
    FIELD-SYMBOLS: <z_mdpm_x> TYPE ANY.
    DATA: i_mdpm_x TYPE STANDARD TABLE OF MDPM_X.
    Fetching Component data
      ASSIGN ('(SAPLEINK)XMDPM[]') to <z_mdpm_x>.
      CHECK sy-subrc = 0.
    Assigning data into an internal table
      i_mdpm_x[] = <z_mdpm_x>.
      CHECK i_mdpm_x[] IS NOT INITIAL.
    David
    Edited by: David Herrema on Oct 20, 2010 3:03 PM

  • Adding a screen field in FB60 transaction

    Hi all,
    I just want to add a screen field in FB60 transaction. In that transaction there is a table control. I want to add a coloumn there. Can anyone help me how to do that? I am working in ECC 5.0
    Thanks in advance
    Pranav

    Hi Pranav,
    If you want to add a new column under the table control in FB60, there is a way to do it through config.
    This is how it can be done:-
    1) Go to T-Code SPRO
    2) Financial Accounting New>Financial Global Settings New>Ledgers>Fields>Customer Fields>Edit Coding Block
    3) Define your new field under "Customer defined account assignments" . Make sure the name starts with either 'ZZ' or "YY". This creates a standard structure with your custom field and also appends this new custom field in many FI related tables including BSEG so make sure to check the impact with your functional consultant.
    4) Once it is defined, you might need to change the characteristics of your field under
    Financial Accounting New>Financial Global Settings New>Document>Define Posting Keys
    (This changes your fields status from suppresed to either Optional or Required depending on your requirement)
    Hope this link also helps
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/65/ec4bd7fb0f44f6814fa790dde9a172/frameset.htm
    Reward points if helpful
    Cheers
    Sanjiv

  • Update Yes/No field in access table through oracle procedure

    Hi,
    How to update Yes/No field in access table through oracle procedure. all other fields like AutoNumber, Text I can update it. Yes/No field how to update? Please, any one can help me?
    Thanks and Regards,
    Sudha.

    Sudha Teki wrote:
    select "fldPost" from tblPHd@ODBCLNKNot quite sure what you mean, but the way you select the column would indicate a case sensitive column name
    Look at this example
    SQL> create table t
      2  ("this" varchar2(10))
      3  /
    Table created.
    SQL> insert into t values ('hello')
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    this
    hello
    SQL> select this
      2    from t
      3  /
    select this
    ERROR at line 1:
    ORA-00904: "THIS": invalid identifier
    SQL> select "this"
      2    from t
      3  /
    this
    helloIs your column name also case sensitive?

  • How to hide fields in XD99 transaction

    Hi Experts ,
    I got a requirement to hide some fields in XD99 transaction for specific user group, I tried creating transaction variant but it is not allowing me to create for XD99 and displaying error ''Variants are  possible  only for dialog  transactions" . Please suggest a  alternate method to hide fields under 'fields' tab in XD99.
    Thanks in advance .

    Try to create variant for transaction MASS.
    Regards,
    Raymond

  • Custom Fields in ME21N transaction

    Hi all,
    I have added custom fields on the transaction ME21N using the screen exit in enhancement MM06E005.
    Now i need to do validations on these fields even if the user does not come to the screen. So i am using the BADI ME_PROCESS_PO_CUST for the validations.
    But this BADI gets triggered only when there is a change in a standard SAP field. If i change the value of the Custom field then the BADI does not get triggered.
    So the problem is that once i issue an error message for the custom field in the BADI .. and then change the value in the custom field, the BADI does not get called and hence the error message stays as it is...
    Any solutions for this?
    thanks,
    Ashiq Ali Ratnani

    even when we create a custom screen, the user-exits which are getting called from other screens should also get called from custom one. If this is not happeing, then you need to check in configurations where you have created this screen, that whether you have done assignment of screen at right place, not at the header level but at tab level.

  • Adding a Field in a Transaction Datasource

    Hi,
    I have created a ZAUTH InfoObject in BI for the field Authorization group (BEGRU - MARA).  This ZAUTH Infoobject is getting filled in through Master data Load of 0MATERIAL.  I have added the Infoobject ZAUTH as a Navigational Atttribute in 0MATERIAL.
    I have created a Billing DSO for the Transaction load which gets data through the Datasource 2LIS_12_VDITM.  In DSO, i have a requirement wherein i have to write a routine using 0customer & Authorization group (ZAUTH).  The requirement goes like this:
      If the Customer number = 100 & Authorization = ABC, Put Detail = Stock.
      If the Customer number = 200 & Authorization =  XYZ, Put Detail = Trade.
    The Problem here is i dont have the BEGRU field in the Transaction Datasource 2LIS_12_VDITM.  I know we can customize the Datasource & add this field.  But, is there any other way to do this?
    Regards,
    Murali

    I guess you can realize this requirement without enhancing the datasource. There is 1:1 relationship between material and auth group as it is added as an attribute on it. You can derive the auth group by looking up material master data in the code, for the material on the billing document. Once this is derived you can build your logic for detail. You need to derive auth group at a lower level in the data flow and put logic for detail at the next level or you can consider using start (derive auth group) and end routines (logic for Detail).

  • Disabling G/L Account field in MIGO transaction

    HIiya Gurus,
                     I have got a requirement to disable the GL Account field in Accounting tab in the MIGO transaction. since i am an abaper i am not sure how to disable this field. i have gone through the transaction SPRO , but unfortunately for the filed G/L Account field KONTO  there are only 2 options :--
    either to make it optional or mandatory.
                     But my requirement is to make it disabled (greyed out), IS it possible to Grey out that field.
    In my customization this field is set as Option.
                   Kindly provide me with your valuable suggestions.
    Cheers,
    ZIa

    Hi,
    Use this BADI 'MB_MIGO_BADI'
    Do write the code in PBO of the screen.......which you have created ....
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards
    krishna
    Edited by: Krishna Gowrneni on May 1, 2009 12:25 AM
    Edited by: Krishna Gowrneni on May 1, 2009 12:39 AM

Maybe you are looking for

  • Adobe Air cannot be found (Mac)

    Adobe Air is used to run an mmo game i subscribe to called Dofus. Yesterday evening I suddenly started getting this message when trying to start Dofus: "This application requires a version of Adobe AIR which cannot be found. Please download the lates

  • Change to Base in costing sheet

    Hi Friends, If one base ( BA01) is included in 3 costing sheets , now I am chaging to base BA01 fo costing sheet (CS01) and adding 2 activity types , now my question is since BA01 is incuded for 3 costing sheets(CS01/CS02/CS03) so the new actvity typ

  • Mixture of WEP and WPA on wireless network

    I have a WRT54G and a cable modem. The router is configured to use WPA. I have many personal wireless devices (print servers, computers, access points, etc.) on my network. All are configured to use WPA. My wife and I just got company-issued laptops

  • Flash Player 9 Not Working on Mac OS X

    I just installed the Flash Player 9 on my Power PC based Mac OS X 10.3.9 and now no Flash elements work in Safari 1.3.2, or even Explorer (which I don't use). I have been sure to close all browsers, uninstall first etc. The installations appears to c

  • I have a number of serious issues regarding LPX and need to contact Apple, info welcome

    Hi Apple Community, I have been using LPX for a few weeks now and I have run into a large number of issues, some of which are completely game-breaking. I was shocked to see that there is no support contact at Apple for Logic Pro- I was simply redirec