Wat is wrong in this decode function, it doesn get executed,please help me

wat is wrong in this decode function, it doesn get executed,please help me
decode(DVI.COMPANY||'.')||
                                        DECODE(DVI.COST_CENTRE||'.')||
                                        DECODE(DVI.ACCOUNT||'.')||
                                        DECODE(DVI.LOCATION||'.')||
                                        DECODE(DVI.PRODUCT||'.')||
                                        DECODE(DVI.FUTURE)company_id,

Hi,
I could not understand what you are trying to do with decode here.
The standard way of using the decode is like :
SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
DECO
TRUE
1 row selected.
1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
SQL>/
DECOD
FALSE
1 row selected.
Please explain what you want to do with DECODE ?
Regards

Similar Messages

  • Wat is wrong in this formula column pls help me..

    wat is wrong in this formula column pls help me..
    function CF_BEGIN_BALFormula return Number is
    cr number;
    dr number;
    begin
         select begin_balance_cr,begin_balance_dr into cr,dr from gl_balances
         where gl_balances.period_name=:from_period
    and gl_balances.code_combination_id= :ccid;
    if ( abs(CR) > abs (DR) ) then
    return nvl((CR - DR ) , 0) ;
    else return nvl((DR - CR ) , 0) ;
    end if;
    end;

    Without any error message, it's guess work, but one thing - where do you expect those bind variables will come from?
    FUNCTION cf_begin_balformula
       RETURN NUMBER
    IS
       cr   NUMBER;
       dr   NUMBER;
    BEGIN
       SELECT begin_balance_cr, begin_balance_dr
         INTO cr, dr
         FROM gl_balances
        WHERE gl_balances.period_name = :from_period
          AND gl_balances.code_combination_id = :ccid;
       IF (ABS (cr) > ABS (dr)) THEN
          RETURN NVL ((cr - dr), 0);
       ELSE
          RETURN NVL ((dr - cr), 0);
       END IF;
    END cf_begin_balformula;

  • HT201487 i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    That's not very intuitive
    Check your mail server setup (mail>preferences>accounts>) choose your MobileMe account and select Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP server list, verify that each instance of the me server has a password, if there are more than one and you only have one account then delete the one without a password.

  • I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!

    I deleted unwanted photos from my iPhoto library, emptied iPhoto trash & Finder trash... this did not free up disk space. please help!
    I have a 15-inch MacBook Pro (Late 2011) with OS X Mavericks 10.9.5
    Last week, my 500 GB Harddrive had 120 GB free space. I was feeling crumby and decided to make productive use of taking a day off to lounge around. I snuggled up with my laptop and dedicated hours to meticulously combing through my iPhoto Library. I had 13,000 pictures, and I got rid of those I didn't want. Having said "sayōnara" to about 6,500 pictures, I then emptied the iPhoto trash and the Finder trash. I took delight in the iconic paper crumpling sound of them vanishing into the digital void.
    Everything seemed perfect: the photos I loved were still there, the photos I loathed were gone, both trashes were beautifully empty. Having thrown away all of those awful, boring, and unflattering images of poorly light lunches and selfies gone wrong, my iPhoto library was half the size as before! I felt renewed, a little lighter, somehow more free, and I expected my hard drive to be a bit different to.
    I eagerly checked my storage stats. My heart sank to see that my 120 GB of free space, was still only 120 GB of free space. I restarted my MacBook; this did not help. I restarted it the next day; this also did not help. It's been 5 days and the hard drive still has 120 GB free space. This is not an emergency and it will probably be a good while before I clutter my laptop to the brim. Yet while I am glad I don't have to see cringeworthy pictures of my ex's unmentionables every time I'm showing off things I do want to remember, I'm still disappointed and now obsessed with solving this mystery.
    What is going on? I don't see them, so where are they hiding? How do I get the free space I should have earned from throwing away 1,000's of photos?!

    Thank you, Terence!
    Yes, I only emptied the trash when it was really full, once I waited until the trash cans contained 2,600 photos and then I emptied them - Oooops! In the future, I'll keep in mind your suggestion of deleting less than 100 photos at a time.
    I downloaded the iPhoto Library Manager and used it to rebuild my iPhoto. After a few hours of rebuilding, it generated a new copy of my iPhoto Library. This versions was nearly identical to the original (it was missing 5 photos and was therefore only 5 mb smaller). I guess my Library wasn't defective.
    I checked my storage stats, and interestingly, using iPhoto Library Manager did help with the problem that developed after I re-indexed my hard drive. My hard drive is able to properly recognize data categories again, instead of listing almost everything as "Other". Understandably, my free disk space changed from 120 GB to about 60 GB, because my hard drive now contained a second copy of my iPhoto Library as well as iPhoto Library Manager. It seemed like all I needed to do was throw these away, but when I emptied the trash, my problem was not solved. My Hard drive now looked like this:
    It appears to me that when I empty the trash, the things I throw away are just hanging around as backups instead of leaving! I went into System Preferences and turned of my time machine OFF. Now my hard drive looks likes this:
    The back ups of the iPhoto files, and the program which I deleted, are still on my hard drive some where but now they are listed as "Other" instead of "Backups". Do you know where they might be and how I can delete them for good?

  • I cannot fix this problem no matter what I try, please help!!

    My iPod Touch is stuck in the past. No matter what I do or change, the date always reverts back to December 31, 1969. I wouldn't mind hanging out on New Years Eve in 1969 with all the hippies listening to Jimi Hendrix and Jim Morrison but let's face it, It's 2011 and I'd like to bring my iPod into this century. The version that's installed is 4.2.1, and even after syncing, it still is living in the past. Does anyone know how to fix this? Even when I try to adjust the date/time manually, it goes right back to 12/31/1969.  Alot of the apps I run won't even open because the date is wrong. I need to get this fixed as soon as possible. Please help me. Thanks.

    My iPod Touch is stuck in the past. No matter what I do or change, the date always reverts back to December 31, 1969. I wouldn't mind hanging out on New Years Eve in 1969 with all the hippies listening to Jimi Hendrix and Jim Morrison but let's face it, It's 2011 and I'd like to bring my iPod into this century. The version that's installed is 4.2.1, and even after syncing, it still is living in the past. Does anyone know how to fix this? Even when I try to adjust the date/time manually, it goes right back to 12/31/1969.  Alot of the apps I run won't even open because the date is wrong. I need to get this fixed as soon as possible. Please help me. Thanks.

  • My icloud activation lock is ON my iphone, which requires an activation login to access the homescreen, but when i log in with the apple ID on the phone, it says the apple ID is not meant to unclock this iphone 5 ios 8.0.2. please help me solve this.

    My icloud activation lock is on my iphone, which requires an activation login to access the homescreen, but when i log in with the apple ID on the phone, it says the apple ID is not meant to unclock this iphone 5 ios 8.0.2. please help me solve this.

    Yes the phone belongs to me. It was purchased from United Kingdom Vodafone to West Africa, i had to factory unlock to use any sim in it. so it belongs to me. I did the activation myself, now after updating my iphone to the latest update, it required a user id and password to activate the phone, but anytime i enter the details, it tells me the user Id is not correct but the password is correct..

  • My i phone 4 is water damaged and it is working but network not shown so please help me

    my i phone 4 is water damaged and it is working but network not shown so please help me

    A replacement iPhone is usually a refurbished iPhone that has received new battery and case and repair of anything that may have been faulty.  The refurbished iPhone is indistinguishable from a new iPhone.  A number of the regulars on here prefer the refurbished Aplle products because they have been so thoroughly tested.
    A replacement iPhone is identical to the original, same color, capacity, and so on.

  • My new iPhone 5 has black and white lines on the screen. It's not been damaged. I've tried turning it off but this does not solve the problem? Please help.

    My new iPhone 5 has black and white lines on the screen. It's not been damaged. I've tried turning it off but this does not solve the problem? Please help. I can't find my answer on the Internet.

    By far the most common problem hardware-wise seems to be scuffs on the aluminium. Yours is the first report of a faulty screen I've seen.
    If you use the same Apple ID on both devices it'll sync whatever you want it to - music/apps/photos/messages/etc.
    I've just switched from a Galaxy S3 to iPhone 5 (having already owned an iPad for a while) so I'm in a similar position!

  • Until recently I was able to send images in the body of my Yahoo emails. Now, I am getting the message "This message has been truncated", and the email does not go through. I do not have this problem using IE. Could you please help? Thank you.

    Until recently I was able to send images in the body of my Yahoo emails. Now, I am getting the message "This message has been truncated", and the email does not go through. I do not have this problem using IE. Could you please help? Thank you.

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • TS1389 I am trying to authorise a new computer. The Apple instructions are to select Authorise this computer from the itunes store menu. I can't find this in any menu. Can you please help? How do I authorise my computer?

    I am trying to authorise a new computer. Apple's instructions are to select "Authorise this computer" from the itunes store menu. I can't find this in any menu. Can you please help? How do I authorise my computer?

    Authorization and Deauthorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.
    More On De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.

  • PSE11 and 12 will NOT display a JPG i open..... this just occured- have no idea why - please help??

    PSE11 and 12 will NOT display a JPG i open..... this just occured- have no idea why - please help??

    All JPEGs or a particular one?

  • Hello. I am having much difficulty using any software drum program. I am trying to use EZ Drummer and the drum programs in Logic, with limited success. I was using them, and they were working, but this is no longer the case. Please help me navigate my way

    Hello.
    I am having much difficulty using any software drum program. I am trying to use EZ Drummer and the drum programs in Logic, with limited success. I was using them, and they were working, but this is no longer the case. Please help me navigate my way through these issues, if possible.
    Thanks.
    Eric

    Aha! I have sorted it.
    For those with similar problems, the solution is this:
    Macintosh HD > Library > Audio > MIDI Drivers
    Then delete DigiDioMidiDriver.plugin

  • My search feature has been Hijacked. Everytime I try to click on a relivant search it goes to a totally unrelated site. I removed firefox and reinstalled it but it did not work. This does not happen in IE. Please help, I do not want to use IE. Michael

    My Browser search has been Hijacked, How do I get rid of this. It does not do this in IE. Please help cause I do not want to use IE unless I have to.
    I have tried different anti virus programs but its still here.
    Michael

    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • Function Module Extraction!! Please HELP!!

    Hi Experts,
    This is my first project in BW. Please help!! The existing function module using 3 tables to extract (Full update) data. Now, I have to enable the delta for this generic extractor. I have seen RSA3_GET_DATA_SIMPLE (nothing specified for Delta) and RSVD_BW_GET_DELTA_DATA function module to make use of it using OPEN CURSOR but in that fm I can see only one table being used.
    Should I use 3 cursors to extract if so how should I join them? Can anyone please help me how to use cursors joining 3 tables and extract right delta data?
    This would be a greatest help!! Thanks in advance.
    Rishi

    Ok please find the original code below before I changed it... please do not mind as I was little scared to give exact tech names sorry... please find the code below.
    FUNCTION zz_ods_bw_extract_fm.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZZODS_BW_EXTRACT_STRUCT OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
      DATA : t_zzods_extract TYPE zzods_bw_extract_struct OCCURS 0
                                                       WITH HEADER LINE.
    Local data declarations
      DATA: l_output TYPE proj-pspid.
    Maximum number of lines for DB table
      STATICS: s_s_if TYPE srsc_s_if_simple,
               s_counter_datapakid LIKE sy-tabix.
      DATA: BEGIN OF t_prps OCCURS 0,
              posid     TYPE     ps_posid,
              psphi     TYPE     ps_psphi,
              zzdflt1     TYPE     zd_variable,
              zzdflt2     TYPE     zd_variable,
              zzdflt3     TYPE     zd_variable,
              zzdflt4     TYPE     zd_variable,
              zzdflt5     TYPE     zd_variable,
              zzdflt6     TYPE     zd_variable,
              zzdflt7     TYPE     zd_variable,
              zzdflt8     TYPE     zd_variable,
              zzdflt9     TYPE     zd_variable,
              zzdflt10     TYPE     zd_variable,
              zzdflt11     TYPE     zd_variable,
              zzvar1     TYPE     zd_var01,
              zzvar2     TYPE     zd_var02,
              zzvar3     TYPE     zd_var03,
              zzvar4     TYPE     zd_var04,
              zzvar5     TYPE     zd_var05,
              zzvar6     TYPE     zd_var06,
              zzvar7     TYPE     zd_var07,
              zzvar8     TYPE     zd_var08,
              zzvar9     TYPE     zd_var09,
              zzvar10     TYPE     zd_var10,
              zzvar11     TYPE     zd_var09,
              zzunit1     TYPE     zd_unit01,
              zzunit2     TYPE     zd_unit02,
              zzunit3     TYPE     zd_unit03,
              zzunit4     TYPE     zd_unit04,
              zzunit5     TYPE     zd_unit05,
              zzunit6     TYPE     zd_unit06,
              zzunit7     TYPE     zd_unit07,
              zzunit8     TYPE     zd_unit08,
              zzunit9     TYPE     zd_unit09,
              zzunit10     TYPE     zd_unit10,
              zzunit11     TYPE     zd_unit11,
              zztpemsnar1 TYPE     zd_tpemsnar,     
              zzrprtngyr1 TYPE     zd_rprtngyr,     
              zznonatar1       TYPE zd_nonatr,
              zzzcat1       TYPE zd_zcat,
              zzslitemar1  TYPE zd_slitemar,
              zzbnftyrs1        TYPE zd_bnftyrs,
              zzdescfrml   TYPE zd_descfrml,
             ZZFORMULA        type ZD_FRMLUSD,
            END OF t_prps.
      DATA: BEGIN OF t_emfactor OCCURS 0,
              naindex     TYPE     zd_index,     
              nayear     TYPE     zd_year,     
              cofactor     TYPE     zd_cofac,     
              vocfactor     TYPE     zd_vofac,     
              noxfactor     TYPE     zd_nofac,     
              pmfactor     TYPE     zd_pmfac,     
            END OF t_emfactor.
      DATA: BEGIN OF t_slef OCCURS 0,
             slindex     TYPE     zd_index,     
             slyear     TYPE     zd_year,     
             sltldfact     TYPE     zd_sltldfact,     
            END OF t_slef.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Check DataSource validity
        CASE i_dsource.
          WHEN 'ZZODS_DATA_TRANS'.
          WHEN OTHERS.
            RAISE error_passed_to_mess_handler.
        ENDCASE.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource   = i_dsource.
        s_s_if-maxsize   = i_maxsize.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call to pupulate data
    First data package
        IF s_counter_datapakid = 0.
    Extract data from prps for Project Types 15 and 17
          SELECT posid psphi zzdflt1 zzdflt2 zzdflt3
                 zzdflt4 zzdflt5 zzdflt6 zzdflt7
                 zzdflt8 zzdflt9 zzdflt10 zzdflt11
                 zzvar1 zzvar2 zzvar3 zzvar4 zzvar5
                 zzvar6 zzvar7 zzvar8 zzvar9 zzvar10
                 zzvar11 zzunit1 zzunit2 zzunit3 zzunit4
                 zzunit5 zzunit6 zzunit7 zzunit8
                 zzunit9 zzunit10 zzunit11
                 zztpemsnar1 zzrprtngyr1
                 zznonatar1 zzzcat1 zzslitemar1
                 zzbnftyrs1 zzdescfrml
           FROM prps
           INTO TABLE t_prps
           WHERE prart = '15' OR prart = '17'.
    Check for fetched records
          IF sy-subrc EQ 0.
            SORT t_prps BY posid.
          ENDIF.
    If the above condition is true
          IF NOT t_prps[] IS INITIAL.
    Get the data from z_fact
    Data : t_prps1 like t_prps occurs 0 with header line.
            SELECT naindex
                   nayear
                   cofactor
                   vocfactor
                   noxfactor
                   pmfactor
             INTO TABLE t_emfactor
              FROM z_fact.
    *RR          WHERE naindex = t_prps-zztpemsnar1+0(3)
    *RR           WHERE naindex = l_prps_index
    *GP        WHERE naindex = '01' or NAINDEX = '03'.
             AND  nayear  = t_prps-zzrprtngyr1.
    Sort the data by index and construction year
            IF sy-subrc EQ 0.
              SORT t_emfactor BY naindex nayear.
            ENDIF.
    Get the data from ztp_slef
            SELECT slindex
                   slyear
                   sltldfact
              INTO TABLE t_slef
               FROM ztp_slef.
    *RR           WHERE slindex = t_prps-zztpemsnar1+0(3)
    *GP        WHERE slindex = '01' or slindex = '03'.
    *RR           AND  slyear  = t_prps-zzrprtngyr1.
            IF sy-subrc EQ 0.
              SORT t_slef BY slindex slyear.
            ENDIF.
          ENDIF.
    Between this LOOP and ENDLOOP get the internal value of each project.
    Get the required data stored in above internal tables and populate
    the extract internal table
          LOOP AT t_prps.
            CLEAR l_output.
            CALL FUNCTION 'CONVERSION_EXIT_KONPD_OUTPUT'
              EXPORTING
                input  = t_prps-psphi
              IMPORTING
                output = l_output.
            t_zzods_extract-psphi  = l_output.
            CLEAR t_emfactor.
            READ TABLE t_emfactor WITH KEY NAINDEX = t_prps-zztpemsnar1+0(3)
                                           nayear  = t_prps-zzrprtngyr1
                                           BINARY SEARCH.
            IF sy-subrc EQ 0.
              t_zzods_extract-cofactor  = t_emfactor-cofactor.
              t_zzods_extract-vocfactor =      t_emfactor-vocfactor.
              t_zzods_extract-noxfactor =      t_emfactor-noxfactor.
              t_zzods_extract-pmfactor  =     t_emfactor-pmfactor.
            ENDIF.
            CLEAR t_slef.
            READ TABLE t_slef WITH KEY     slindex = t_prps-ZZSLITEMAR1+0(3)
                                           slyear  = t_prps-zzrprtngyr1
                                           BINARY SEARCH.
            IF sy-subrc EQ 0.
              t_zzods_extract-sltldfact =     t_slef-sltldfact.
            ELSE.
               t_zzods_extract-sltldfact = '0'.
            ENDIF.
            t_zzods_extract-posid    = t_prps-posid.
            t_zzods_extract-zzdflt1  = t_prps-zzdflt1.
            t_zzods_extract-zzdflt2  = t_prps-zzdflt2.
            t_zzods_extract-zzdflt3  = t_prps-zzdflt3.
            t_zzods_extract-zzdflt4  = t_prps-zzdflt4.
            t_zzods_extract-zzdflt5  = t_prps-zzdflt5.
            t_zzods_extract-zzdflt6  = t_prps-zzdflt6.
            t_zzods_extract-zzdflt7  = t_prps-zzdflt7.
            t_zzods_extract-zzdflt8  = t_prps-zzdflt8.
            t_zzods_extract-zzdflt9  = t_prps-zzdflt9.
            t_zzods_extract-zzdflt10 = t_prps-zzdflt10.
            t_zzods_extract-zzdflt11 = t_prps-zzdflt11.
            t_zzods_extract-zzvar1       = t_prps-zzvar1.
            t_zzods_extract-zzvar2       = t_prps-zzvar2.
            t_zzods_extract-zzvar3       = t_prps-zzvar3.
            t_zzods_extract-zzvar4       = t_prps-zzvar4.
            t_zzods_extract-zzvar5       = t_prps-zzvar5.
            t_zzods_extract-zzvar6       = t_prps-zzvar6.
            t_zzods_extract-zzvar7       = t_prps-zzvar7.
            t_zzods_extract-zzvar8       = t_prps-zzvar8.
            t_zzods_extract-zzvar9       = t_prps-zzvar9.
            t_zzods_extract-zzvar10  = t_prps-zzvar10.
            t_zzods_extract-zzvar11  = t_prps-zzvar11.
            t_zzods_extract-zzunit1  = t_prps-zzunit1.
            t_zzods_extract-zzunit2  = t_prps-zzunit2.
            t_zzods_extract-zzunit3  = t_prps-zzunit3.
            t_zzods_extract-zzunit4  = t_prps-zzunit4.
            t_zzods_extract-zzunit5  = t_prps-zzunit5.
            t_zzods_extract-zzunit6  = t_prps-zzunit6.
            t_zzods_extract-zzunit7  = t_prps-zzunit7.
            t_zzods_extract-zzunit8  = t_prps-zzunit8.
            t_zzods_extract-zzunit9  = t_prps-zzunit9.
            t_zzods_extract-zzunit10 = t_prps-zzunit10.
            t_zzods_extract-zzunit11 = t_prps-zzunit11.
            t_zzods_extract-zznonatar1  = t_prps-zznonatar1.
            t_zzods_extract-zzzcat1  = t_prps-zzzcat1.
            t_zzods_extract-zztpemsnar1 = t_prps-zztpemsnar1.
            t_zzods_extract-zzslitemar1 = t_prps-zzslitemar1.
            t_zzods_extract-zzrprtngyr1 = t_prps-zzrprtngyr1.
            t_zzods_extract-zzbnftyrs1  = t_prps-zzbnftyrs1.
            t_zzods_extract-zzdescfrml   = t_prps-zzdescfrml.
           t_ZzODS_EXTRACT-ZZFORMULA   = t_prps-ZZFORMULA.
            APPEND t_zzods_extract.
            CLEAR t_zzods_extract.
          ENDLOOP.
    Delete the record before filling the custom Records
          CLEAR e_t_data.
          REFRESH e_t_data.
    Submit all the extracted records to extract table
          e_t_data[] = t_zzods_extract[].
          s_counter_datapakid = s_counter_datapakid + 1.
        else.
          Raise NO_MORE_DATA.
        ENDIF.
       s_counter_datapakid = s_counter_datapakid + 1.
      ENDIF.              "Initialization mode or data extractio
    ENDFUNCTION.

  • Problem while importing RFC function module in XI. Please Help!

    Hi Experts,
               When I try to import RFC function module in XI I get the following error:
                 **Ready for import**
    Import started...
    YCOP_VALIDATE_GR:
      + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: connection closed without message (CM_NO_DATA_RECEIVED)
    Import failed with 1 error
    Any idea why is this error? How to resolve this?
    Thanks
    Gopal

    Hi
       The problem still persists.
       This is what I have done:
        1. My FM is RFC enabled. In the "Attribute" tab of the FM I have selected "Remote-enabled module" and "Start immed".
    2.Activated and tested the FM.
    3.Released the FM. In se37, Function Module -> Release ->Release. 
    4.Tried to import this FM in XI under "RFC". Get the same error.
    I have some questions:
    1. After releasing the FM do I have to activate it?
    2. In release there is "Internal Release" Do I have to use that?
    3.Do I have to do "Internal Release" first then "Release"?
    4.The FM i am trying to import makes a call to another FM. Both the FMs are in the same system. Both are remote enabled. The second FM updates data in custom table. the first FM which I am importing validates the data and then calls the second FM for update. Do I have to import both FMs?
    Please help me!
    Thanks
    Gopal

Maybe you are looking for