Input Field not getting cleared.

Hi Fellow Abapers,
I have a peculiar problem. I have done a Module pool program as below.
PROCESS AFTER INPUT.
  CHAIN.
    FIELD ztrsc_histh-trptr.
    MODULE user_command_0100.
  ENDCHAIN.
  CHAIN.
    FIELD ztrsc_fibld-fidocamt.
    MODULE user_fidocamt ON CHAIN-REQUEST.
  ENDCHAIN.
MODULE user_command_0100.
CASE sy-ucomm.
  WHEN 'NEXT'.
     CLEAR ztrsc_fibld-fidocamt.
     GET NEXT RECORD AND DISPLAY.
ENDCASE..
ENDMODULE.
Input FIELD ztrsc_histh-trptr is display only after Transporter Code is entered and we press "ENTER" key.
Input FIELD ztrsc_fibld-fidocamt is enabled. I enter some value "10".
i have a button as next. When the next record is shown the next record shows but although I clear FIELD ztrsc_fibld-fidocamt, in the debug mode it clears THE FIELD VALUE ztrsc_fibld-fidocamt AND THEN GETS THE NEXT RECORD AND PUTS THE CORRECT NEXT AMOUNT OF THE NEXT RECORD INTO ztrsc_fibld-fidocamt, but when it appears on the Statement FIELD ztrsc_fibld-fidocamt as per the below code.
CHAIN.
    FIELD ztrsc_fibld-fidocamt.
    MODULE user_fidocamt ON CHAIN-REQUEST.
  ENDCHAIN.
the old value of "10" re-appears although I had cleared it in the previous Module program. What could be the reason.
Regards
Yao Chhang

Thanks a lot for your prompt answer. Well yes if i clear in the PBO the value gets cleared, but then i wanted to get the next records value into the value field, well the problem got solved in a much easier way i put everything into one chain endchain statement.

Similar Messages

  • SOCO requiremnts not getting cleared.

    Hello Freinds,
    I am working on SRM 5.0 classic scenario( with support pack 11). The requiremnts are not getting cleared although follow on docs are created for them ( PO). This is happening for only goods shopping carts and not for the limit.
    Any inputs on this will be highly appriciated.
    Regards
    SRM USER

    Hi Muthu ,
    I have check the code , But i sisnt see any difference , Infact we didn done any change recently . It was working fine beofre support pack and still working fine in another system aftter support pack .this Badi code is same in the both systems .
    you can also have look into this code.zsrm_sourcing is a custom table where we are maintaing document type and account assignment catogory for catalog items.
    Thank you .
    Get details of shopping cart.
      CALL FUNCTION 'BBP_PD_SC_ITEM_GETDETAIL'
        EXPORTING
          i_guid    = item_bbp_guid
        IMPORTING
          E_ITEM    = ls_item
          ET_ATTACH = lt_attach
        TABLES
          E_ACCOUNT = lt_account
          E_PARTNER = lt_partner.
    If lt_attach got any records sourcing needs to be done.
    SET SOURCING parameter to 'X'.
      IF lt_attach[] IS NOT INITIAL.
        SOURCING = 'X'.
        EXIT.
      ENDIF.
    If lt_partner doenst contain a fixed vendor, sourcing
    needs to be carried out.
      READ TABLE lt_partner TRANSPORTING NO FIELDS
           WITH KEY partner_fct = c_vendor.  " Fixed vendor
      IF NOT sy-subrc IS INITIAL.
        SOURCING = 'X'.
        EXIT.
      ELSE.
    If there is a fixed vendor, but item is not assigned to
    account assignment category, EXPENSE or INTERNAL ORDER .
    Sourcing needs to be carried out for this case.
    Load table with sourcing rules
        SELECT * FROM zsrm_sourcing
             INTO TABLE lt_sourcing.
        CLEAR SOURCING.
        LOOP AT lt_account ASSIGNING <fs_account>.
          READ TABLE lt_sourcing TRANSPORTING NO FIELDS
             WITH KEY acc_cat = <fs_account>-acc_cat
                      skip_sourcing = c_x.
          IF sy-subrc IS NOT INITIAL.
            SOURCING = 'X'.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Open Item not getting Cleared automatically

    Dear Sir,
    For a GL "Cenvat Clearing" , we have ticked the option "open Item Management" in FS00 .
    Our business scenario is as below :
    After MIGO , we do excise posting using J1IEX and here in the posted Fi document the GL "Cenvat Clearing" gets Credited . Subsequently during the MIRO this GL i.e "Cenvat Claering" gets Debited .
    My problem is that when I see in FBL3n for this GL the relevant transaction still appear under the open Items . Pl guide me , as what is the reason for this entry not getting cleared automatically .
    Regards
    B Mittal
    Regar

    PO number cannot be taken as sort feild  hence the value is in blank always.
    You need to identify some value for this feild and as a process you need to tell your users to incorporate the same at the time of doing MIRO.
    Or other wise you can take out the assignment of sort key to this GL account, and as a process you can instruct your user to use reference feild and input a value. If you fell that this is a tedious process,
    the Identify another feild that is common for both debit and credit line items and try to post with a common valuie using, one ABAP program which will update this feild. Mind that this feild need to be in the OB74.
    reward if useful
    sarma

  • GR/IR Clearing a/c not getting cleared..

    Dear All,
    My GR/IR clearing account is not getting cleared automatically after Invoice posting..is it the standard behavior or anything
    missing?
    For example- GR/IR Clearing a/c is 13110100,when GRN is done it is getting credited and once invoice is posted it gets
                          debited so it should show cleared when we run FS10N / FBL3N
    please let me know whether it is needed to clear manually?
    Naren

    Hi
    F.13 is for executing the setting configured under Financial Accounting -> General Ledger Account -> Business Transactions ->Open item clearing - > Prepare Automatic clearing. In this place, the GL account needs to be updated with the relevant criteria like, what are the fields to be matched for clearing like Reference field, assignment, etc.
    After that, if F.13 is executed for this GL account then it will clear based on the criteria specified above.
    Hope it clarifies
    Regards
    Lakshmanan Krishnan

  • DUMMY_BW (0FI_GL_04) delta queue not getting cleared

    Hi,
    We're using minute based extraction approach for 0FI_GL_04 and thereby have two delta queues for the 0FI_GL_4 extractor in the SAP ERP ECC system: One for the ‘DUMMY_BW’ and the other for the 'real' BI system. The delta queue for DUMMY_BW is not getting cleared automatically in production system and it keeps on adding more records in the queue which is in turn consuming memory in ARFCSDATA. Any thoughts on this would be really helpful.
    Regards,
    Karthik

    Hi Gurus,
    Please help me on how can I check that on what fields 0FI_GL_20 is pulling delta.
    I tried to find the MSG Type to check in BD52 for relevant field list, in ROOSGEN table. the entry for MSG type is blank there.
    Any help on this is appreciated.
    Thanks,
    Sourabh Deo

  • JSF: Error Message are not getting cleared

    Hi,
    I am facing some problem with error messages in JSF.
    Here is what I am doing
    1. User submits a form, server validates and sends back the error to the client error message added to Faces Context.
    2. User checks the messages, changes the input and submits. assuming everything is correct now.
    3. On server, it validates and writes data to response for download using the following code.
    FacesContext faces = FacesContext.getCurrentInstance();
        HttpServletResponse response = (HttpServletResponse)faces.getExternalContext().getResponse();
        DownloadResponse.sendDownload( response, is, fileName );
        faces.responseComplete();
      }4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen.
    It seems I am missing something in JSF req-response life cycle. Anyone please point out the mistake.

    SudhirMongia wrote:
    4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen. Wrong. The problem is that the view is not rerendered, which makes sense because you are not sending view content to the browser but your file.
    Your real question probably is: how do I cause a file download and still rerender the view afterwards to show the results? To that I myself do not have the answer unfortunately, but I have seen that question come by a few times already, so doing some searches in these forums may yield you an answer.

  • Enhanced Datasource fields not getting displayed in Transformation

    Hi,
         Eventhough after replicating the datasource, the Enhanced Datasource fields not getting displayed in Transformation.
      Eg I have done mapping of 6 fields in transformation from datasource to DSO
    Now the datasource is enhanced with 8 fields...........The transformation is not showing the added 2 fields
    I am deleting the existing transformation.Is this the only solution?
    Kindly suggest your answers.
    Thanks,
    Sonu.

    HI,
    Deleting is not solution as it is common scnerio.
    Go to the data source in BW and in change mode check the option "transfer" for this two fields and then see if its coming or not.
    Thanks
    Ajeet

  • Vendor Account not getting Cleared.

    Dear All,
    First of all thanks everyone for your support till date.
    I have an issue. When I am trying to clear a vendor account from F-44 its not getting cleared. Its showing a negative balance of Cash discount and is not getting adjusted with any account.
    However when I am processing the open item for the same vendor in FBL1N. The total is 0.
    Can any one suggest how to go ahead and clear this account.
    Thanks & regards
    Om Prakash gupta

    Dear All,
    Any updates on this issue as it has become a serious problem here. There ia an objection from Auditor.
    Kindly Suggest.
    Regards
    OM

  • UWL items not getting cleared after performing action

    Hello
    We are on EP 7.0.
    We are experiencing a strange behaviorin UWL.
    When end users receive workitems in their inbox and they take the appropriate actions, the workitems still stay in the inbox. Normally they should no longer appear.
    I have tried the refresh in the UWL iview but no luck.
    It seems to work in DEV and other landscape. It does no work in Production. The software installation of UWL are the same across all landscapes.
    Is there any other setting that is required. In SAP GUI this is not an issue.
    Any feedback or tips would be helpful. thanks.
    Regards,
    Sunil

    Hi,
    As far as I can remember, this is a known limitation of UWL.
    Please, check this thread : UWL work item not getting cleared
    I am unsure whether you use the correct button the refresh the UWL (it is well hidden!), check the slide 6 in this document :
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6&overridelayout=true
    Best regards,
    Guillaume

  • SD Reversal not getting Cleared

    Hi Experts,
    When an invoice is getting posted in SD and subsequently when such invoice is cancelled, the line item is not getting cleared. In FBL5n it is showing both the line items as open for all these cases. Please advice
    Thanks in Advance

    Hi,
    VF11 only cancell the invoice and post the reversal document in FI.
    First you clear the original document and reversal document manually in FI
    use T code F-32 or automatically in F.13
    It is related to OB74 setting for this Cusotmer' Recon Acc
    please Check the OSS notes 1259505 and Note 400000

  • Not getting cleared with internal working of JSF

    Hi All,
    I have started with basics of JSF and created some simple apps using netBeans.
    However I am not getting cleared with the exact internal working of JSF i.e. how the things are implemented in JSF libraries: jsf-api and jsf-impl.
    Please advice or share some links on this.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    While creating JSP custom tags, we start from scratch by first creating tag handler class then .tld file for that and finally deploying both these files.
    I am looking for a similar approach for making our own JSF component.
    I don't want to put jsf-impl API into lib directory. Is it possible to make a simple component using jstl standard libraries ?
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • WCS:- WLC Alarm not getting cleared automatically on WCS

    ALarm TAB:-
    ==========
    Severity: Message:
    Critical ------------------------------Port 2 is down on Controller.
    This Alarm is not getting cleared automatically, Where as the alarms generated for AP's are getting cleared, I would like to know is this the default behaviour or we need to look into some thing here. To clear this i need to manually delete the alarm.
    Any help would be greatly appriciated.

    Alarms are automatically cleared after 7 days. Clear the alarms manually if you want to clear the alarms before 7 days. For more information refer http://www.cisco.com/en/US/products/ps6305/products_qanda_item09186a00807a60f0.shtml#qa11.

  • I am not getting clear alert from OEM 11g Grid, even after the issue solved

    I am not getting clear email alert from OEM 11g, even after the issue fixed.
    For eg: I got critical alert when I have shutdown the DB.But I didn't get clear alert even I have started my DB and is up running.
    I am getting only critical and warning alerts but not clear alerts from 11g Grid control.
    Please help me in troubleshooting the issue....
    Thanks in advance.............
    vgcrl

    Bullitt wrote:
    there email address is [email protected]
    Thank you... I will give that a go...
    Martin

  • Screen input not getting cleared

    Hi All,
    I got a peculiar problem,
    In my dialog screen(ztcode), i have make a field input enable based on machine and position(Ztable). Now my problem is, when this field gets input enabled im getting some value with this(some 30.12), i really dont know where it is comming from. Even i have cleared this field before endmodule (last stmt in PBO).
    Now this looks strange when i jus change my code to screen-input = 0 without anyother modification, its coming disabled with value cleared (0.000). I need to get the value cleared when the input is on. Kindly let me know how to solve this.      
    if zmach = 'TCE1' and zpos = '01'.   
    loop at screen.                      
    if screen-name = 'BASE_QTY'.         
    screen-input = 1.                    
    endif.                               
    modify screen.                       
    endloop.                             
    endif.                               
    cleart base_qty.
    endmodule.
    Plz its urgent.
    Will reward u definetly .
    Regards,
    Senthil

    Hi,
    Check in the debugging of when is this getting populated..
    Steps
    /h in the command field..Switch on the debugging..
    Create a watch point on the field BASE_QTY.
    Then press F8..It will stop where the field is getting modified..
    Thanks,
    Naren

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

Maybe you are looking for