Unique problem Screen is not Getting data populated from BDC_DATA itab

Hi Gurus,
I have an unique problem, I have an custom transaction (module pool) and which first runs an ALV report displays an QM Records, There is an command button at the top of the report to create new defect, where i provide the Material Number, Supplier and Defect Code, and then if i press create it should navigate to standard transaction QM01 and It should create a new defect code.
Issue:
The recording runs fine till providing Material Number, Supplier and Defect Code of ZTCODE when it navigates to QM01, the whole executions just stops, i dont know why it is moving ahead. If i try to skip and come out of standard transaction also no improvement and all manually i should come out.
Comparision with recording Made in ZTCODe and QM01.
If i record the same activity directly with QM01 and if i try to run the recording, it runs perfectly.
if i am trying to record it through Z module pool where it will navigate to standard transaction code QM01, it stops when it reaches QM01, i am getting this error. i dont know why.
I have attached the code for your reference, kindly suggest me what can be the problem.
MY CODE:
perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=FC_DEFC'.
perform bdc_field       using 'P_VAR'
                              '/VEHICLEPROJ'.
perform bdc_field       using 'BDC_CURSOR'
                              'S_NITG-LOW'.
perform bdc_field       using 'S_QMDAT-LOW'
                              '03.09.2010'.
perform bdc_field       using 'S_QMDAT-HIGH'
                              '03.03.2011'.
perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ONLI'.
perform bdc_field       using 'P_VAR'
                              '/DEFECT_CODE'.
perform bdc_field       using 'BDC_CURSOR'
                              'S_NITG2-LOW'.
perform bdc_field       using 'S_NITG2-LOW'
                              'G22C'.
perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
perform bdc_field       using 'BDC_OKCODE'
                              '=NEW_DC'.
perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '9507'.
perform bdc_field       using 'BDC_CURSOR'
                              'W_SCR_REFNUM'.
perform bdc_field       using 'BDC_OKCODE'
                              '=OK'.
perform bdc_field       using 'W_SCR_MATNR'
                              'G22C'.
perform bdc_field       using 'W_SCR_LIFNR'
                              '220947-00'.
perform bdc_field       using 'W_SCR_REFNUM'
                              'C_DEF_11'.
            it is not executing from here these screens belongs to QM01, it stops the whole execution
perform bdc_dynpro      using 'SAPLIQS0' '7200'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'RQM00-MAWERK'.
perform bdc_field       using 'RQM00-MAWERK'
                              'CTT'.
perform bdc_field       using 'VIQMEL-QMCOD'
                              '0120'.
perform bdc_dynpro      using 'SAPLIQS0' '7200'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BUCH'.
perform bdc_field       using 'BDC_CURSOR'
                              'RQM00-MAWERK'.
perform bdc_field       using 'RQM00-MAWERK'
                              'CTT'.
perform bdc_field       using 'VIQMEL-QMCOD'
                              '0120'.
perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
perform bdc_field       using 'BDC_OKCODE'
                              '=&F12'.
perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '/EECAN'.
perform bdc_transaction using 'ZM11'.
The screen gets hanged up in the QM01 screen and where the mandatory fields are not getting populated and thats it execution is not happening at any screens if i am trying to come out of transaction.
Assumption - Correct me if iam wrong.
There can be complication while calling a Ztcode (module Pool) which in turns calls a Standard Tcode.
Thanks & Regards,
S.Saravanan

HI,
Check the recording i think the recording does not contain the initial screen i.e SAPLIQS0 200.
Re record the bdc or just add the initial screen in the BDC
perform bdc_dynpro using 'SAPLIQS0' '200'.
perform bdc_field using 'RIWO00-QMART' 'Q!' " What ever notification type u have
perform bdc_field using 'BDC_OKCODE'  '/00'.
This will sove ur problem .
Regards,
Madhukar Shetty

Similar Messages

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Deperaction Area 32 screen is not getting dispalyed in Production Via ABAA.

    Hi,
    When we are trying to Post the unplanned depreciation on prior-year acquisitions (640) via ABAA, we are getting an error message that Deprecation Area 32 should be Zero, We have check the OADB ( Display view asset accounting: define depreciation area) configuration setting, where Posting to G\L is maintained as u2013 0 (No values are posted in General Ledger). Then we have advised the key user to make the value ZERO for Deprecation 32 when he posts the unplanned depreciation on prior-year acquisitions via ABAA.
    But the problem here we are facing in Pre production server (XZB) when we post unplanned depreciation on prior-year acquisitions via ABAA where we are getting THREE Pop window screens like Deprecation Area 02, 32, 90 but when we are doing the same in Production Server (PZB) where we are getting TWO Pop window screens like Deprecation Area 02, 90, Deprecation area 32 pop window screen is not getting displayed, can some help me in resolving this Issue.
    Thanks a lot in advance.
    Rajesh Kumar Mantri

    hi,
    Check in t-code OABU whether your area allows UP depreciation.The setting in OABU should NOT be contradictory to the
    selection made inside the depreciation area .Means,if you select the option "no values allowed" for unplaned depreciation, in the
    definition od depreciation area, then it wil overwrite the setting in OABU.
    I guess this is the reason fior your issue.
    Hope this helps.
    Regards
    Raghav

  • Not Getting Data to PSA

    Hi Experts,
    i am facing the below critical issue.
    i have enhanced 2 fields, item start date and end date to crm data source 0CRM_SRV_PROCESS _I Data Source.
    while checking data from RSA3  i have got data for those 2 fields(item start date and end date) in CRM System, but while running Infopackage i am not getting data of those 2 fields to BI PSA table.
    i got data from RSA3 in CRM Quality and Production Systems and not getting data in Quality and Production BI Systems at PSA level.
    But i am getting data in RSA3 in CRM  development system and BI Development system at PSA level.
    Means i  am facing issue only at Quality and Production BI Systems at PSA level.
    Please find below screen shots for reference:
    RSA3 Screen shot from CRM Quality System:
    PSA Screen shot from BI Quality System:
    Thanks & Regards,
    Nagaraju K

    Hi Anshu,
    i have enhanced almost 20 fields for  same  data source, among these 20 fields other date fields also there which all are getting fine in dev, qty and production systems.
    but only these 2 fields are not getting data to BI PSA level in Quality and productions systems.
    Please find below code for reference:
       if lt_service_assign is NOT INITIAL.
    READ TABLE lt_service_assign into ls_service_assign with key ITEM_GUID = ls_data-item_guid.
    if sy-subrc = 0.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-BEG_TSTMP
    IMPORTING
       EX_DATE            = lv_start_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_STARTDT = lv_start_date.
    endif.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-END_TSTMP
    IMPORTING
       EX_DATE            = lv_end_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_ENDDT = lv_end_date.
    endif.
    endif.
    endif.

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Not getting data for 1 field in ODS

    Hi BW Experts,
    I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
    I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
    Thanks,
    Siva.

    Thanks for the Update
    1. What is your Service Pack Level?
      Service Pack is 0016
    2. Are you able to see the data in PSA?
       Yes I can see the data in PSA
    3. After load, are you able to see the value in New table?
       Yes i can able to see the data in New data table
    4. Anywhere, are you doing the SORTING of Data Package?
       No I have not sorted the data Package.I have not written any coding on this
    I have not written any coding in transformation also.
    Thanks,
    Siva.

  • RFC not getting data from XI

    hi,
    in my scenario, XI is passing the data back to RFC, but in my program where i call the RFC, the data is not received. what could be the issue.
    CALL FUNCTION 'ZFFF' DESTINATION 'XI'
    TABLES
           INP   = aaa
           OUT1 = bbb
           OUT2  = ccc.
    COMMIT WORK.
    it was working fine before when i had only OUT1. Later I added OUT2 and then onwards I am not getting data for any of the tables. I have checked in XI, data is being passed out of XI to RFC. No issues in that.
    something seems to have gone wrong in the RFC modfication or the RFC call. can anyone please help.
    thks

    Hi,
    Check the export import parameter declarations & data types in both RFC & XI.
    Put a break point in RFC & check whether it is getting triggered.
    Best regards,
    Prashant

  • My iphone 4s automatically getting turned off (blank black screen) and not getting started until full battery discharge, after updating to ios 8.0.1

    My iphone 4s automatically getting turned off (blank black screen) and not getting started until full battery discharge. Even on long pressing power button - screen doesn't showing anything - not even "needs charging logo".
    This is happening only since I have updated to new ios version (ios 8.1).
    Is there anyone facing similar issue?? Any suggestion?!?

    Hi jayla_mora, 
    Thanks for visiting Apple Support Communities. 
    It sounds like your iPhone screen is going blank and not responding. 
    You may find the tips in this article useful for troubleshooting this behavior:
    iOS: Not responding or does not turn on - Apple Support
    Best Regards,
    Jeremy

  • Not getting data for Null Records.

    Hi all,
    I am trying to fetch the records where  sczuo  values are NULL . 
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE makz.
    DATA : END OF itab.
    SELECT * FROM makz INTO TABLE itab WHERE sczuo IS NULL.
    IF sy-subrc EQ 0.
      LOOP AT itab.
        WRITE : /3 itab-matnr , 20 itab-sczuo.
      ENDLOOP.
    ENDIF.
    I did not getting data any data .But if i write select statement like this
    SELECT * FROM makz INTO TABLE itab WHERE sczuo = ' '.
    This select statement returns the correct data.
    why my first select statement is not working ? how can i use IS NULL?
    Thanks in Advance,
    Madhu

    Hi,
    When we insert a new field to an existing table, NULL values are automatically inserted into the new field by the system for all existing records. However NULL and SPACE are not the same. 
    The logical expression SQL condition is either "true, false, or unknown". The expression is UNKNOWN if one of the columns involved in the database contains a NULL value and such records could be retrieved by using u201CIS NULLu201D instead of SPACE. 
    Please note that the NULL value is inserted only for the existing records, by the time the new field is being inserted. For all new records, SPACE or the initial (default) value is inserted. 
    If the new field is inserted by checking the checkbox u201Cinitial valuesu201D, then the initial values (SPACE in case of characters) are automatically inserted and not the NULL values.
    ihope u get the solution...
    Thanks
    Ashu

  • I tried to restore from 4.2.1 to 4.3.3 through iTunes my iphone4 was on state after restore it gave error 3194 and my phone got black screen its not getting on what to do to turn on it

    I tried to restore from 4.2.1 to 4.3.3 through iTunes my iphone4 was on state after restore it gave error 3194 and my phone got black screen its not getting on what to do to turn on it

    http://support.apple.com/kb/TS3694#error3194

  • Not getting data into 3rd int table

    Hi all,
             here i ve data in 2 internal tables. this data i want store into 3rd internal table, here am adding with inner join but am not getting data into 3rd one.
    plz check my logic.
      REPORT  ZEXCHANGE_RETES                         .
    TABLES : tcurr,           " Exchange Rates
             /msg/rabr.       " Account (Posting Headers)
    DATA : l_date type datum.
    TYPES : begin of t_tcurr,
            kurst like tcurr-kurst,  " Exchange Rate type
            fcurr like tcurr-fcurr,   " From Currrency
            gdatu like tcurr-gdatu,   " Date as of which
        end of t_tcurr.
    TYPES : begin of t_rabr,
            OW_WHGNR like /msg/rabr-OW_WHGNR,
            bil_dat like /msg/rabr-bil_dat,
            abrnr like /msg/rabr-abrnr,
           end of t_rabr.
    TYPES : begin of t_output,
            kurst like tcurr-kurst,
            fcurr like tcurr-fcurr,
            gdatu like tcurr-gdatu,
            OW_WHGNR like /msg/rabr-OW_WHGNR,
            bil_dat like /msg/rabr-bil_dat,
            abrnr like /msg/rabr-abrnr,
           end of t_output.
    DATA : it_output TYPE STANDARD TABLE OF t_output WITH HEADER LINE,
            wa_output TYPE t_output.
    DATA : it_rabr TYPE STANDARD TABLE OF t_rabr WITH HEADER LINE,
            wa_rabr TYPE t_rabr.
    DATA : it_tcurr TYPE STANDARD TABLE OF t_tcurr WITH HEADER LINE,
            wa_tcurr TYPE t_tcurr.
    getting data into 1st itab
    SELECT kurst fcurr gdatu
              from tcurr into table it_tcurr
              where kurst EQ 'M'.
              SORT it_tcurr by  fcurr GDATU DESCENDING.
              delete adjacent duplicates from it_tcurr comparing fcurr.
    getting data into 2nd itab
       SELECT * FROM /msg/rabr into CORRESPONDING FIELDS OF TABLE it_rabr.
        SORT it_rabr BY OW_WHGNR bil_dat abrnr.
    getting data into 3rd itab
    SELECT t~kurst
            t~fcurr
            t~gdatu
            r~OW_WHGNR
            r~bil_dat
            r~abrnr
            FROM tcurr as t INNER JOIN
            /msg/rabr as r on tfcurr EQ rOW_WHGNR into table it_output
            WHERE rabrnr BETWEEN '00000000000000800251' AND '00000000000000800300' AND rbil_dat < wa_tcurr-gdatu.
    printing output
    LOOP at it_output into wa_output.
    WRITE: /10 wa_output-kurst,
             15 wa_output-fcurr,
             25 wa_output-gdatu,
             50 wa_output-OW_WHGNR,
             60 wa_output-bil_dat,
             80 wa_output-abrnr.
    ENDLOOP.
    here am not getting data into 3rd i tab.
      Thanks & Regards,
    sudharsan.

    Hi,
    The select command is the most fundamental function of writing ABAP programs allowing the retrieval of data from SAP database tables.
    Try filling the 3rd internal table with Loop ... Endloop.
    Loop at t_tcurr.
    Read table t_rabr with key field1 = t_tcurr-field1.
    If sy-subrc  = 0.
    Move t_tcurr-field1 = itab_final-field1.
    Move t_tcurr-field2 = itab_final-field2.
    Move  t_rabr -field3 = itab_final-field3.
    Move  t_rabr -field4 = itab_final-field4.
    Append itab_final.
    Endloop.
    Hope this helps you.
    Regards,
    Ruthra

  • I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • On a west Texas highway I believe my old 3G iphone could get data with 3 bars. My new 4S could make phone calls but not get data. An att guy told me it's because there aren't enough 4G towers yet. Other explanations?

    On a west Texas highway I believe my old 3G iphone could get data with 3 bars. My new 4S could make phone calls but not get data. An att guy told me it's because there aren't enough 4G towers yet. Other explanations?

    Simple solution. Get a real internet service and not a cell phone internet connection service it was never meant to be used as the primary internet service
    And how do you lose a home and job and be sued as you claim. What over 10 Gb of data? Give me a break
    In my city small claims is $5000.00
    And over that amount you can go to a superior court to have your issue settled.
    http://www.bbb.org
    Good Luck, Elector

  • Full update not getting all records from PSA to ODS

    Dear BW Masters,
    I am working with MM module. Iam using standard extract structure 2LIS_02_ACC
    Iam doing full update. Getting full data 1300 records in to PSA. But getting only 298 in to my ODS. I tried changing fields in to KEY FIELDS AND IN TO DATA FIELDS in my ODS
    But could not get data.
    Pls help me..i have dead line before that i need to complete report on the same.
    Its happening with the other HDR and ITM extractors.
    PLs help me..

    Hello,
    Look at this example:
    R/3 Record:
    CustNo | Name | Order | Amount
    1234 | Customer1 | Order 1 | 100
    1235 | Customer2 | Order 2 | 200
    1234 | Customer1 | Order 3 | 300
    If Cust.No is Keyfield, In BW you will get 2 records
    1234
    1235
    If Order No is Key field, you will get 3 records.
    It is not necessary to get the same no of records as they are in R/3.

  • How to get data back from an action ?

    Hello,
    Would it be possible to get data back from an action (out of the question EO_MESSAGE & ET_FAILED_KEY )?
    For example we got an order with order positions and we need a "function" to e.g. count all positions. Because of Performance the function should not be processed each time the order is changed, read or a position is added. Instead the function should be processed only if it was called explicitly.
    Is it possible to create a kind of action which is actually counting all entries and export the number of them?
    How to mark a parameter in is_parameters as exporting?
    Is this just done by (naming-) convention?
    What is the preferred way to have “methods” with returning/exporting values?
    Regards,
    Lorenz

    Hello Lorenz,
    As you have already figured out , the Action API provides you with only the messages and failed keys if any.
    Post action execution , you can always execute a retrieve or retrive by association , to get the latest buffer snapshot , which of course would include the changes that you have made in your action.
    If you want to ensure that users have explict control on execution of your "fucntion", then of course , you should model it as an action on the BO.
    The parameter is_parameters is an IMPORTING parameter. You CANNOT use it to export anything back from the action. For importing ,  you can of course have any structure to use as the is_paramaters , which you model as the action parameter structure which modelling your BO action.
    From an external entity the only way to interact with a BO is by consuming the BO services and you are bound by the BOBF standard interfaces. Any and all data you require needs to be modelled as node attributes ( persistent or transient ) and fetched using the RETRIEVE, RETRIEVE_BY_ASSOCIATION or QUERY services.
    Regards,
    Indranil.

Maybe you are looking for

  • Is it possible to upgrade a dv5 1234ca processor?

    I want to upgrade my HP dv5 1234ca laptop processor. Presently my laptop has a 2.00 GHz Intel Core 2 Duo Processor T6400. I was wondering if it was possible to remove the old processor to a faster Core 2 Duo processor? or i3 or i5 processor ?

  • Does anyone know how to remove an unfinished movie download from an ipod touch

    I need some help with my ipod touch 4 I download the movie but it showed that i dont have enough space and it wont let me to remove or delete the movie. I tried everything but no luck. I dont want to see unfinished movie download stuck in my download

  • White lines appearing on certain PDF's???

    Certain PDF's when opened in Acrobat Pro 9 are appearing with white lines to the right and the bottom of the document.  However these lines do not exist when opened in other programs or other computers with Acrobat 9.  Also these lines never print. 

  • LSMW using one data file, via Direct input

    Hi All, I have to perform the below LSMW with Direct method only. We have only one data file with one row containging header and item data. i.e. each row from data file will create one header record and item records. Each row will have some columns c

  • EXIT_SAPLV50E_001

    Dear Friends, Captioned  User exit is meant for default values of Foreign Trade header data. Can you please inform me, can this exit be trigerred in VF01? I tried the same using breakpoint, but was unsuccessful. Debugging mode did not start. I wish t