Issue with CHAIN (FIELD) statements, apparently

Hi,
I have the following code for a screen:
PROCESS BEFORE OUTPUT.
  MODULE pfstatus.
PROCESS AFTER INPUT.
  MODULE d9000exit AT EXIT-COMMAND.
  CHAIN.
    FIELD:  sl_matnr MODULE check_sl_matnr,
            sl_kdgrp MODULE check_sl_kdgrp,
*            sl_atwrt MODULE check_sl_atwrt,
            sl_valdt,
            sl_lifnr MODULE check_sl_lifnr,
            sl_prcno MODULE check_sl_prcno.
  ENDCHAIN.
  MODULE navigation_9000.
PROCESS ON VALUE-REQUEST.
  FIELD  sl_prcno MODULE f4_sl_prcno.
The user complains that the search help for sl_prcno doesn't work - which is true - but only when I don't heat ENTER after entering/choosing data in the screen for the rest of the fields (since this search help depends on the value inputed by the user for SL_MATNR, for instance). Indeed, if I provide a value for the material number field, which is stored as SL_MATNR, the variable keeps empty unless I hit ENTER before entering the search help.
My question is: is the problem related to the way this has been coded - CHAIN/FIELD statements ? From what I read from the help, the FIELD statement is responsible for when the data inputed in the screen is passed to the global variable designed to that field - which seems to be exactly the problem (the global variable doesn't get the value unless the user hits ENTER before clicking on the search help).  Does this make sense/was this expected to work this way ? Or is there something I can do to fix this ?
Thanks in advance,
Avraham
Edited by: Avraham Kahana on Oct 19, 2009 5:20 PM

I had to implement a help system for a field which depends on the data on the other field, it doesn't have chains, and it has the same behaviour. It does not process the help unless the data in the first field has been validated by sap (and translated to upper case in the process).
What I've noticed is that if you hit the button for the select-options fields instead of the f4 matchcode, SAP already validates prior entered data, so the help works as intended without pressing enter.

Similar Messages

  • Performance issue with the ABAP statements

    Hello,
    Please can some help me with the below statements where I am getting performance problem.
    SELECT * FROM /BIC/ASALHDR0100 into Table CHDATE.
    SORT CHDATE by DOC_NUMBER.
    SORT SOURCE_PACKAGE by DOC_NUMBER.
    LOOP AT CHDATE INTO WA_CHDATE.
       READ TABLE SOURCE_PACKAGE INTO WA_CIDATE WITH KEY DOC_NUMBER =
       WA_CHDATE-DOC_NUMBER BINARY SEARCH.
       MOVE WA_CHDATE-CREATEDON  to WA_CIDATE-CREATEDON.
    APPEND WA_CIDATE to CIDATE.
    ENDLOOP.
    I wrote an above code for the follwing requirement.
    1. I have 2 tables from where i am getting the data
    2.I have common fields in both the table names CREATEDON date. In both the tables I hve the values.
    3. While accessing the 2 table and copying to thrid table i have to modify the field.
    I am getting performance issues with the above statements.
    Than
    Edited by: Rob Burbank on Jul 29, 2010 10:06 AM

    Hello,
    try a select like the following one instead of you code.
    SELECT field field2 ...
    INTO TABLE it_table
    FROM table1 AS T1 INNER JOIN table2 AS T2
    ON t1-doc_number = t2-doc_number

  • Issue with custom fields mapping from CRM to ECC.

    Hi all,
    I have issues with replicating custom fields in a Service order. I have created new fields with EEWB and EEWC. Now the structure has been changed in ECC and CRM. But i have to map this fields to correct structures. Also i need some logic to apply.
    But i have addressed in couple of threads about the custom function module as in user exit for FI generation.
    But i didnt understand the concept of this custom function module. why is this been used?
    Could anyone let me know with an good example on how this has to be acheived.
    Points are highly awarded.
    Kindly reply me.
    Thanks,
    Kiran...

    Hi,
    Here you go,
    After you create custom characteristics.
    1. Do Assign category.
    2. Map contents.
    3. Double check your master catalog has the mapped content.
    4. Publish master catalog.
    As per your message, you are not having any error message during import, which tells me that you are one step to close.
    Cheers, Renga

  • Issue with input field in table control

    Hi,
    I have an issue with field acgl_item-rstgr in the table control.
    I have created a screen program with a table control.
    In the control i have added a dictionary field as acgl_item-rstgr.
    When i execute, do f4 on the input field, select a value and press enter, then it is showing me
    error as 'Entry 'val' does not exist in T053R (check entry). Its really weird to understand this. I have selected the value
    from f4 and even then it says this. Its working for all other columns, but not working only for RSTGR.
    Plz help me on this regard.
    Code is like this.
    TYPES : BEGIN OF ty_rstgr,
              rstgr TYPE RSTGR,
             END OF ty_rstgr.
    TABLES : ACGL_ITEM.
    DATA : it_rstgr TYPE TABLE OF ty_rstgr.
    DATA : wa_rstgr TYPE  ty_rstgr.
    CONTROLS : table TYPE TABLEVIEW USING SCREEN 100.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT it_rstgr INTO wa_rstgr WITH CONTROL TABLE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
      LOOP AT it_rstgr.
      ENDLOOP.
    Thanks,

    Hi Navitha,
    Its Check Table concepts for the error u stated. Please check wht the Search help ur using...Because for this field there is no search help at value table level...Use search help that hold all master data or create a custom search field in SE11 level or in program level.
    Cheers,
    Naveen

  • Issue with reading emails state.

    Dear community,
    in my company, we have BB to bring a very good 24hrs service to our customer, but the thing is that we started to have an issue with our BB and the Microsoft Office 365 and Exchange service.
    We have BlackBerry Enterprise service activated on each blackberry, so we receive every email in our BBs.
    But, when we read an email, after you go back to the mailbox, it appears as un-read again. Then, if you read it again, and go back to the mailbox, it appears as read.
    DO you know why it's happening?.
    Thanks in advance,

    Hi,
    Use TRY & CATCH statements before OPEN DATASET...
    For exact syntax check F1 help on try & catch...
    TRY.
      CATCH.
        OPEN DATASET..
      endcatch.
    endtry.
    Hope it helps!!
    Rgds,
    Pavan

  • Sharepoint 2010 Content Deployemnt Job issue with duplicate fields in User information List

    Hi friends,
    I am facing below issue with the content deployment job.
    It was working earlier. But now since from couple of days all the content deployment jobs in production environment are failing with below error.
    Field name already exists. The name used for this field is already used by another field in the list. Select another name and try again.
    ObjectName="User Information List".
    When I check the fields in User information list in targeted site, I found couple of columns are dupicate like "ask me about",first name","Last name" etc.
    Do i Need to drop target site collection or recreate with fresh content deployment job.
    Please suggest.
    Please help .
    Regards
    Subrat

    Hi,
    According to your post, my understanding is that you got duplicate field error.
    Based on the error message, you can try to use the following code sample to remove duplicate records, and check whether it works:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneralprevious/thread/41ee04bd-91fb-4bf9-932a-bac42c56c357
    Here is a similar issue, you can also use the ‘RemoveDuplicateColumn64’ provided:
    http://sharepointsurfer.wordpress.com/2012/04/27/how-to-fix-publishing-site-content-deployment-error-duplicate-first-name-column/
    What’s more, as you had said, you can recreate a site with a fresh deployment job.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Issue with dropdown fields

    Hello All,
    I have following issue with Complaints application.
    Issue - We have done some enhancement using EEWB and added some fields on 'Products' tab under complaints. After that we have made some of those fields as dropdown fields in the corresponding 'Field Group'.
    My problem is now I can see those dropdowns in line display under 'Products' tab but when I switch to Form view I don't see those dropdown for the corresponding fields, instead those fields appear as input text fields.
    One more thing is some of the fields I can't see in the line view (Item, Product ..) which I see in form view.
    Any help would be highly appriciated.
    Thanks.
    Amit Kade

    Hi Fausto,
    According to your description, my understanding is that the drop-down list boxes of the lookup column became wide when using IE 9 or 10.
    Did you customize the list form in InfoPath?
    Per my test, the width of the drop-down list boxes can be customized in InfoPath.
    I tested in my environment, and the lookup column worked fine in IE 9 or 10.
    I recommend to add the SharePoint site to Compatibility View in IE to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Issue with Region field in BW report

    Hi experts,
    I am facing an issue with BW Report ,the data for REGION for some billing doc no are showing as # and its description is not assigned.Also there is no data for region in its data target as well and also no data in VBRK table for those billing doc no in R3 side.
    Can you please suggest some solution.
    Thanks for help in advance.
    Regards
    NP

    Hello -
    If there is no data for charecteristic values,. #  and not assigned will be dispalyed in the report.
    Its BW funcnality,.
    If you would like to remove the # values  in BEX you have to go for a Macro,.
    If in WAD you have to eliminate the first values in the repactive web item.
    Regards,
    Vishwa.

  • Issue with Varchar2 field conversion for report output generated in EXCEL

    Hello All,
    I have an unique problem with one of my new reports for the User. The user wants the report output generated in excel data only(delimited data) format *(reports builder 10g)* .
    Everything was fine until i encountered this problem, there was this field which has unique ID's(alphanumeric and numeric), when i tried to run the report and generate output in Excel the numeric ID's say for example *(41593497999679354429)* is converted in excel and displayed like *(2.5881E+19)* and after format cells in excel it displays *(41593497999679300000).*
    The issue is only with 20 digits numeric ID's , if i append any special character to the end say '#' or '..' it shows the exact value along with the appended character. But the user insist they need only the value that is in the table. I am finding it hard to figure out, if any one of you have encountered the same issue or if any of you have any suggestions to overcome this excel conversion thing please do advice me.
    Thanks in advance :)

    Thanks for you response, but i already tried what you suggested, instead of appending single quote in front of ID, i did at the end prior with '#', it preserves the value if i add any character to the id but the appended value shows up too :(.
    Well, i just got the solution and it did work, thanks to [Brian Hill|https://forums.oracle.com/forums/thread.jspa?threadID=651632] for the post, i did what exactly he said and it worked. I was so very happy and wanted to share with everyone.

  • Access 2010, Sharepoint 2010 issue with adding field to access db table

    I needed to add an additional field to one of my access tables contained in the sharepoint list. 
    My application is a front end Access DB (run locally), and the backend is the 'data' database contained in the sharepoint lists.
    I added the field to the database (called BOM).  When I open the access list (from sharepoint) , and also look at the database in access, the field is there and things are fine.
    However, it does not show up in my linked front end.  I deleted the linked sharepoint tables from my front end, and then re-imported.  Now I see the BOM field I created, but it has replaced the 'ID' field, which was the primary key.  I had
    added the 'BOM' field as the last field in the table.  Now it is the first field, having replaced the 'ID' field. 
    What's going on here? 
    Thanks in advance!

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, and the issue more related to Sharepoint 2010, I'll move your question to the Sharepoint 2010 forum
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/home?forum=sharepointgeneralprevious
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Issue with the field (Trading Partner) in the BW report

    The Info Object 0PCOMPANY (Trading Partner) is having a reference char 0COMPANY in the BW system so the data for the field Trading partner text will be pulled from 0COMPANY_TEXT data source.
    I have checked in the info object 0PCOMPANY in the tab master data / Text under text table properties it has checked in the medium length text exists.
    Even i have checked with R/3 consultants and found the data for all of trading partners but i am not clear where i have to investigate on this issue.
    Now the values for the field Trading Partner were not displayed in the report i have checked the properties of the field and found display as Standard: key and text.
    Any help will be appreciated in advance.
    Thanks
    Ganni

    Hi,
    set the propety "display" to medium text for this charateristic either in the BEx report itself either in the query definition.
    Ensure that the text are well loaded (run tran RSDMD with this IObj in norder to display master data)
    Only having meduim texts will prevent you to display "key and texts" in reports.
    You could enhance your IObj and enable short/long texts as well; in the transfer rules just load the medium text in short (truncate its length to 20) as well as in the long text.
    hope this helps...
    Olivier.

  • GL account issue with Electronic Bank Statement

    Hi Gurus,
    I need your help and advice with the following issue. We are using ECC 6.0 and have implemented electronic bank statement. It is working fine but we havea new requirements.
    Presently all the incoming ACH (ACH in) are being posted to one GL account set- up for such payments +++++++++1. Going forward, we want to post customer incoming ACH payments to seperate GL account and all the other incoming ACH's should keep on posted to the old account +++++++++1. I do not have exposure to configuring EBS and not sure how should I configure this.
    I would really apreciate if you can guide me with step by step details to do this set-up.
    Thanks,
    Best Regards,
    Shalu

    Usually ACH in or outgoing, the corresponding bank will send you a code.
    so once you get into the config item for EBS
    1. you create account symbols( ACHPAY and ACHPAY2) and assign accounts (++++1 and a debit account ++++2) respectively
    2. Create posting keys, usually this is mimicked with a Z attached to the bank code for ACH payments (EX: 675 is the BAI code for ACH, create a posting key with Z675)
    3. create rules for the same posting keys like debit and credit account symbols, doc types, what kind of postings it should post( clearing entry or posting to GL)
    4. Create a transaction type and in the following step create external transaction types (usually bank BAI codes) and map them to posting rules and the processing types
    5. finally map bank accounts to transaction types

  • Issue with electronic bank statement upload

    Hi All,
              Presently I face an inssue in posting electronic bank statement upload (Tcode - ff_5).
    The scenario goes like this.
             First we do payment to vendor using 'f110' transaction.Here the document currency is different from local currency.Let us say we paid 100 EBP i.e, approximately 177 USD.
    After the payment we get statement from Bank (in this case BAI format).In the bank statement due to exchange rate difference the amount will not be exactly 177 USD but slightly different like 185 USD or may be 170 USD.
           At this point we have to upload this statement using transaction 'FF_5' to system.Here obviously the differential amount goes to the system ( 185 USD or 170 USD).
    Now the issue is we have to post this difference amount like USD 8 or USD 7 to a specific GL account ( 11800 or any other GL acc number ).
    The 'FF_5' transaction updates the tables 'FEBKO,FEBEP' by using the programs 'RFEBBU00',
    'RFEBBU10'.There is an exit also like 'FEB00001'. We can put this difference amount in one of the fields of FEBEP table by using this exit.
       But the point I don't know is how to post this difeerence amount 8 or 7 USD to a specific G/l account ? I could not locate in the above program 'RFEBBU00' where the posting happens ?
    Thanks for any help.
    Vinod.

    Hi Sharaad & Naga,
                         Thanks for the replies.One more doubt, Will I have to use these function modules inside the exit or do I need to change the sap standard program to incorporate these FM calls ?
    Thanks
    Vinod.

  • IE issue with unrequired fields in FormsCentral

    Hi there,
    I have a web form set up with FormsCentral which allows users to upload multiple files for a photo contest. Though only the first upload field is marked as "Required," users in IE 9 and 10 are getting an error telling them to fill in the other non-required fields in order to submit the form. This is not an issue in Firefox, IE7 or Chrome.
    Please help me get this error resolved.
    Thanks,
    Jen

    Jen,
    My name is Jeff Canepa.  I work at Adobe as a Software Quality Engineer.  I am unable to reproduce the problem you describe.  Would it be possible for you to add me as a Co-Author ([email protected]) of your form so I can take a look at it's design?  If you are not comfortable with this then perhaps you could export the design template file (FCDT) and email it to me?  In addition, any more information you might be able to provide regarding the systems of those that are getting the error would be helpful (OS version, PC/Tablet, file they tried to upload).
    Regards,
    Jeff Canepa
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • SCOM 2012R2 – Issues with Chained Gateways

    We recently migrated from our SCOM 2012 SP1 to 2012R2.  In both versions of SCOM, we have set up designated chained gateway servers, whose sole purpose is to communicate between untrusted forests and the RMS.  It goes as follows:  Untrusted
    Forest (AD Server) -> Chained SCOM Gateway -> RMS.  For example, ACLOUD -> SCOMGW01 -> SCOM01 
    We recently added new site and duplicated the gateway installation process from our current site to our new site.  From the example above, rather than reporting upstream to the chained site gateway (SCOMGW01), ACLOUD
    attempts to reach RMS server directly (SCOM01), which it has no route to resulting to the error event below:
    “The OpsMgr Connector could not connect to [RMS Server]:5723.  The error code is 10061L (No connection could be made because the target machine actively refused it).”

    That was a great post, thanks!  Unfortunately, because we are using 2012 R2 and no longer 2012, I saw some noticeable differences in the cmdlets.  All else equal, I think this is the part of our script that is the issue.  Because this exact
    same part worked with our 2012 configurations.  Do you see anything here that may be the problem, or anything new/replaced for 2012 R2?
    $CAName = "CA01.xxxxx.LOCAL\xxxxx-ROOTCA"
    $SCOMApprovalToolPath = "C:\Program Files\Microsoft System Center 2012 R2\Operations               Manager\Server\Microsoft.EnterpriseManagement.GatewayApprovalTool.exe"
    $SCOMGatewayInstallFilesPath = "C:\SCOMGatewayInstallationFiles"
    $SCOMDefaultManagementServer = "SCOMGW01.xxxxx.LOCAL"
    $SCOMFailoverServer = ”SCOMGW02.xxxxx.LOCAL”
    Our management server (RMS) is SCOM01.xxxxx.local (xxxxx changed, of course) with SCOM02.xxxxx.local as the failover MS.  SCOMGW01 & SCOMGW02 are our chained gateways.

Maybe you are looking for