Bdc values are not cleared

hi BDC Masters,
i have a scree vith 2 fields  VAR1  AND VAR2.
in VAR1 = 05 and VAR2 = AM and i get the values...into my internal table I-CREATE
i am using BDC and passing all my INTERNAL TABLE VALUES to the BDC where it displays all the values that are their in the INTERNAL TABLE which is fine.
when the user comes and changes the screen values for ex VAR1 = 00 and VAR2 = HL.
NOW the am able to get values of 00 and HL into  INTERNAL TABLE WHERE VAR1 = 00, VAR2 = HL.
BUT when i pass this values to BDC am not able to get these values of the internal table that am passing but PREVIOUS VALUES are been displayed instead of the values that am passing now to BDC.
I am clearing my internal table befor it fills the internal table second time and and reading it.
when i debug i can see the values fo the second time given values and those values am passing still the OLD VALUES are displayed.
how can i clear the BDC VALUES?
can anyone help me pls?
thank you,
pasala.

data : gwa_bdcdata      TYPE bdcdata.
    gwa_bdcdata-fnam = fnam.
    gwa_bdcdata-fval = fval.
    APPEND gwa_bdcdata TO gi_bdcdata.
CLEAR gwa_bdcdata.
CLEAR gwa_bdcdata.
  gwa_bdcdata-program    =  prog_name.     "Program Name
  gwa_bdcdata-dynpro     =  screen_no.     "Screen Number
  gwa_bdcdata-dynbegin   =  gc_x.
Append bdc table and clear work area
  APPEND gwa_bdcdata TO gi_bdcdata.
  CLEAR gwa_bdcdata.

Similar Messages

  • Bdc - values are not saved in database

    hi mates
    im have recorded the transaction for XK01 and im using batch input session. when i process the session my transactions are failing
    can any body help me
    regards
    mano

    Hi,
    Just make sure that all the data fields are replaced with the value fields i.e. internal table fields.  and check whether u have placed the code  for save.
    PERFORM F_9000_APPEND_BT USING:
        'SAPLCJWB'           '0901'                'X',
        'BDC_OKCODE'         '=BU'                 ' '. "SAVE
    FORM F_9000_APPEND_BT USING IV_FNAM LIKE GT_BT-FNAM
                              IV_FVAL TYPE ANY
                              IV_DYNBEGIN LIKE GT_BT-DYNBEGIN.
      CLEAR GT_BT. "Clear the field string...
      IF IV_DYNBEGIN = 'X'.
        GT_BT-PROGRAM  = IV_FNAM.
        GT_BT-DYNPRO   = IV_FVAL.
        GT_BT-DYNBEGIN = 'X'.
      ELSE.
        GT_BT-FNAM     = IV_FNAM.
        GT_BT-FVAL     = IV_FVAL.
      ENDIF.
      APPEND GT_BT.
    ENDFORM. "End Of f_9000_append_bt

  • GR/IR A/c Amount and Amount in local Curreny values are not matching

    Hello Gurus
    When we are doing MIGO for some Scheduling Agreement PO's the Amount and Amount in local currency columns are mismatching with  paise (+/-), eventhough PO belongs to Local Currency (INR). Because of this GR/IR account is not cleared after MIRO through F.13. Both MIGO and MIRO amount are showing as Open items.
    Why it is happening and what is the way to clear GR/IR A/C. (F.13 with Tolerance limit is also not workout).
    Thanks & Regards
    Venkat.P

    Hi sridhar
    Thanks for reply
    Through MR11 also these values are not cleared.
    Regards
    Venkat.P

  • Lov returned items are not cleared in Jheadstart 11.1.1.4.26

    We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4
    HR Testcase:
    Form UI
    Lov on the Manager_FirstName
    returns
    ManagerId -> ManagerId
    FirstName -> Manager_Firstname
    LastName -> Manager_Lastname
    1: Select a manager from the LOV popup. ManagerId,FirstName,LastName are filled
    2: Clear the Manager_Firstname from the Lov inputext. Returned Values should be automatically cleared (at least they used to in previous version). They dont in this version.
    I am sending a testcase to [email protected]
    Regards

    Thanks for looking at the testcase.
    I emailed you a new one with screenshots of the steps required to reproduce it.
    Conserning the previous test case I have sent, you are correct. I made a mistake by returning the
    ManagerId back to ManagerId where it should be EmployeeId copied back to ManagerId.
    However the items are not cleared in my Environment if you set a value from the LOV popup and then clear the value of the textinput. (No saving should be performed between these two steps).
    If you perform a save between these two steps the items are all cleared.
    Are you using Jdeveloper 11.1.1.4 ?
    Regards
    Vasileios
    Edited by: spooker on 6 Μαϊ 2012 10:03 πμ
    I am attaching another testcase with steps here. This is different from the one I emailed you but illustrates the same issue.
    It is as if the item the Lov is based on does not autosubmit when it loses focus (click somewhere in the page)
    steps to reproduce word document --> http://herosh.com/download/10867921/testcase.doc.html (just click the green download link)
    testcase--> http://herosh.com/download/10867918/HR.rar.html (just click the green download link)
    Edited by: spooker on 6 Μαϊ 2012 11:05 πμ

  • Values are not populating...

    After selecting the data from LOV the values are not populating in the respective fields.
    i've checked the 'LOV' no problem in that,but im think below coding have a problem.
    declare
         b boolean;
    begin
         :global.job:=null;
         clear_form(no_validate);     
         b:=show_lov('view');
         :GLOBAL.ADDNEW1:=0;
    --     go_block('JOB_CARD_MAIN');
         GO_ITEM('JOB_CARD_MAIN.BRANCH_CODE');
         set_block_property('job_card_main',default_where,'job_no='||chr(39)||:job_card_main.job_no||chr(39));
         execute_query(no_validate);------after this line get execute the values get disappear from the field
         insert into da.mylog(username,tname,mdate,oper) values(user(),'Job Creation',sysdate,'S');
         commit;
    end;
    Pls help..

    Which trigger do you have this code in? I'm guessing it is a Key-ListVal trigger.
    Have you tested the WHE RE clause in SQL*Plus to ensure it returns a record set? Most likely, the query returns no rows which could explain why the block is empty. Also, why are you clearing the entire Form instead of just the JOB_CARD_MAIN data block? Perhaps you should try:
    Go_Block('JOB_CARD_MAIN');
    Clear_Block(NO_VALIDATE);Also, the EXECUTE_QUERY built-in does not have a NO_VALIDATE parameter. It only supports the following parameters:
    ALL_RECORDS
    FOR_UPDATE
    or the combination of the two (ALL_RECORDS,FOR_UPDATE). It also allows you to set the Locking mechinism by passing the parameter NO_WAIT.
    Just a suggestion, try your query in SQL*Plus to make sure it produces a record set and Comment out all the extra stuff in your code and only keep the SHOW_LOV, CLEAR_BLOCK, SET_BLOCK_PROPERTY and EXECUTE_QUERY to see if a row is returned. If yes, then add the rest of your code back one line at a time.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Value are not coming (tcode cm50)

    hi expert ,
    in below code values are not comes into ITAB_TXTLINES (  WA_DATA ) . we use a standard program cm50 tcode . into
    customize program  memory but values is not coming into wa.
    values(arbpl ,werks,kapar,planr)
    this is my first time i use standard progarm
    so plz help
    REPORT  ZPP_CM50  LINE-SIZE 170..
    TYPE-POOLS : SLIS.
    DATA : INT_CAT TYPE SLIS_FIELDCAT_ALV,
           INT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : LS_LINE TYPE SLIS_LISTHEADER,
           VN_TOP  TYPE SLIS_T_LISTHEADER,
           IT_SORT TYPE  SLIS_T_SORTINFO_ALV,
           WA_SORT LIKE LINE OF IT_SORT.
    DATA : LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: BEGIN OF SLIST_LISTLINE,
          LINE(1024)      TYPE   C,
          END OF SLIST_LISTLINE.
    DATA: ITAB_TXTLINES LIKE SLIST_LISTLINE OCCURS 0 WITH HEADER LINE.
    TABLES : CRHD , KAKO .
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
          AA(20),LEVEL(20),ITEM(20),OBJ(20),OBJID(20),
          OBJDES(20),OVRFLW(20),QTY(20),UOM(20),ICT(20),
          END OF ITAB_DATA.
    DATA : WA_DATA LIKE ITAB_DATA.
    DATA: TEXT TYPE C LENGTH 10,
          RSPAR_TAB  TYPE TABLE OF RSPARAMS,
          RSPAR_LINE LIKE LINE OF RSPAR_TAB,
          RANGE_TAB  LIKE RANGE OF TEXT,
          RANGE_LINE LIKE LINE OF RANGE_TAB.
    *DATA: TEXT TYPE C LENGTH 10,
         RSPAR_TAB  TYPE TABLE OF RSPARAMS,
         RSPAR_LINE LIKE LINE OF RSPAR_TAB.
         RANGE_TAB  LIKE RANGE OF TEXT,
         RANGE_LINE LIKE LINE OF RANGE_TAB.
    DATA  : LIST_TAB TYPE TABLE OF ABAPLIST.
    SELECTION-SCREEN : BEGIN OF BLOCK ABC WITH FRAME TITLE TLT.
    SELECTION-SCREEN   SKIP 1.
    *SELECT-OPTIONS     ARBPL FOR CRHD-ARBPL.
    SELECT-OPTIONS     WERKS FOR CRHD-WERKS.
    SELECT-OPTIONS     KAPAR FOR KAKO-KAPAR.
    SELECT-OPTIONS     PLANR FOR KAKO-PLANR.
    SELECTION-SCREEN   SKIP 2.
    SELECTION-SCREEN : END OF BLOCK ABC.
    START-OF-SELECTION.
    *RSPAR_LINE-SELNAME = 'TRUST_ID'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'RPF1'."'VD06011013'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'YEAR'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = '2009'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'REPONAME'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'FORM3A'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    SUBMIT RCCRY000 EXPORTING LIST TO MEMORY
    USING SELECTION-SCREEN '1000'
                    WITH CRHARBPL-LOW EQ ARBPL
                     WITH CRHWERKS-LOW EQ WERKS
                     WITH KAKKAPAR-LOW EQ KAPAR
                     WITH KAKPLANR-LOW EQ PLANR
                      AND  RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = LIST_TAB
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      CALL FUNCTION 'LIST_TO_ASCI'
        EXPORTING
          LIST_INDEX         = -1
          WITH_LINE_BREAK    = ' '
        TABLES
          LISTASCI           = ITAB_TXTLINES
          LISTOBJECT         = LIST_TAB
        EXCEPTIONS
          EMPTY_LIST         = 1
          LIST_INDEX_INVALID = 2
          OTHERS             = 3.
      LOOP AT ITAB_TXTLINES .                                   "from 5.
        CLEAR WA_DATA.
        SPLIT ITAB_TXTLINES AT '|' INTO: WA_DATA-AA
                                         WA_DATA-LEVEL
                                         WA_DATA-ITEM
                                         WA_DATA-OBJ
                                         WA_DATA-OBJID
                                         WA_DATA-OBJDES
                                         WA_DATA-OVRFLW
                                         WA_DATA-QTY
                                         WA_DATA-UOM
                                         WA_DATA-ICT.
       IF ITAB_TXTLINE-SY-INDEX .
    then
         DO 4 TIMES.
           REPLACE '.' IN WA_DATA-LEVEL WITH SPACE.
         ENDDO.
    *DELETE ITAB_DATA-INDEX=1." WHERE WA_DATA = ITAB_DATA.
         CONDENSE WA_DATA-LEVEL.
         IF NOT WA_DATA-LEVEL IS INITIAL and not WA_DATA-LEVEL cp 'Emp*'.
            APPEND WA_DATA TO ITAB_DATA.
         ENDIF.
       ENDIF.
      ENDLOOP.
    thanks.

    Hi,
    CM50 is generated from CM10 main program for parameter 'M'. It generates it on the runtime and exports values into memory. It's less likely you will be able to generate the whole set into a Z Program.
    I didn't find a function module to do so. But, with your consultants help you can create your own function module that gives results similar to CM50, it's merely calculation of capacity of workcenters for a period using the sales order booked against the work centers in that period. If you try a bit you can create it.
    Good luck.
    Also remember, before you post a code, use  ...

  • ST06 Screen values are not showing as ecpected

    Hi Experts,
    ST06 Screen values are not showing as expected like avg CPU idle time and min Swap space, page out and page in values etc.
    All fileds are showing "Zero Values" since last week and i just found tht today.
    I Went  to
    SM 36, All Configured standard jobs are SAP_COLLECTOR_FOR_PERFMONITOR, SAP_COLLECTOR_FOR_NONE_R3_STAT.. etc are running fine.
    Restarted the SAPOSCOL service also.Please suggest me.Please find the Enclosed values..
    Compare recent days for server cambsvr13    Date/time  27.06.2008 13:40:31
    Average values for peak workload
    Date      Usr  Sys  Idl    Pages in/h             Pages out/h               Swap space              Lan packets/h          Lan errors/h
               avg  avg  avg         max        avg         max        avg    max size   min free         max        avg         max        avg
    20080626    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080625    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080624    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080623    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080622    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080621    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080620    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080619    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080618    0    0    0           0          0           0          0           0          0           0          0           0          0
    20080617    0    0   99      17,240      9,685      97,730     97,575   10485,760  9,023,492      22,430     21,205           0          0
    20080616    0    0   99       7,260      3,978     101,340     97,418   10485,760  9,057,327      21,940     19,447           0          0
    20080615    0    0   99       1,390      1,088     101,330    
    99,113   10485,760  9,162,058      16,199     15,970           0          0
    Best Regards,
    Vinod

    Try stopping the SAPOSCOL NT service.  Then, copy this folder (making a backup):
    installdrive\usr\sap\prfclog to installdrive\usr\sap\prfclog_old
    Then, clear out everything inside of installdrive\usr\sap\prfclog
    Also, doens't hurt at this time to check the credential of the user running your SAPOSCOL, typically it should be the same as the user running your SAP instance.
    Start SAPOSCOL and wait for the OS collector job to run. Give it 24 hours, come back and check.

  • I have burned a CD and the first 1/2 of the songs sound fine but the rest are not clear

    I have burned a CD and the first 1/2 of the songs sound fine but the rest are not clear, they have a skipping sound to them.  I have erased teh CD-RW and tried again and it was somewhat better but the last few songs did the same thing.

    Jennann,
    First of all, it is better to use CD-Rs than CD-RWs, as the latter often give problems when used for audio CDs.
    The problem you describe -- bad audio on the later tracks of an audio CD -- can almost always be corrected by doing the burn at a much lower burn speed. Use 2x.
    The burn speed is selected in the dialog box that comes up when you request the burn.  It defaults to "Maximum Possible," but there is a dropdown to select a lower value.

  • While Creation Of SaleOrder Char Values are not getting saved.(V C)

    Hi SAP gurus,
    One of my client can able to create a saleorder but when we go and see in VA03 Display mode,we found Charactrestic values getting miised out.What could be the probale reasons.
    Note: I Have stimulate the required combination as per my client requirement in CU50,here i can able to indentify the Green Sign,but While Creation Of SaleOrder Char Values are not getting saved.
    Awaiting for your valuable reply.
    Cheers,
    Kumar.S

    Kumar ,
    If you assign values in classification view or configuration profile  they will become default for the product, and it willnot be changed in sales order.
    another thing if the item category is incorrect you will not get the configuration pop up at all .
    problem what i understand from your thred is at the time of sales ordeer creation there is some inconsistances in the configuration , may be some condition is not fullfilling.
    If in CU50 the result shown are error free, same configuration should owrk properly in sales configuration process, please again try to create it in sales order with same value assignment also check all the messages.
    see the result of configuration before saving the sales order , i hoep it will work for you.
    I am assuming all the things from SD are properly configured ie item catageory, varient pricing etc.
    Check and revert back.
    Regards
    Ritesh

  • Values are not getting updated in sales report

    I have configured sales information system, and i have been trying to run sales report but values are not getting updated in sales report, System will through message that no data exists.
    regards,
    thooyavan

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Values are not getting updated in 'stocks App' in my i4 phone.  What is the solution?

    values are not getting updated in 'stocks App' in my i4 phone.  What is the solution?

    you have encountered activation lock.  Read iCloud: Activation Lock

  • Excise values are not flowing  in MIGO

    Dear All,
    I am facing a problem during MIGO.
    THERE IS STOCK TRANSFER BETWEEN 2 PLANTS AND 2 PLANTS ARE UNDER DIFFERENT COMPANY CODES.
    1 I have created a PO.
    2.Delivery through VL10D
    3.Picking-vl02n
    4.Created Bill-VF01
    5.Created Invoice and saved it
    When I am doing MIGO the excise values are not following.in migo SCREEN.I I want to know do i need to post EXCISE INVOICE and how to do the same.
    Pl let me know anything is missed out so that excise invoice is not flowing in MIGO screen.
    Regards
    Manash

    Hi,
    Have you miantained Tax code in STO ? if yes, then have you mainatained Settoff as 100% for that Tax Code in FV11 for which combination you are using
    SETOFF Must Be Maintained:-
    JMX1 --     IN: A/P BED setoff
    JEX1 ---      Ecess Setoff Sta
    HX1     IN: A/P SECess SOTot       
    If it is there please follow the Following steps for STO
    1.     Create Purchase Order(STO)  using ME21N
    2.     Create Outbound Delivery using VL10B
    3.     Create Billing Document using VF01
    4.     Create Excise Invoice using J1IIN
    5.                   GR with respect to Inbound delivery and in Excise Invoice give number of VF01.
    Hope Help U !
    Regards,
    Pardeep Malik

  • Screen values are not retained in Tcode BP, onclick of SAVE button

    Hi,
    In Tcode BP, I am selecting a Role with the Business Partner number. COMPANY CODE Push button on the Top is Enabled and Click on that.
    Enter the Company Code and provide the Account management tab by providing Reconciliation Acct 120113, Sort key as 035, Planning Group as E1. Go to Payment Transaction Tab, Enter the Payment terms as Z003, check Record payment history. Now, Click on SAVE Button on the TOP.
    The issue is that, The screen values are not retained in the Payment terms tab and Customer is not Created after saving of a BP Number which is related to a Customer.
    Regards,
    Deepthi.

    OSS Note 1254214 is applied and it is solved.

  • CRM 7.0 WEB IC - context node values are not seen in webIC

    Hi
    can anyone help me in resolving my problem in CRM WEB IC.
    Actually i have added a new context node Using wizard , by right clicking the context nodes. i have four custom fields in that node, these i have to show on the View Account overview and the context node for this is Account where i have to fetch data based on the BP_number i have in Account, i have to  display custom fields from the context node BALANce which i have created .
    I gave all my coding in do_prepare_output method. But the values are not passing to my custom fields as a result the view in WEB IC dissappears saying
     
    Cannot display view IUICOVW/AccInfo of UI Component IUICOVW
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    Method:  ZL_IUICOVW_ACCINFO_IMPL=>DO_PREPARE_OUTPUT 
    Source Text Row:  82
    Edited by: nelachinni on Dec 16, 2010 10:04 PM

    Hi,
    Could you please share what are you trying to access at line 82 in do_prepare_output ? sharing code snippet might help in understanding the issue.
    Cheers,
    Sumit Mittal

  • Forms values are not displayed correctly

    This is happening on the client view. I have a custom form and after some Windows updates on user's laptop, the text field values started stopping to display in the form. If I click on View mode then the text values shown and change back to Edit the form
    now text values show up in the text field.
    Another thing is when trying to print the view out, text values are not shown up at all. I tried to upgrade user to IE11 and same issue. Using Firefox then text values are shown in print preview but not in Editing. I don't want users to use different browser
    rather than IE.
    Any thoughts on this would be much appreciated.

    Hi,
    Since the issue happens after some Windows Updates, I would suggest the user log on another machine and see if the issue persists. If the issue only happens on this laptop, you can manually uninstall the update patch you doubt to test
    the issue. Go to Control Panel->Programs and Features->View installed Updates->”right click” and “uninstall”.
    Meanwhile, add the SharePoint sites to a trusted zone in IE settings.
    Thanks.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • How do I install Windows 8 on Mountain Lion (mac mini) 2010 Server using bootcamp with out Optical Drive?

    I have a 2010 Mac Mini server running 10.8.4 (12E55).  I just bought a brand new copy of Windows 8 from micrsoft.  I have tried using boot camp and it will not recognize a burned DVD in my remote optical drive on my laptop running windows 7 or my mac

  • Mac running slow when plugged to power

    Why does my Mac run very slow when plugged to power and how can i fix it? I have early 2011 MacBook Pro whit i7 procesor.

  • New Accesslayer Switch 2960S vs 3560X

    Hallo together, so we plan to acquire new access layer switches for a medium sized LAN. So there are three switch types we shortlisted. 1. WS-C3560X-48P-L 2. WS-C2960S-48LPD-L 3. WS-C2960S-48LPS-L So could anybody tell me advantages / disadvantages o

  • Dual screen

    Hi, I got a strange problem. Until last week end I was working in a dual monitor configuration. This week end my LCD give up and I have to send it back to Samsung under the 3 year waranty. This morning I try to open Dreamweaver MX on my single monito

  • I downloaded ios 7 but now my screens just gone black

    help i downloaded the ios7 after hearing great things but after locking it and coming back to go on it the screen just stayed black like its turned off, however if i hold down the middle button i can still hear siri? please help