Text Variable through Customer Exit  using FM MONTH_NAMES_GET

Advertisement

Hi Friends,
I have a query which runs through a variable Key date(ZPDATE). (Key date may also be changed by the user).
I have another customer exit variable(ZVNDATE1) where it reads  from the Keydate variable and it represents one month less than the key date and it holds two dates first day of month and last day of month.
Let say: Key date(ZPDATE) = 12.03.2008
             ZVNDATE1 = 01.02.2008 and 28.02.2008
I have created  RKF Overdues-1 ristricted with ZVNDATE1.
My requirement is I wan to represent this RKF Overdues-1 as Feb 2008 . In order to do that I want to create a Text variable(ZTEXT1) using customer exit .
As I am not very good in ABAP please can anybody provide me the code for text variable:
I am writing in the below.. but I dont know how to represent FM..etc..
WHEN 'ZTEXT1'.
        READ TABLE i_t_var_range INTO w_var_range WITH KEY vnam = 'ZVNDATE1'.
        IF SY-SUBRC = 0.
          CLEAR l_s_range.
          l_date = w_var_range-low.
                   CALL FUNCTION MONTH_NAMES_GET'
Please can you provide me the remaing code..
Thanks
Sudhakar..

Advertisement

Hi Sudhakar,
Instead what you can do is, add few more lines of code instead of calling fm.
case 'month'.
If month = '1'.
  desc = 'jan'.
elseif month = '2'.
  desC = 'feb'.
endcase.
concatenate desc year into w_v_range-low.
Hope that helps.
Thanks

November 30, -0001

Text Variable through Customer Exit  using FM MONTH_NAMES_GET

Hi Friends, I have a query which runs through a variable Key date(ZPDATE). (Key date may also be changed by the user). I have another customer exit variable(ZVNDATE1) where it reads  from the Keydate variable and it represents one month less than the

Prob in text variable with customer exit

Hi to all I am working in PA module in HR ,In my Report i have to count total number of trainee and lateral in given Date range that From date to To Date , Before that i have to calculate a Total Employee Strength before one day of From date , suppos

I need example for VARIABLES with Customer Exit.

hi every body i need example for Variable for Customer Exit.Hi, You can define 'Formula' variables in your customer exit..for example.. you need to calculate no of machine running hours per month, in order to caculate the machine total utilization ti

Formula variable in Customer exit

Hi Experts, I need help. I create       first Formula variable (Z_OPTSEL) for a user entry, mandatory, ready for input, dimension ID = Number and      second Formula variable (Z_OPT1), customer exit, mandatory, not ready for input, dimension ID = Num

How to use formula variable in customer exit

Hi all,         I just want to use formula varible in customer exit For eg,          I have created formula variable with user manual lnput eg: ZFM_V01 = 30 Another char variable  with user manual input eg: 0keydate = 28/02/2011 Required output, I ju

Variable multiple single value filled with customer exit used in FOX form.

Hi guys, I definitly need your help in the following scenario: I have variable (multiple single value) filled in a customer exit and use it in web template. There it is used in the drop down box for selecting a special date in the analysis item. And

ROLLUPTIME as variable in customer exit

Hi, my Customer needs a query, where several variables (last date, month, ... previous month, ...) should be set based on a date when the data was last refreshed (ROLLUPTIME). I know how to show this information on the WEB (Text element) but I would

Simple Feed from user entry variable to customer exit

Requirement, I am trying to populate the user entry date from variable single value <b>ZP_userent'.</b> and then feed that date to customer exit variable <b>'ZP_custexit'.</b> to calculate the range User entry date --  '01012099'.

Information Broadcast by E-Mail (Bursting) - Use of Text Variables

Hello Experts. This time we have a project to distribute customer data using the Information Broadcast by E-Mail (Bursting). So far it works with Queries and Web Templates, but the functions to create the text for the mail body are not enough. The "T

Problem in Displaying text Variable

Hi All, I have problem in Displaying text Variable in the column header. My requirement is as follows. Column Level: 0Calmonth/Year Key figures Keyfigure1 - Current Month  - Text Variable1 Keyfigure2 - Previous Month - Text Variable2 Keyfigure3 - Pre

Query - Replacement Path for a Customer Exit Variable

Hi New to the field and the board.  Any and All help is greatly appreciated. I have created a query which runs based on a date selection. The query have few customer exit variables whose values are set in ABAP. All Key Figures in the query are brough

Looking for an ABAP-code for the customer-Exit Variable

Hello, I have defined a Variable (Interval) which should be processed through Customer-Exit on characteristic Supplier-Date (date format). This Customer-Exit Variable is called ZDATE. We have another time characteristic Fiscal year / period (0FISCPER

Code (ABAP) for the Customer Exit Variable (CMOD)

Scenario An employee can purchase any no of policies in a day or month.each policy will have start date and expiry date. My requirment Count all the policies(valid) by employee on a ranges basis exception reporting (0-10;10-20;20-30;30-40) and then a

Customer exit not working for variable

hi ,  i have created the variable with customer exit,options for variable are optional and ready for input checked.when in debugging mode the value in exit i_vnam is having value of the variable but in the second time it dont have.so i cannot go the

Why do text variables using Running Header character style translate forced returns as a word space in the running head on the first page but close up the space on subsequent pages?

In an InDesign document that requires 3 different Chapter head paragraph styles (to cope with differrent length headings) I've set up the running heads on the master page with a text variable using the Running header (character style) option. The cha

Customer exit in bi

We have 0stor_loc in our ods ZSD_o21.  In the cube we do not have this field. Hence we are using the remodeling option to bring ZSTOR (storage location) field in the cube. For remodeling we are using Add characteristic and customer exit to fill the d

Customer Exit-ABAP

Hi Experts, The following code is return as a customer exit used in reports,Could you please tell me what exactly it is doing and also modify this code,So that it won't display zero values    Please convert this machine language into human language  

Text Variable using Customer Exit .

Hello Friends. I have a requirement to create Text Variable using Customer Exit . So I created the Text Variable as "ZVRBMS" and assigned that with YTD &ZVRBMS& in the Structure of Query Desigener . so that Out put will YTD AUTO OR YTD R

How to use customer exit variable in the report

Dear All, i want to use a standard customer exit variable in the report properties. In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose prop

Behavior of customer exit variables (used as prompt) in a workbook

Hi All, We are on NW2004s. I am using a customer exit variable in the prompt for my query then saved the query as a workbook. 1. When I run the query the customer exit routine/program is called and the selection screen variable is populated with the