Report Writer Adding New GL Account

Hi experts,
I would like to add new GL Account in the existing report in Report Writer. I do Do have following information to make changes, but I don't know where I could add new Gl Account.
Library = ZRU
Report Group = ZBS2
Report Name = ZBS-0002
Please help me
Thanks

hi
as far as I understand, document splitting clearing account is not for the purpose you mentioned (if you mean the clearing account in GSP_KD1). you don't need to analyze those accounts which are only for balancing.
best regards, Lawrence

Similar Messages

  • Lost emoji after adding new mail account

    I have a Japanese iPhone it is not JB as i live in Japan.
    I have added my hotmail account to my iPhone email and since doing so I have lost my emoji keyboard.
    Why??????

    Today I too tried to add a new Apple Mail account and when I press the + I get nothing! I have my home account and gmail account working fine, but preferences and "file add account" both do nothing. This question is left unanswered from previous user. Can someone please give us advice?

  • Adding new gmail accounts, mac not letting me

    I have an old gmail account which has been "saved" on my computer. It no longer works and I'm trying to get rid of it so my kids and I can access our new gmail accounts.  When I pull up gmail, it automatically wants me to enter the password to the not valid account.  I try to change accounts, add accounts, etc.  Only my son's email will pop up.  We click on it and then it reverts back to my non-valid account.  The computer has saved this old non valid account and I cannot figure out how to get around it.  I'm sure it's a saved setting somewhere but where? 

    I have an old gmail account which has been "saved" on my computer. It no longer works and I'm trying to get rid of it so my kids and I can access our new gmail accounts.  When I pull up gmail, it automatically wants me to enter the password to the not valid account.  I try to change accounts, add accounts, etc.  Only my son's email will pop up.  We click on it and then it reverts back to my non-valid account.  The computer has saved this old non valid account and I cannot figure out how to get around it.  I'm sure it's a saved setting somewhere but where? 

  • Adding New User Account

    My parents use an iMac w/Intel Core 2 Duo running Leopard (10.5.4). When they set up the machine initially they set up a single account (we'll call it UserA) - which is the administrator account and the account that both of them use. I know this is a bad practice but this is where I am working from. It had not been a problem for them up until now as my mother's primary use for the computer had been Safari and using RDC to connect to her Windows box at work.
    However, my mother is looking to have her own account set up so that she can have her documents, mail, ect. set up separately. The problem comes in with the apps that they share (i.e. iPhoto, iTunes). I would like both user accounts to see iTunes and iPhoto the same way. The have built up their music and photo collection collectively and would both like to be able to access the same libraries. I have gone as far as creating a new user (UserB) for my mother (as a standard account). I copied her documents from the administrator account (UserA) into her documents folder. What is the best approach to sharing iTunes and iPhoto libraries across the two user accounts? Thank you.

    there are several ways to do that.
    1. the easiest is to enable sharing in both itunes and iphoto. This will allow user A to see libraries of user B and vise versa. However, they won't be able to add stuff to each other libraries. also, this will only work when both of them are logged in at the same time. so you'll have to enable fast user switching in accounts preferences and keep both users logged in.
    2. second easiest. if you have an external drive (or a partition of an internal drive) you can move itunes and iphoto libraries there and turn off ownership on that partition. select the partition, eneter command+i and in the info popup check the box "ignore ownership on this drive" at the bottom.
    after you've moved itunes and iphoto libraries you need to point the apps to the new locations. hold option and start iphoto. You'll get a dialog asking you to choose the library. do the same for itunes.
    3. you can use the method from [ Király 's post in this thread|http://discussions.apple.com/thread.jspa?messageID=2719139&#2719139].
    Skip step 3) that he describes - it's not needed in Leopard.

  • Adding new Corporate Account

    I am having trouble adding my corporate email account as an account.  When I enter my email address and password then click next, it searches for messages then says the username and password is incorrect.  It won't take me to the screen to add my username and corporate domain.  Any ideas?

    sharken wrote:
    I am having trouble adding my corporate email account as an account.  When I enter my email address and password then click next, it searches for messages then says the username and password is incorrect.  It won't take me to the screen to add my username and corporate domain.  Any ideas?
    When setting up a corporate email, the account provisioning is often overlooked and the corporate email account cannot be properly setup. Is your account provisioned with the Enterprise Data plan ($44.99/month) needed to access corporate email accounts?
    If you have the $29.99 consumer data plan and want to access your corporate email account please login to your My Verizon account and upgrade your data plan to the Enterprise Email data plan. We can also upgrade your data plan by phone if you dial *611 on your mobile phone to contact our Customer Service Department.

  • Adding new mail account

    Can't create a new account nor from de preferences + tab not from the file menu. The program does anything.

    Today I too tried to add a new Apple Mail account and when I press the + I get nothing! I have my home account and gmail account working fine, but preferences and "file add account" both do nothing. This question is left unanswered from previous user. Can someone please give us advice?

  • Having trouble adding new email account on Iphone 4

    Hello,
    I got my Iphone 4 on release day. The sync went ok, not completely trouble free, but was able to get this thing sync-ed.
    I have four email accounts sync-ed with Itunes, however, I had created an extra email (pop) for exclusive use on my IPhone. I have been trying to add this new address on my phone, but keep getting the following error:
    "Cannot Connect Using SSL
    Do you want to try setting up the account without SSL?"
    I have checked, and the settings for the new account are correct. If I answer yes I receive the following message:
    "The SMTP server "smtp-server.new.rr.com" doesn't support Password authentication. Please check your account settings and try again." and an OK button.
    Settings have been checked to match the other four accounts, all are in the same server, POP and SMTP.
    Thanks for any help.

    The problem is not thru TWC... I can access my account in Outlook and also by Webmail.
    The problem is on the Iphone 4 (I had no problem on my 3G). Like I said, the settings I have entered are the same as the settings for the other 4 accounts. The only portion of the setup that I cannot access during the "failed" setup is the "Advanced" where I can turn SSL off and confirm password authentication.

  • Adding new email account

    We have an email account/name [email protected] that is hosted by gmail.
    In the past we configured Thunderbird so that mail could be received/sent on one of our volunteers laptops.
    This was set-up using our email address/password. Recently however when trying to send email via Thunderbird we get the following: 'sending of message failed. because the connection to SMTP server smtp.ggoglemail.com timed out'
    We re-checked setting in Gmail and all was fine. Checked that Thunderbird was allowed through firewall. Meanwhile other email accounts set up in the person's Thunderbird were working fine. Hmm so we removed our [email protected] and tried to set it up again in Thunderbird. On Mail Account Set-Up however now we get the following: 'Thunderbird failed to find settings for your email account'
    At a loss how to advise our volunteer to resolve this, any help would be most appreciated. BR

    is the new "allow conne4ctions from less secure apps" set on Gmail. They introduced some security that they are pushing that no email client in the world supports, so the less secure apps has to be turned on.
    What the setting really says is "allow a mail client to access mail." but they already had that.

  • Adding new Exchange account disables camera

    Is there some settings on Exchange server, that need to be configured that I will get my camera functions back. I tested to remove the account and the camera functions came back and if I add the Exchange account again, camera will be disabled? Or is this some kind of bug in Iphone IOS?

    Hi,
    your exchange administrator can configure and enforce configuration policies such as disabling camera, disabling roaming, forcing passwords, etc. This seems to be the case here. Talk to him if he did.

  • How to add new email account that's not an email account?

    I have Google Apps for business account and I've created a bunch of aliases that I need to have, let's take as an example info@<mydomain.com>. When I've tried to create gmail account info@<mydomain.com> I was getting info that this email address is already in use. At the Google support they told me that's because I already created this as an alias, which I get it, that make sense. But now, how can I create this - info@<mydomain.com> in Thunderbird to be displayed as separate mail account in my mail account list in the left window? This and all the rest of aliases I'm using. There is no such thing in tools->account settings as add an alias, there is only add mail account and this is not an account but an alias. I thought I'll try to do this as a new mail account with all the settings as this already existing mail account that this is alias of and after that I just rename the account into proper one but when I try to fill all the boxes in adding new mail account I'm getting the massage that user name or password is wrong. But I've triple checked the password and it's the right one. I've even changed then and typed new settings just to make sure but the error was the same. How and what should I do then?

    A mail account = an email address.
    You can have more than one email address using the same server settings.
    eg: ''mail at mydomain dot com'' and ''info at mydomain dot com''
    can be two separate mail accounts, each receiving their own mail.
    '''Other option - Set up 'identities''''
    This can be used as a catch all account, so if you already had a mail account for eg: ''mail at mydomain dot com''
    you could add another identity = ''info at mydomain dot com''
    This would not show in the Folder Pane as a separate account, but emails from ''info at mydomain dot com'' would be received into
    ''mail at mydomain dot com'' mail account.
    Here is some good info on mail identites.
    * http://kb.mozillazine.org/Mozilla_Suite_:_FAQs_:_Mail_Aliases

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • All new mail accounts fail

    We are putting new mail accounts on an existing server, some users have accounts and we are adding new mail accounts for them in addition to their old accounts in the info section of the user account tab. Other new users are getting new mail accounts.
    Problem...
    All new mail accounts are not setting up correctly you cannot connect and also any mail delivered to the accounts comes back as user not found.
    I have checked the Admin > Server > Access > Allow all users and groups
    The logs look like this...
    Oct 6 09:46:36 mail postfix/smtpd[1208]: NOQUEUE: reject: RCPT from mail.*******.org.uk[**.**.**.**]: 550 <pete@******.co.uk>: Recipient address rejected: User unknown in local recipient table; from=<support@*******.co.uk> to=<pete@******.co.uk> proto=ESMTP helo=<mail.******.org.uk>
    Oct 6 09:46:36 mail postfix/smtpd[1208]: disconnect from mail.*******.org.uk[**.**.**.**]

    Any Idea's anyone ?

  • Not Able to Generate Out of the Report by adding the new 2 fields

    Hi,
    I'm Very new to ABAP. I have created one report. after 2 new fields added they are EKNAM and EKGRP.
    The Thing is the remaining fields are displaying in the output. The Newly added fields are not displaying the out. I was able to add this 2 fields in the head of the report. But issue is not able to get the data on these 2 fields.
    Please see the below program and any one please help me out to display the data in this report for the fields eknam and ekgrp.
    TABLES: eban,
            lfa1,
            ekko,
            t024,
            v_username.
    DATA: BEGIN OF i_req_items OCCURS 10,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            ebeln LIKE eban-ebeln,         "PO Number
            ebelp LIKE eban-ebelp,         "PO Item
            eknam LIKE t024-eknam,         "Pur.Grp Name
            ekgrp LIKE t024-ekgrp,         "Pur.Grp Number
            flief LIKE eban-flief,         "Fixed vendor
            name1 LIKE lfa1-name1,         "Vendor name
            badat LIKE eban-badat,         "Creation date
            erdat LIKE eban-erdat,         "Change date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            bsart LIKE eban-bsart,         "Document type
            knttp LIKE eban-knttp,         "Acct.assgmt category
            txz01 LIKE eban-txz01,         "PO item description
            menge LIKE eban-menge,         "Quantity
            preis LIKE eban-preis,         "Price
            peinh LIKE eban-peinh,         "Price unit
            value(14) TYPE p DECIMALS 2,   "Item Value
          END OF i_req_items.
    DATA: BEGIN OF i_reqs OCCURS 10,
            ernam LIKE eban-ernam,         "Created by
            persn LIKE usr21-persnumber,   "Person number
            uname LIKE adrp-name_text,     "User name
            lifnr LIKE eban-lifnr,         "Vendor
            name1 LIKE lfa1-name1,         "Vendor name
            badat LIKE eban-badat,         "Creation date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            bsart LIKE eban-bsart,         "Document type
            knttp LIKE eban-knttp,         "Acct.assgmt category
            txz01 LIKE eban-txz01,         "PO item description
            eknam like t024-eknam,         "Purchase Grp Name
            ekgrp like t024-ekgrp,         "Purchase Grp Number
            value(14) TYPE p DECIMALS 2,   "Item Value
          END OF i_reqs.
    DATA: BEGIN OF i_req_keys OCCURS 0,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            erdat LIKE eban-erdat,         "Create or Change date
            banfn LIKE eban-banfn,         "Requisition no.
            bnfpo LIKE eban-bnfpo,         "Req. item no.
            eknam like t024-eknam,         "Purchase Grp Name
            ekgrp like t024-ekgrp,         "Purchase Grp number
          END OF i_req_keys.
    DATA: BEGIN OF i_req_keeper OCCURS 0,
            ernam LIKE eban-ernam,         "Created by
            lifnr LIKE eban-lifnr,         "Desired vendor
            banfn LIKE eban-banfn,         "Requisition no
          END OF i_req_keeper.
    DATA: wa_reqitems LIKE i_req_items.
    DATA: BEGIN OF i_export OCCURS 10,
           record(150) TYPE c,
          END OF i_export.
    CONSTANTS
    CONSTANTS:
          c_doccat       LIKE eban-bstyp  VALUE 'B',
          c_creind       LIKE eban-estkz  VALUE 'R',
          c_delflag      LIKE eban-loekz  VALUE 'L',
          c_write(5)     TYPE c   VALUE 'WRITE',
          c_slash(1)     TYPE c   VALUE '/',
    *start ESPZC U8DK900439
         c_delimiter    TYPE x   VALUE '09',
           c_delimiter    TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
    *end ESPZC U8DK900439
          c_sc(1)        TYPE c   VALUE ';',
          c_x(1)         TYPE c   VALUE 'X',
          c_usd(1)       TYPE c   VALUE '2',
          c_export LIKE authb-filename VALUE '/BAY2/UBEM_SPLIT_REQS'.
    WORKING VARIABLES
    DATA: w_report_id   LIKE syst-repid,
          w_sttime      LIKE syst-uzeit,
          w_rpt_pagno   LIKE syst-pagno,
          w_rc          LIKE sy-subrc,
          w_datelow     LIKE eban-badat,
          w_datehigh    LIKE eban-badat,
          w_export      LIKE c_export,
          w_records     TYPE i,
          w_message(50) TYPE c.
    TYPES number TYPE i.
    SELECTION SCREEN / PARAMETERS
    SELECTION-SCREEN BEGIN OF BLOCK org WITH FRAME TITLE text-001.
    PARAMETERS: p_purorg LIKE eban-ekorg OBLIGATORY DEFAULT 'US02'.
    SELECT-OPTIONS: s_doctyp FOR eban-bsart,
                    s_date FOR eban-badat.
    PARAMETERS: p_timper(2) TYPE n.
    SELECTION-SCREEN: COMMENT 37(37) text-002.
    SELECTION-SCREEN END OF BLOCK org.
    SELECTION-SCREEN BEGIN OF BLOCK outp WITH FRAME TITLE text-003.
    PARAMETERS: p_onlin  RADIOBUTTON GROUP outp DEFAULT 'X',
                p_servr  RADIOBUTTON GROUP outp.
    SELECTION-SCREEN END OF BLOCK outp.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN.
      IF p_servr = c_x.
        CLEAR w_rc.
        PERFORM authority_check_dataset USING    w_export
                                        CHANGING w_rc.
        IF w_rc <> 0.
          MESSAGE e532 WITH text-006 w_export.
        ENDIF.
        CLEAR w_rc.
        PERFORM verify_unix_path_and_file CHANGING w_rc.
        IF w_rc <> 0.
          MESSAGE e531 WITH w_message.
        ENDIF.
      ENDIF.
      INITIALIZATION EVENT
    INITIALIZATION.
      PERFORM get_filename.
      MOVE  syst-uzeit  TO   w_sttime.
      MOVE  syst-repid  TO   w_report_id.
      CLEAR: w_rpt_pagno.
    START-OF-SELECTION.
      PERFORM get_data.
      IF p_onlin = c_x.
        IF w_records GT 0.
          PERFORM print_report_header.
          PERFORM write_report.
        ELSE.
          MESSAGE i531 WITH text-007.
        ENDIF.
      ELSEIF p_servr = c_x.
        PERFORM write_export.
      ENDIF.
    END-OF-SELECTION.
    ---- F O R M   R O U T I N E S -
    *&     FORM get_filename
    FORM get_filename.
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          logical_filename = c_export
        IMPORTING
          file_name        = w_export
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
      ENDIF.
    ENDFORM.                    " get_filename
      FORM authority_check_dataset
    FORM authority_check_dataset USING    p_filename
                                 CHANGING p_rc.
      CALL FUNCTION 'AUTHORITY_CHECK_DATASET'
        EXPORTING
          activity         = c_write
          filename         = p_filename
        EXCEPTIONS
          no_authority     = 1
          activity_unknown = 2
          OTHERS           = 3.
      p_rc = sy-subrc.
    ENDFORM.                    "authority_check_dataset
        FORM verify_unix_path_and_file
    FORM verify_unix_path_and_file CHANGING p_rc.
    *start ESPZC U8DK900439
    OPEN DATASET w_export FOR OUTPUT IN TEXT MODE
         MESSAGE w_message.
      OPEN DATASET w_export FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
          MESSAGE w_message.
    *end ESPZC U8DK900439
      p_rc = sy-subrc.
    ENDFORM.                    "verify_unix_path_and_file
      FORM get_data
    FORM get_data.
      CLEAR w_datelow.
      CLEAR w_datehigh.
      w_datelow = s_date-low - p_timper.
    w_datehigh = s_date-high + p_timper.
      w_datehigh = s_date-high.
      SELECT ernam lifnr ebeln ebelp flief badat erdat banfn bnfpo bsart
            knttp menge preis peinh txz01
       FROM eban
       INTO CORRESPONDING FIELDS OF TABLE i_req_items
          WHERE bstyp = c_doccat
            AND estkz = c_creind
            AND knttp <> space
            AND bsart IN s_doctyp
            AND loekz <> c_delflag
            AND ekorg EQ p_purorg
           AND ( ( badat BETWEEN w_datelow and w_datehigh ) OR
            ( erdat BETWEEN w_datelow AND w_datehigh ) ).
            AND  erdat BETWEEN w_datelow AND w_datehigh.
      IF sy-subrc = 0.
        LOOP AT i_req_items.
          IF i_req_items-lifnr IS INITIAL.
            IF NOT i_req_items-flief IS INITIAL.
              MOVE i_req_items-flief TO i_req_items-lifnr.
              MODIFY i_req_items.
            ENDIF.
            IF NOT i_req_items-ebeln IS INITIAL.
              SELECT lifnr FROM ekko
                  INTO i_req_items-lifnr
                  WHERE ebeln = i_req_items-ebeln.
              ENDSELECT.
              MODIFY i_req_items.
            ENDIF.
          ENDIF.
          IF i_req_items-erdat GT i_req_items-badat.
            MOVE i_req_items-erdat TO i_req_items-badat.
            MODIFY i_req_items.
          ENDIF.
        ENDLOOP.
        PERFORM weed_out_unique_records.
        PERFORM apply_time_period.
        SORT i_req_items BY ernam lifnr banfn bnfpo.
        LOOP AT i_req_items.
          i_req_items-value = ( i_req_items-menge *
               ( i_req_items-preis / i_req_items-peinh ) ).
          MODIFY i_req_items.
        ENDLOOP.
    Getting vendor name from table LFA1 -
        CLEAR i_req_items.
        LOOP AT i_req_items.
          SELECT SINGLE name1 FROM lfa1
            INTO i_req_items-name1
              WHERE lifnr = i_req_items-lifnr.
          MODIFY i_req_items.
        ENDLOOP.
        LOOP AT i_req_items.
          MOVE-CORRESPONDING i_req_items TO i_reqs.
    Getting user name from view v_username -
          SELECT SINGLE name_text
           FROM v_username INTO i_reqs-uname
          WHERE bname = i_reqs-ernam.
          APPEND i_reqs.
        ENDLOOP.
      ENDIF.
      DESCRIBE TABLE i_reqs LINES w_records.
    ENDFORM.                        "Get_data
      FORM print_report_header
    FORM print_report_header.
      ADD  1   TO   w_rpt_pagno.
      CALL FUNCTION '/BAY2/UBEXBH_BAYER_HEADR_FUN'
        EXPORTING
          f_jobname        = text-020
          f_business_group = text-021
          f_report_title   = text-022
          f_repid          = w_report_id
          f_sysid          = syst-sysid
          f_linsz          = syst-linsz
          f_pagno          = w_rpt_pagno
          f_mandt          = syst-mandt
          f_datum          = syst-datum
          f_uzeit          = w_sttime.
      FORMAT COLOR COL_HEADING.
      WRITE:  /1     text-010,      "Created by CWID & user name
              29     text-011,      "Vendor #
              38     text-012,      "Vendor Name
              69     text-013,      "Req Number
              79     text-014,      "/Item
              87     text-015,      "Created On
              98     text-017,      "A (AcctAssgmtCat)
             100(14) text-019 RIGHT-JUSTIFIED,  "Item Value
             116(30) text-018,      "Item Description
             148     text-030,      "Pur.Grp Name
             170     text-031.      "Pur.Grp Number
      FORMAT COLOR OFF.
      ULINE.
    ENDFORM.                             "print_report_header
    *&      Form  WRITE_REPORT
    FORM write_report.
      LOOP AT i_reqs.
        WRITE: /1 i_reqs-ernam,
                9(18) i_reqs-uname,
               29 i_reqs-lifnr,
               38(30) i_reqs-name1,
               69 i_reqs-banfn,
               79 c_slash,
               80 i_reqs-bnfpo,
               87 i_reqs-badat,
               98 i_reqs-knttp,
              100(14) i_reqs-value CURRENCY c_usd,
              116(30) i_reqs-txz01,
              145 i_reqs-eknam,
              160 i_reqs-ekgrp.
      ENDLOOP.
    ENDFORM.                    "write_report
    *&      Form  WRITE_EXPORT
    FORM write_export.
      DATA: l_value(14)    TYPE c,
            l_bsart(100)   TYPE c,
            l_uname(7)     TYPE c,
            l_records(5)   TYPE c,
            l_header(150)  TYPE c,
            l_params(150)  TYPE c,
            i_char         TYPE i.
      LOOP AT i_reqs.
        CLEAR l_value.
        CLEAR l_uname.
        l_value = i_reqs-value.
        l_uname = sy-uname.
        CONCATENATE: i_reqs-uname
                     i_reqs-ernam
                     i_reqs-lifnr
                     i_reqs-name1
                     i_reqs-banfn
                     i_reqs-bnfpo
                     i_reqs-badat
                     i_reqs-knttp
                     l_value
                     i_reqs-txz01 INTO i_export
                                  SEPARATED BY c_delimiter.
        APPEND i_export.
      ENDLOOP.
      CONCATENATE: text-008   "Created By Name
                   text-009   "CWID
                   text-011   "Vendor No
                   text-012   "Vendor Name
                   text-013   "Req Number
                   text-023   "Item
                   text-015   "Created On
                   text-017   "A
                   text-019   "Item Value
                   text-018   "Item Description
                   text-030   "Purchase Grp name
                   text-031   "Purchase Grp number
                   INTO l_header SEPARATED BY c_delimiter.
      INSERT l_header INTO i_export INDEX 1.
      IF sy-batch IS INITIAL.
        MOVE sy-uname TO l_uname.
      ELSE.
        MOVE text-024 TO l_uname.
      ENDIF.
      PERFORM collect_bsart CHANGING l_bsart
                                     i_char.
      l_records = w_records.
      CONCATENATE: sy-sysid
                   p_purorg
                   l_bsart(i_char)
                   s_date-low
                   s_date-high
                   p_timper
                   l_uname
                   sy-datum
                   l_records INTO l_params
                             SEPARATED BY c_delimiter.
      INSERT l_params INTO i_export INDEX 1.
      LOOP AT i_export.
        CONDENSE i_export NO-GAPS.
        TRANSFER i_export TO w_export.
      ENDLOOP.
      CLOSE DATASET w_export.
      MESSAGE s533 WITH text-028 w_export text-029.
    ENDFORM.                    "write_export
    *&      FORM collect_bsart
    FORM collect_bsart CHANGING p_bsart
                                p_char.
      CLEAR p_bsart.
      LOOP AT s_doctyp.
        IF sy-tabix = 1.
          p_bsart = s_doctyp-low.
        ELSE.
          CONCATENATE: p_bsart c_sc s_doctyp-low INTO p_bsart.
        ENDIF.
      ENDLOOP.
      CONDENSE p_bsart NO-GAPS.
      p_char = strlen( p_bsart ).
    ENDFORM.                      "collect_bsart
    *&      Form  WEED_OUT_UNIQUE_RECORDS
    FORM weed_out_unique_records.
      DATA: i_l_req_items LIKE i_req_items OCCURS 0 WITH HEADER LINE.
      DATA: i_l_req_final_items LIKE i_req_items OCCURS 0 WITH HEADER LINE.
      DATA: l_count TYPE i,
            l_sy_tabix LIKE sy-tabix,
            l_banfn    LIKE eban-banfn.
      REFRESH i_l_req_items.
      REFRESH i_l_req_final_items.
      CLEAR l_banfn.
      i_l_req_items[]       = i_req_items[].
      i_l_req_final_items[] = i_req_items[].
      SORT i_req_items         BY ernam lifnr.
      SORT i_l_req_items       BY ernam lifnr.
      SORT i_l_req_final_items BY ernam lifnr.
      LOOP AT i_l_req_items.
        l_banfn = i_l_req_items-banfn.
        CLEAR l_count.
        LOOP AT i_req_items
            WHERE ernam = i_l_req_items-ernam
              AND lifnr = i_l_req_items-lifnr.
          IF i_req_items-banfn <> l_banfn.
            ADD +1 TO l_count.
          ENDIF.
        ENDLOOP.
        IF NOT ( l_count > 0 ).
          LOOP AT i_l_req_final_items
            WHERE ernam = i_l_req_items-ernam
              AND lifnr = i_l_req_items-lifnr.
            DELETE i_l_req_final_items.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
      REFRESH i_req_items.
      i_req_items[] = i_l_req_final_items[].
    ENDFORM.                    " WEED_OUT_UNIQUE_RECORDS
    *&      Form  APPLY_TIME_PERIOD
    FORM apply_time_period.
      DATA: l_i_req_keys LIKE i_req_keys.
      DATA: l_days_diff          TYPE p,
            l_no_of_key_recs     TYPE i,
            l_next_item          LIKE sy-tabix,
            l_finished_with_keys TYPE c VALUE 'N',
            l_add_line           TYPE c VALUE 'N',
            l_count              TYPE i,
            l_req_ernam          LIKE eban-ernam,
            l_req_lifnr          LIKE lfa1-lifnr,
            l_req_banfn          LIKE eban-banfn,
            l_save_tabix         like sy-tabix.
      REFRESH: i_req_keys, i_req_keeper.
      LOOP AT i_req_items.
        MOVE-CORRESPONDING i_req_items TO
                           i_req_keys.
        IF i_req_items-erdat IS INITIAL.
          i_req_keys-erdat = i_req_items-badat.
        ENDIF.
        APPEND i_req_keys.
      ENDLOOP.
      SORT i_req_keys BY ernam lifnr erdat.
      CLEAR l_no_of_key_recs.
      DESCRIBE TABLE i_req_keys LINES l_no_of_key_recs.
      LOOP AT i_req_keys.
        IF l_add_line = 'Y'.
          MOVE-CORRESPONDING i_req_keys
                          TO i_req_keeper.
          APPEND i_req_keeper.
          l_add_line = 'N'.
        ENDIF.
        IF l_finished_with_keys = 'Y'.
          EXIT.
        ENDIF.
        CLEAR l_next_item.
        l_save_tabix = sy-tabix.
        COMPUTE l_next_item = sy-tabix + 1.
        IF l_next_item = l_no_of_key_recs.
          l_finished_with_keys = 'Y'.
        ENDIF.
        clear: l_i_req_keys.
        READ TABLE i_req_keys INDEX l_next_item
            INTO l_i_req_keys.
        sy-tabix = l_save_tabix.
        CLEAR l_days_diff.
        l_days_diff = l_i_req_keys-erdat -
                      i_req_keys-erdat.
        IF l_i_req_keys-ernam  =
           i_req_keys-ernam                  AND
           l_i_req_keys-lifnr  =
           i_req_keys-lifnr                  AND
           l_i_req_keys-banfn  <>
           i_req_keys-banfn                  AND
           l_days_diff         <= p_timper.
          MOVE-CORRESPONDING i_req_keys
                          TO i_req_keeper.
          APPEND i_req_keeper.
          l_add_line = 'Y'.
        ENDIF.
      ENDLOOP.
      DELETE ADJACENT DUPLICATES FROM i_req_keeper
                            COMPARING ALL FIELDS.
      SORT i_req_keeper BY ernam lifnr banfn.
      LOOP AT i_req_items.
        CLEAR l_count.
        CLEAR: l_req_ernam,
               l_req_lifnr,
               l_req_banfn.
        l_req_ernam = i_req_items-ernam.
        l_req_lifnr = i_req_items-lifnr.
        l_req_banfn = i_req_items-banfn.
        LOOP AT i_req_keeper
            WHERE ernam = i_req_items-ernam
              AND lifnr = i_req_items-lifnr
              AND banfn = i_req_items-banfn.
          ADD +1 TO l_count.
        ENDLOOP.
        IF NOT ( l_count > 0 ).
          LOOP AT i_req_items
            WHERE ernam = l_req_ernam
              AND lifnr = l_req_lifnr
              AND banfn = l_req_banfn.
            DELETE i_req_items.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " APPLY_TIME_PERIOD

    Rajesh,
    Put a breakpoint and try to debug the report step by step.
    You will findout the reason very easily.
    Whenever you have a select and are trying to append into an internal table, keep checking your internal table if it is been populated with the correct records.
    This way, you will findout the cause and can correct is accordingly.
    Thanks,
    Suresh Ganti

  • Error message in report writer when add new selection filed?

    Dear All,
    I wanna add a new selection field cost element group and cost element to a report in report writer. I key in GR52 and click the general data selection. I select the set variable &1KSTAR to enter into the set ID. But it shows me the following message:
    Set cannot be used in Selection:
    Message no. GR807
    Diagnosis
    You are trying to use a set in report maintenance.
    The set cannot be entered in the report definition for any of the dimensions for which the set could be used.
    The following error message describes why the set cannot be used for all the dimensions for which the set can be used.
    System Response
    The set will not be entered in report maintenance.
    Procedure
    Choose an appropriate set.
    What does it mean? I have tried other set variables but sitll gave the same message.
    Thank you and good day.
    Emma.

    At the same time, it gave me a green light message saying:
    Characteristic Cost Element is already used in a row
    Message no. GR465
    Diagnosis
    The characteristic Cost Element is already being used in a report row block and therefore cannot be used in a different part of the report.
    Technical note:  The field name for characteristic Cost Element is KSTAR.
    Does it mean I have used the cost element in the report and blocked the cost element so that I can't use it in the selection screen? How can I solve this by not changing the report or should I change the report?
    Thank you and good day
    Emma

  • Old icons on ALV  report dissappears when new ones are added

    Hi friends
    I have created an ALV report. However, when I tried adding new icons using Set PF-STATUS,
    the original icons are not being shown. THey are totally dissappearing from the screen.
    Is there a way to avoid this.
    Any feed back will be greatly appreciated.
    Thanks
    Ram

    Hi,
    How did you create the GUI status..
    you have to copy the standard gui status..STANDARD from the program SAPLKKBL and then add the button..
    GO to SE41..
    Press Copy status button..
    Frm
       program - SAPLKKBL
       Status   - Standard
    To
      Program - Your program name
      Status    - Your Status
    Once it is copied..
    In the new status add your buttons and activate..
    Now it will show the custom buttons along with the standard..
    Thanks,
    Naren

Maybe you are looking for

  • Adobe files not opening in outlook

    Hello after installing Acrobat XI pro I cannot open PDF files in my email outlook. Can you please advise how to resolve?

  • Awful memory bug

    A few days ago my computer started to not reuse inactive ram, which has led to incredibly low performance. After a minute or two, the ram is usually full (and I have 4GB), and it starts to swap like mad. Sometimes it takes ten seconds or so to bring

  • A issue about library of report painter?

    why can't i put table vbap into a library? It informs that "The Report Writer can only report on tables if the attributes of these tables that are relevant for reporting are defined in control tables. This is not the case for table VBAP." and Message

  • I keep gettin this error message when i try to compile can't fix

    MY CODE import java.text.DecimalFormat; public class MotelBase{ private int nite; private int numadult; private int numchild; final double ADULT_RATE = 25.0; final double CHILD_RATE = 8.0; public MotelBase (int inNite, int inNumAdult, int inNumChild)

  • Pop-up Menu not showing

    I've tried everything I can think of to set an alarm in iCal but I can't get the pop-up menu to appear. I edit a new event, and click and double click and nothing. I don't have alarms turned off in the preferences. Any help would be appreciated.