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, new to the forum... I signed up on here because I am having a rather difficult time with my MSI motherboard; I haven't been able to find any help elsewhere. I put together a machine using the MSI 790FX-GD70 socket AM3 board (not winki ed.) and [More]
I upgraded to mountain lion on my Mac mini then I tried to open a photo stream from my daughter. It tries then says there is a problem and to try again later. I have Been trying for the past two days and get the same reply. It opens in my IPAD so why [More]
I am very confused on how to sync or use my cloud on my Mac with my new IPhone 5S.  I have all the settings on the phone correct.  On the Mac, under Preferences, there is no "cloud" item for me to choose to set up, only mobile me and I get error [More]
I used to have a tool bar at the top of the screen that had file, print, help, etc. After I recently installed something ( I can't remember what), the tool bar no longer appears. Help I need it back! I need to print screens and right clicking does no [More]
Hi. I'm brand new to JavaFX, so I'm probably misunderstanding something. I've searched the web looking for information concerning it, but since it involves the 'new' operator, it's hard to filter down. Anyhow, here is the problem: I'm getting differe [More]
I cannot open attachments suddenly sent to me in Outlook for Mac 2011.  I get the following error message: The file "Image[10].pdf" couldn't be opened because you don't have permission to view it.  What could be causing this?Hello koolaide77, Th [More]
Hi Experts, How to get the IDoc number in case I have sales document number or any other data which is being send in IDoc, any way we can get the IDoc number? Also help me know the program to process the IDocs in background, I know the t.code bd87 is [More]
I need to change the system landscape on a maintenance project. I need to add an additional QA client to the project landscape. I have open change requests that I can not move to production yet so I can not complete the project. I have created anothe [More]
Hi folks, Occasionally I seem to receive the follow error when using the SDO_MVCLIENT package to run Mapviewer. The problem goes away if I just resubmit the job. Warning: ociexecute() [function.ociexecute]: ORA-29516: Aurora assertion failure: Assert [More]
Dear Experts, Currently I am using ECC 5.0, IMWMHU for a receiving storage location. The problem is as follows: 1. I've transferred 10 EA of component A to Vendor's Sub-Co stock using movement 541 via MIGO from HU-relevant SLOC 2. SAP created outboun [More]