Sitemap

Amicuk Programming Answers

Abap code used for reporting

-0001-11-30   Views:1

Advertisement

Hi Gurus; Can some one send me the abap codes used mainly for reporting OR can some one give me some sample code used in reporting. my mail id "[email protected]".smod > rsr0001 > EXIT_SAPLRRS0_001 > ZXRSRU01 > CASE I_VNAM. WHEN 'ZE_

Hi Gurus;
Can some one send me the abap codes used mainly for reporting OR can some one give me some sample code used in reporting. my mail id "[email protected]".

The replay answer
Advertisement
smod > rsr0001 > EXIT_SAPLRRS0_001 > ZXRSRU01 >
CASE I_VNAM.
WHEN 'ZE_FPPT'.
    CALL FUNCTION 'Z_VAR_FP4'
      EXPORTING
        I_VNAM        = i_vnam
        I_STEP        = i_step
        I_T_VAR_RANGE = I_T_VAR_RANGE
      IMPORTING
        E_T_RANGE     = E_T_RANGE.
FUNCTION Z_VAR_FP4.
""Local Interface:
*"  IMPORTING
*"     REFERENCE(I_VNAM) LIKE  RSZGLOBV-VNAM
*"     REFERENCE(I_STEP) TYPE  I DEFAULT 0
*"     REFERENCE(I_T_VAR_RANGE) TYPE  RRS0_T_VAR_RANGE
*"  EXPORTING
*"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
data: l_s_range type rsr_s_rangesid.
data: LOC_VAR_RANGE LIKE RRRANGEEXIT.
data: year(4).
data: mth(2).
IF I_STEP = 2 .
  LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE
        ( VNAM = '0I_FPER' ).
      year = LOC_VAR_RANGE-HIGH+0(5).
      mth = LOC_VAR_RANGE-HIGH+5(2).
           if mth < 10.
        concatenate '0' mth into mth.
      endif.
      concatenate year '0' mth into L_S_RANGE-HIGH.
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'EQ'.
      APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
  ENDIF.
ENDFUNCTION.
Regards,
BWer
Assign points if helpful.
Message was edited by: BWer

Go to See the other 3 answers

Abap code used for reporting

Category:DefaultRelease time:-0001-11-30Views:130

Hi Gurus; Can some one send me the abap codes used mainly for reporting OR can some one give me some sample code used in reporting. my mail id "[email protected]".smod > rsr0001 > EXIT_SAPLRRS0_001 > ZXRSRU01 > CASE I_VNAM. WHEN 'ZE_[More]

ABAP code to automatic generate an BW Report

Category:DefaultRelease time:-0001-11-30Views:130

HI Sap BW gurus, Can anyone tell me if exists an abap code to automatic generate an report from a query and save it on an directory in HTML format? Thanks in advanced, Pedro MartinsYou can use this tool... /people/durairaj.athavanraja/blog/2005/04/03[More]

Enhancement-ABAP Code-Customized Field issue

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, Currently I am working on the BW3.5 version. We are using the standard SRM standard extractor 0BBP_TD_SC_1 and we enhance same extractor(populate the filed through CMOD - ABAP Code) with one customized field also. We are having issue on t[More]

Schedule a background job for a program using ABAP code.

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have to write a program to schedule a background job for another program. Need your help to understand how we can achieve this functionality.Any example of an abap code would be of great help. Need it urgently. Thanks in advance. Sandeep.Hi San[More]

ABAP Code for summation of key figure

Category:DefaultRelease time:2015-10-11Views:130

Hi Guys, I am new to ABAP and my requirement is as follows- I have an infocube containing data like Location Item      Amount Month India       TV        10        Jan India       DVD     10        Jan India       XBOX   10       Jan US          TV  [More]

How to transfer data in change log table of dso to z-table using abap code

Category:DefaultRelease time:2015-10-11Views:130

Hi  can you please explain me how to transfer data in change log table of dso to z-table using abap code ,with out using Function module conceptPROGRAM NAME:   ZBW_DELTA_TO_GSTAR                                 ** report ZBW_DELTA_TO_GSTAR no standar[More]

SQL Command conversion in abap code

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to implement the UNION, INTERSECT and MINUS SQL commands in abap code. Please give me the appropriate solutions asap. For Example: select field1, field2, . field_n from tables <b>UNION</b> select field1, field2, . field_n from table[More]

Execute ABAP Code Inspector from Outside of SAP

Category:DefaultRelease time:2015-10-11Views:130

Hi all... For reporting purpose, I would like to use ABAP Code Inspector (transaction SCI) for generating output as a file, it should call from outside of SAP through RFC function module and generate the list (output) as flat file (or XML), does anyo[More]

Trouble with SAPconnect / sending email in ABAP-code

Category:DefaultRelease time:2015-10-11Views:130

Hi, with the code below I try to send an email from ABAP outside to an mail-account in the internet. I'll get no error/exceptions but the mail will be not send to the internet-mail-account. In Transaktion SCOT I checked the SAPconnect-Node "INT"[More]

ABAP code for custom OLAP variables

Category:DefaultRelease time:2015-10-11Views:130

Hi experts, We have a custom variant set as customer exit that I have just added to an infopackge for the data selection of 0FISCYEAR infoobject via 7-OLAP Variant. When I click on the magnifying glass under the "details for Type" column, the &q[More]

Need ABAP code for the below Services requirement

Category:DefaultRelease time:2015-10-11Views:130

Hi, We have a requirement to show all the services for a particular Purchase order number.For this I built a view on 2 tables ESLL and EKPO.Now based on the below logic I need to bring the services for the Purchase order.. 1.Enter PO number,item no.[More]

Hot
Hello! Microbiology student here, desperate to complete an assignment. I am working with a table in Numbers 3.5.2 that requires images to be in particular cells of the document. For some reason, whenever I go to print preview, my images become askew. [More]
how do I install the os X Lion chip for my iMac9,1..or where?I.m sorry, but there is no Lion chip, it's an operating system that only works on intel machines, yours is a PPC and will not ever be able to run Lion.Read other 3 answers [More]
Hello, we have a problem with the Park Invoice (MIR7). On the general ledger block of the logistics audit (transaction MIRO) the field BEWAR (transaction type) is present, which are not supported. The field BEWAR is filled, yet the error comes: "Fiel [More]
There is a bug in the Unit Testing section of SQL Developer where spaces are appended to Process Validations. To re-create the bug: Create a Process Validation and type a multi line SQL statement e.g.     select count (*)     from USER_TABLES     whe [More]
Dear All, in a process industry production takes place in different stages. For a particular stage let us say Blending there will be 5 phases where we use different resources. Instead of cretaing  5 resources in recipe i wish to go with one resource [More]
Nachdem ich von LR 5.3 auf 5.4 upgegraded habe, wird in meinen Bilderordnern unter  Windows 7 LR nicht mehr zum Öffnen angeboten, kann auch über"Standardrrogramm auswählen / Andere Programme" nicht hinzugefügt werden. Welches Unterprogramm von L [More]
i can sign into my facebook its  fine..but im having trouble signing into my hot mail..when i sign in it just comes up with ..you have entered an invalied e-mail address or pass word please try again..but yet it works fine on my computer..this is rea [More]
Hi guys, In DSWP transaction, OPerations-System monitoring, Gives below error. SAP Note The following error text was processed in the system: BSP Exception: Internal Error in Business Server Page Runtime. Program CL_BSP_RUNTIME================CP Incl [More]
Dear All., I am trying to select multiple rows with checkbox in column header but it doesnot works... Following is my codel <af:table value="#{bindings.xx.collectionModel}"                       var="row"                       rows= [More]
Hello, We have purchased Lenovo X301 with Windows XP SP2. After the installation of MS SQL Server EE SP3 soon after reboot the laptop failed with BSOD. After some search in the forums and test we stopped VSS service and at least it worked. Now I want [More]