Help needed on text variable.

Hi experts,
I have to write a report that requires text variable.
My scenario is as follows:
1. User have to key in posting period into variable 0P_PER3.
2. The text variable has to translate posting period into calendar month. However, since I am not using K4 fiscal year variant, this cannot be done directly. I use V3 fiscal year variant, which means:
Posting Period 01 = April
Posting Period 02 = May
Posting Period 03 = June
Posting Period 04 = July
Posting Period 05 = August
Posting Period 06 = September
Posting Period 07 = October
Posting Period 12 = March.
So, let say the user key in posting period 12; in my report, the text variable must displays 'March'.
Is there any standard variable that I can use to achieve above goal? If not, how can I create such a variable?
Many thanks!

Hi,
first of all you create 12 customer exit text variable.
then go to SMOD tcode.
give RSR00001 as project name
select component and click on display.
then double click on EXIT_SAPLRRS0_001
then double click on zxrsru01 include.
in the code window write down below code for each of your text variable.
case i_vname.
    when 'YOURFIRSTTEXTVARIABLENAME'.
        if i_step = 2.
          read table i_t_var_range into loc_var_range
          with key vnam = 'YOURPERIODVARIABLENAME'.
          case loc_var_range-low+58(2).
            when '01'.
              l_s_range-low = 'YOURMONTHNAME'. "e.g. March
             when '02'.
like this write for 12 periods.
          endcase.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.       
        endif.
hope this helps.
Regards,
Purvang

Similar Messages

  • Help need in Binding variable with ViewObject

    hi All,
    iam very new to Oracle ADF . Iam using Jdeveloper 11.1.1.3.0 for developing ADF Application.
    i have created a view object with binding variable "emp_name".
    query :: select * from emp_adf where name:=emp_name
    i need to get this value from my page(jspx).
    please help me how to proceed further.
    My requriement:
    page should have one text filed and after submitting the value it should query the DB and result should come.
    If any one gives little demo or article for this ,it will be really helpful for me.
    Regards,
    Suresh kumar.

    I think below links would be useful for you.
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcquerying.htm#CEGDGIJH
    http://jobinesh.blogspot.com/2010/10/how-to-set-bind-variable-values-at.html
    ~Abhijit

  • Help needed in TEXT determination procedure - Urgent

    Hi Experts,
    I have defined my own text determination procedure for complaints. This procedure is for the item category for the transaction(complaint).
    The following are the Text ID's that I have include in my procedure :
    1. C001
    2. C002
    3. C003
    My requirment is to have logs(history) for each of the text id's(C001, C002, C003).
    i.e. what ever i do in C001, it has to be loogged only in text id let;s say ZC001, same way C002 shld be logged only in ZC002 and C003 in ZC003.
    I have also defined ZC001, ZC002, ZC003 in the text detrmination procedure.
    Please help me in slving this problem. Can i do it in the config itself or shld i go for development?.
    Regards,
    Arul Jothi A.

    hi,
    This is what exactly i am lloking for, but i tried with your proposal. It didint work.
    Please find the detailos below.
    Text Object      CRM_ORDERI
    Text Det.Proc:   ZCOMP001
    Text Type  Description              Seq.        changes     Transfer      Access Seq.
    C001     Complaints Text     0001     P              -                   -
    Z001     complaints1     0002     R     A     ZC01
    C002     Internal note     0003     P              -                   -
    Z002     original text test     0004     R     A     ZC02
    C003     Recomm. Solution     0005     P              -                   -
    Z003     original text 3     0006     R     A     ZC03
    Access Seq :
    ZC01 :
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C001
    continue chcked.
    ZC02.
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C002
    continue chked
    ZC03.
    Ref. Object     CRM_ORDERI
    Ref. Text Type  C003
    continue chked
    I want to log all C001 text into Z001 only, C002 in Z002 only and C003 in Z003 only.
    hope you got it....
    Please help.
    Regrads,
    Arul Jothi A

  • Help needed in text entry box...

    hi,
    I have created one assessment simulation, which has a few text entry boxes. This I have included it in another flash file. Output of that flash file is .exe and not .swf.  But when I play that exe; this simulation doent allow to enter the text, while instead and exe if I play the SWF its working properly.
    I want it to work in .exe as well....
    Plz help....
    Suajg

    Hi,
    We are creating a WBT in flash. Output of this WBT is an exe file. There are some instructions and do's n dont's where we have given this Assessment. This assessment is in swf format created in Captivate 4.
    Regards,
    Suajg

  • Help needed saving text members to TAB delimited txt file

    I have 7 text memebrs each containing several lines of text
    that were pulled in and sorted from a TAB delimited text file.
    What I'd like to know is, is there any way to convert those
    text members back into the TAB delimited format from which they
    came? I'd like to be able to pull in the data, let it be edited to
    some extent, then saved back out..... and I'm not too sure how to
    go about it.
    Example of txt file:
    ID_No Name Age
    1 Phil 26
    2 Sam 34
    3 Mary 21
    They're then sorted in to text files of ID_No, Name, and Age,
    with the lists of the relevent items in each.
    Like.....
    ID_No
    1
    2
    3
    Name
    Phil
    Sam
    Mary
    Age
    26
    34
    21
    Certain lines of these text members change, depending on what
    the user selects. I'd like to put these sections back in their
    original TAB delimited format, but with any changed data replacing
    the old, so next ime the app is opened the new data is pulled in
    from the txt file.
    I know I'm probably going about this the wrong way, but it's
    the only way I know so far lol
    Any ideas?

    global filex, idlst, namelst, agelst
    on readtabline (str)
    tmpstr = ""
    y = 1
    repeat with x = 1 to the number of chars in str do
    if str.char[x] = tab then
    case y of
    1 : idlst.add (tmpstr)
    2 : namelst.add (tmpstr)
    3 : agelst.add (tmpstr)
    end case
    tmpstr = ""
    y = y + 1
    else
    tmpstr = tmpstr & str.char[x]
    end if
    end repeat
    agelst.add (tmpstr)
    end
    on exitFrame me
    idlst = [] --set up some lists to hold that data we read in
    namelst = []
    agelst = []
    filex = new (xtra "fileio")
    filex.openfile ("t.txt", 1)
    indata = filex.readfile() -- read the data in
    filex.closefile()
    filex = void
    repeat with x = 1 to the number of lines in indata do
    readtabline(indata.line[x]) --seprate it into its diffrent
    elements
    end repeat
    -- you now have your data sorted in to three list of id, age
    and name
    -- so you would now do what ever editing you wanted to do
    --now to write it out to a new file
    filex = new (xtra "fileio")
    filex.createfile (the moviepath & "tout.txt")
    filex.openfile (the moviepath & "tout.txt", 2)
    repeat with x = 1 to idlst.count() do
    filex.writestring (idlst[x] & tab & namelst[x] &
    tab & agelst[x] & return)
    end repeat
    filex.closefile()
    end
    I tested this on your exact scenario and it worked a brezze
    hope it helps
    Regards
    David

  • Quick help needed (putting text on a .mov)

    OK, I have never used this program before and I am looking for a quick solution:
    After importing a film in .mov format the text looks fuzzy and awful. The text is simply white on a black background. The whole film has been imported and shows up as one clip.
    Can I make a still picture in Photoshop with the text and put it on top of the part with the fuzzy text in iMovie? How would I go about that? Is there another way to put clean looking text over the old fuzzy one?
    Thanks in advance for any help!

    If the text track was created using QuickTime Pro and then converted to "video" the results will vary greatly and the quality will never be the same as the QuickTime version.
    QuickTime text tracks are vector graphics (scale without distortion) and they look clear, clean and crisp.
    But when you "convert" them to "video" they not only lose the vector graphics but get rendered with some ugly results.
    Many QuickTime users are not aware that text tracks can even be converted to "video" format.
    I started with a Karaoke style QuickTime file with MIDI instruments:
    http://homepage.mac.com/kkirkster/.Public/blackbird_text.qtl
    Then I converted it to "video" and added a varying color background to show the quality degradation:
    http://homepage.mac.com/kkirkster/.Public/blackbird.qtl
    The MIDI audio was also converted to AAC audio which balloons the file size from 9 KB's to nearly 4 MB's.
    Basic results?
    Don't convert text to video.
    Add text tracks after export from iMovie using QuickTime Pro if the files will be viewed on a computer or served from the Web:
    http://homepage.mac.com/kkirkster/Lemon_Trees/
    As an example.

  • Help needed: custom text click behavior

    Hi,
    When a section of text in Flex's TextArea formatted with a
    URL through a TextFormat object is clicked, an application will try
    to go to the URL. In one of my applications, I need to customize
    this to have a Flex window popped up etc.. Is there a way to do
    this? Does anyone know if the source code of Flex 3 is available
    somewhere for reference?
    Thanks in advance!

    This sample code shows opening a link in a new window using
    navigateToURL(new URLRequest(event.text), '_blank'):
    <?xml version="1.0"?>
    <!-- textcontrols/LabelControlLinkEvent.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    borderStyle="solid"
    backgroundGradientColors="[#FFFFFF, #FFFFFF]">
    <mx:Script>
    <![CDATA[
    import flash.events.TextEvent;
    public function linkHandler(event:TextEvent):void {
    myTA.text="link occured.";
    // Open the link in a new window.
    navigateToURL(new URLRequest(event.text), '_blank')
    ]]>
    </mx:Script>
    <mx:Label selectable="true"
    link="linkHandler(event);">
    <mx:htmlText><![CDATA[<a href='event:
    http://www.adobe.com'>Adobe</a>
    </mx:Label>
    <mx:TextArea id="myTA"/>
    </mx:Application>

  • Help Needed for Text Editor

    Hi All,
    I am working with text editor. Error which is displaying while i am activating the my module pool program is.
    "PI_TEXT_KEY" must be a character-type field (data type C, N, D, or T) . "INTERFACE". by "INTERFACE". by "INTERFACE". "INTERFACE". by "INTERFACE". by "INTERFACE".     
    This is declaration that i have done for PI_TEXT_KEY.
    TYPES: BEGIN OF scr_text_line,
             line(line_length) TYPE c,
           END OF scr_text_line.
    DATA:
      BEGIN OF text_idx,
        reqno    TYPE yreqno,   "table field with NUMC and 5 as length
        srtf2    LIKE yrequests-srtf2, "data element is SYBIN1
      END OF text_idx,
      pi_text_key  LIKE text_idx.
    Any suggestions how to over come from this error.
    Regards.
    Balu
    Edited by: Balu CH on Oct 21, 2008 3:57 PM

    Hi Pavi thks for responding.
    As i have mentioned in my previous post my field yreqno & yrequests-srtf2 properties are ..
    yreqno - NUmc and length is 5 since i have to hold only numeric values.
    If i change them to Char then i may not increment my request number so in this type of case how to deal with.
    srtf2 - dataelement SYBIN1 is been used for which INT1 is my data type and 3 is my length.
    Regards
    Balu

  • Coloumn Headings replace with text variable

    Guys
    I have to display coloumn headings for my key figures to be able to match with the time period selection. Is it I need a text variable and if I do where do i create it and for what charachterstic.
    Also i need to ;pick a variable values  based on other variables in the same query. can i do it through replacement variable or any other ideas.
    thanks

    Hi,
    Yes, you are right you need a text variable in order to display the cloumn headings to match the time period selection.
    Text variables with the processing type Replacement Path are replaced by a corresponding characteristic value. The value of a text variable has to be a text.
    How to create & where to create a variable check here:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    The Reference Characteristic you can use should be a time characteristic like "cal. year/month". Choose according to your query requirement.
    Hope this helps...
    Cheers,
    Habeeb

  • Text variable created on 12/29/14 making year 2015

    I have a document where on the back cover I have 2 text variables: MM/DD/YY and (c)YYYY. On the date I get 12/29/14 but on the uear I'm getting (c)2015. Is there some know assumption that the year always gets bumped to the next year when you are x-days close to that year? Maybe it's a legal thing?
    I can go in and manually change it to (c)2014, but then why would I need the text variable?

    @Steve – now, that is really interesting. A hidden "feature"?
    Using YYYY instead of yyyy getting the next year?
    That behavior is not new to InDesign CC. Just tested in InDesign CS5.5 v7.5.3:
    Btw. I used ^2 for the copyright symbol…
    Note 1: If you are using YYYY in InDesign CS4, the current year will be placed.
    Note 2: In the online help files YYYY is mentioned as a substitute for yyyy in the table that lists all variables:
    InDesign Help | Text variables
    Uwe

  • Need help in text variable !!

    experts !
    i have asked question earlier about the problem, i was trying all the possible combinations and i just got another way,
    Can i use Offset settings for Text variable ?
    my requirement is , i have ofiscper, and there is a text variable created on that too. but if my fiscper is 0012010 then my text variable shows april 2010. but i need "may 2010" instate.
    so, if my fiscper is 0012010 , then my text variable should show one month prior or after  .
    So, i found in text variable..ther is sometjng like "offset". i was wondering can i use that to get that result ?
    i tried, but didnt work...
    please help

    Hi Honar,
    The offset for text Variable is just to get a substring of the result of the text variable and not like the offset that we use in the Restriction of the Keyfigures.
    Hence this will not work.
    Regards.
    Shafi.

  • CAN SOMEONE PLEASE HELP ME IN CREATING A TEXT VARIABLE???

    Hello Friends,
    I want to display the Key and Text for 0CALYEAR in a report. I searched the forum and it seems that for doing this I need to create a text variable. In the query designer I tried creating a text variable for 0CALYEAR, but in the variable wizard, the "Type of characteristic" drop-down is greyed out. Please guide me in creating a text variable and on a larger scale in getting the Key and Text for 0CALYEAR. Thanks!
    Regards,
    Prem.

    Hello Friends,
    Thanks a lot for your replies!!! I am really delighted to see the helping spirit of the forum. I have assigned points to all of you. Thanks again!
    Now coming to the issue. Let me reply individually. (Friends, reply may be a bit lengthy. Please read atleast your part fully).
    Venkat, you said that we can display the key and text for 0CALYEAR if the texts are mainted for it. However, in the display option for 0CALYEAR there is no option for text. Moreover, since 0CALYEAR is provided by SAP itself, I did not find any option for maintaining texts for it. Infact in 0CALYEAR, under the master data tab the "With texts" option is unchecked. Please share some info on this one.
    Srini, your suggessted solution was not possible as there was no option for displying text in the context menu for 0CALYEAR.
    Karthik, I tried your solution. In my KeyFigures structure I have only two key figures and the 0CALYEAR is in rows. What I did was I right-clicked on "Key Figures" and clicked on New Selection. In the popup screen there is a button for variables. Clicking on it and then clicking on the "New" opton in the subsequent window brought me to the variable creation wizard. Interestingly this is a text variable creation wizard. Happily I created a text variable with replacement path and selected 0CALYEAR as the characteristic. Then I selected "Name(text)" for "Replace variable with" option. Everything went fine. Under key figures, I got an icon which is having a green triangle with a matrix cube (Apologies for explaning the situation like this :-). This is essentially the icon for characteristics. The description reads "&ZTXTVAR& New Selection". Now when I try to run the report I get an error saying "Use a Key Figure everywhere in the structure 'Keyfigures' ". I think the text variable is not getting created, instead a New selection is getting created. Please assist. Thanks!
    Regards,
    Prem.

  • I need help with my text tone and I have ring tone. no text tone for the 4s.

    I need help with my text tone. I have ring tone no text tone. I have a 4s.

        Hi Sarar2333!  Let's get your text tones working again!
    Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a.  You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting.  Let me know how that works out for you.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Text Variable Help? Beginning section page number required

    Hi guys,
    My name is Arjun and I am working on a book in Indesign. I've created quite a few sections and want to create a header on top that displays,
    for example
    "Summary FirstX to LastX" (in bold are the variables)
    First X being that Sections first page number
    Last X being that Sections last page number
    There is a default preset that came with Indesign CS4 that allows you to create a Text variable for the last page number of that section. What about the beginning? I don't wan to turn that to static text as i have a lot of page shuffling to do and the more the automated the better.
    Thanks,
    Arjun

    I hadn't noticed that there isn't a First Page Number text variable building block. How odd.
    I would try setting up a "cross-reference" to the first paragraph in your section. (This is not part of the text variable dialog. Use the cross-reference window under Type & Tables in the Windows menu). I assume these will work on master pages, though I haven't tried it. It does seem odd that you'd need to use completely different tools for each page number!
    Be aware that there's now a hidden marker at the beginning of that paragraph, which the cross reference uses to know what page number to insert. So if you accidentally remove it (for instance, if you delete and retype the whole paragraph), you'll have to set up the cross reference again. And you'll have to explicitly create that cross reference in each section of your book, while the text variables are pretty automatic. So there could easily be a better solution that I haven't thought of.
    Good luck, and tell us what finally works...

  • User created text variables don't work anymore...What's going on?  Help!  Captivate 4.

    Captivate 4 issue.
    Okay, I use Captivate 4 almost every day for eLearning development, so I know the program pretty well.
    As our LMS is horribly difficult to use, I typically create a certificate at the end of the course I am working on that will display the user's name on it that they can print and give to their supervisor.
    On the first page of the course, I put a text entry box in where they key in their name, and I capture that in a user variable (typically called staff_name) that I then drop into a text caption on the certificate.
    This has worked successfully numerous times.
    Now, for some reason, it doesn't.  One of two things happen:
    1.  The entire text caption with the variable in it does not display....it's just a blank space where that caption should be, and that includes any other text in the caption.
    2.  The caption appears with all of the other words...just not the variable. 
    Is there anything that I might have overlooked?  Some strange captivate bug where user created text variables disappear over time.
    Oh yea, that reminds me...system variables don't work either.  I put the date string on the certificate as well, and that wasn't showing up either.
    It's like all of a sudden, the ability of Captivate 4 to drop a variable into a text caption just doesn't work anymore.
    Ideas?
    Thanks so much.
    Rob

    Hi Lilybiri.
    It's been awhile since this post...I ended up just re-installing Captivate onto my system, and that cleared up the problem.
    It has since, however, reared its ugly head again. 
    I had a lesson set up that had a page counter at the bottom.  Simply said "Page 1 of 25" then "2 of 25" etc. on each page using the current slide info and slide count variables.
    It worked perfectly up until today when a reviewer suggested changing the caption text to simply "2/25"
    So, I edited the caption with the variable, and the exact same symptoms described above came to pass again....any text captions with variables in it will not show up in the running .swf file.  I tried deleting the .dat file, and that didn't help.  In addition, the variable length is not 0. 
    As I work remotely and re-installing captivate would take hours upon hours (or a trip to the office) I don't see re-installing it as a viable option at this point.
    Anyway, it's pretty frustrating, and an obvious bug.  I wish my company would just upgrade to 6 already...
    Other ideas, though?
    Rob

Maybe you are looking for

  • Download a ALV report without repetitive headers and footers.

    Hi, I have an ALV report with header and footer. When I download the report into excel, after every 30 (approx) records there is a header and a footer. But I do not need it. I need header only once and footer only once in the excel sheet. Please let

  • Firefox crashed and will not start. I tried IE which will no longer start either.

    I was surfing and when I clicked on ESPN.com firefox crashed without an error message. It would not start up after that. I did a restart and even tried to open up IE for a test (which didn't work either). Every time I shut down the computer it says F

  • TV@nywhere Master (MS-8606) + its programs

    hi i did something stupid. i have lost all the cds that came bundled with the TV@nywhere Master (MS-8606). now after a format of my hard drive, i can not use the tv tuner. anybody got any clues where to find all the software, including the software?

  • MySQL Select Statement Help Required

    I am trying to generate a report in VS 2008 (C#) using a mysql select statement but cannot get it right. I have groups that meet on a weekly basis on different days. I want to generate a report that shows me all the members that have not attended the

  • Problems exporting photos in iPhoto 6

    When I try to export photos from iPhoto to my hard drive, I get an error message that says: "Directory Exists: exists as a directory at this destination. Aborting export." This directory doesn't exist - I've tried creating several different folders,