SPELL Structure Issue

Dear All
I am having some problem in using SPELL Structure. I am using it in SAPSCIPT. The problem is that it works ok till the thousands. But since it has to be converted into INR Format, as soon as it goes into lakhs it displays it into millions. Is there any other way to view the output in lakhs not it millions. I know of a function module HR_IN_CHG_INR_WRDS which converts amount into words into INR format but i dont know how to use function module in SAPSCRIPT.
Any help would be appreciated and thanks in advance.
Prashant Jha

HI,
usually when we are enhancing the sap scripts, we will go for sub routine pool programs.
in the sap script,
go to a window where your wish to print the amount in words.
now write the code like this.
/:           PERFORM GET_SUBTOTAL IN PROGRAM ZTEST
/:           USING &EKpO-netwr&
/:           CHANGING &TOTALFINAL&
/:           ENDPERFORM
to print the value.
Ph          &TOTALFINAL&
Here for example, take the amount and then convert the amount .
in side the progam
FORM GET_SUBTOTAL TABLES: IN  STRUCTURE ITCSY
                          OUT STRUCTURE ITCSY.
  READ TABLE IN INDEX 1.
  W_variable = IN-VALUE.
here you will receive the value as the amount in char.
convert this into ccurrency format.
then use the fm HR_IN_CHG_INR_WRDS
and then
  READ TABLE OUT INDEX 1.
  OUT-VALUE = W_total.
modify out index 1.
endform.
regards,
Venkatesh

Similar Messages

  • Org structure issue

    Hi,
    I have a question related to an org structure issue. Let me explain by taking an example:
    The Org set up we have goes like this, let A1 be the VP of a particular division, he has a director B1 reporting to him. B1 has four different employees C1, C2, C3 and C4 reporting to her. The interesting part here is, C1 and C2 belong to a different cost center (say CC1) and C3, C4 belong to a different one (CC2). Both CC1 and CC2 are managed by B1. The tricky part is CC1 comes under the VP 'A1' while CC2 does not have any supervisior above. B1 is the final supervisor.
    The problem is, when I run the Org report to find all the employees coming under A1, C3 and C4 also show up. How to correct this?
    In our system, the org structure is driven by position of the employee and not by the cost center. However we have an relationship record (A011) in HRP1001 between the Org unit of the employee and the cost center but it does not serve the purpose because B1 is placed in one cost center CC1 and manages the other cost center CC2 too. Since she can be in one cost center at a time say CC1 there is no record pertaining to CC2 for her.
    How to resolve this? what kind of config change needs to done?
    Any leads or suggestion would be helpful.
    Thanks in advance,
    SG

    Hi,
    You can define your organization structure except the cases you have exceptional .
    For the exceptional Objects create them in Expert mode and maintain infotype 1001 depending upon the requirement.
    Warm Regards,
    Kapil Kaushal

  • Report structure issue

    EPM 10 SP15
    I have a requirement to build a asymmetric column axis and dynamic row expansion input form to be done. If i can do this, that would avoid unnecessary building the same structure with 7 different reports to construct the asymmetric columns. But i am facing an issue that the rows not expanding.
    Based on Vadim static report blog i am convinced that we can have a static asymmetric col axis and have a dynamic row axis but looks like in my report build it is not expanding on the row.
    Here is what i did
    1) Build the column axis as below resulting in EPMOlapMemberO cells referring to other excel cells. Basically I wanted to show i have a asymmetric column axis need.
    ACTUAL        PLAN           PLAN            ACTUAL
    PROD1         PROD2        PROD1          PROD3
    2013.JAN      2013.FEB     2013.JAN       2014.JAN
    2)  Row axis should expand based on parent node like
    Customer Group
    ---Customer 1
    ---Customer 2
    ---Customer 3
    3) Of course i need some page axis overrides
    What i did:
    By enabling member recognition i created the col axis cells referring to the cells i already constructed manually
    I manually entered a dummy member in row axis cell with member recognition on
    It automatically recognized col and rows and created a default report
    So far so good.
    Now i went to row axis selection and made the member selection to Customer Group (member & children selection).
    Then i refreshed the report assuming it would expand on row  but it didn't do anything
    Am i doing something wrong?  Is it possible to have a static col axis with dynamic row axis?
    I also want to ask if this is a safe approach to build a report with static col axis and dynamic row axis. Would it prevent me from inserting local members in col axis later?
    Any help is appreciated..
    ~Dilkins

    You are doing something incorrectly. If you have row axis Customer member definition as:
    Context (Member and Descendants)
    Then if you change context to some parent and refresh - your row axis will be expanded to Member and Descendants of the context parent.
    You can also use =EPMDimensionOverride for Customer.
    "If I follow this construction, can I add local members in between the columns at later time?" - yes, you can insert local member columns.
    "I plan to do PageAxis override" - what do you mean by override? EPMDimensionOverride is applicable only for row and column dimensions! You can use Excel formulas as it's described in the blog.
    Vadim

  • Framework Structure Issue

    I am creating Distributed App outside the Mac App Store on Mac osX 10.9.5 with XCode 6. I have used Developer ID Application certificate, custom Framework which was Developed by me. I have signed this framework with same Developer ID Application certificate which used for Mac App. I have Export a Developer ID signed Application in my Mac.
    Now, The Problem is when I download ".app" from mail in my Mac and double click, It display Alert Message " App can not be open because identity of developer can not be found". I have attached Image of Error.
    When I run codesign command on terminal, It shows "WSBluetoothFramework.framework/: bundle format is ambiguous (could be app or framework)".
    So I checked and found that after export signed app "Headers" folder is missing. But before archive and export Framework contain Proper structure of Framework.
    Before Archive Framework Structure
    After Archive Framework Structure
    I want that When App double click it should ask for Open Permission instead of the Error Message.
    So Can anyone now about this issue?

    You have to structure your workspace properly if you want an embedded framework to work. It should look something like this:
    Project/
         Application/
              Application/
                   Application.xcodeproj
         Application Workspace/
              Application.xcworkspace
         Framework/
              Framework/
                   Framework.xcodeproj
    Hopefully I have the indentation correct, but this is the general idea. Replace "Project" with your project name, "Application" with your app name, and "Framework" with your framework name. It may be possible to get it to work using some other structure, but I know this works. If you have it setup properly, when you add your embedded framework, Xcode should setup all of the copy files and run script build phases to properly embed and code sign your framework.
    In your example, missing the Headers is normal. It the the code signature that you need. It looks like you have code-signed your development version. That won't work. You have to let Xcode do it the way Xcode wants. If you try to fight Xcode, you will always lose.

  • Printing Structure Issue

    Hi Folks!
    I am writing a report and I am printing the days of the week,
    school day periods and the rooms that are empty on any period. To
    print my structure I do the following:
    <cfif
    StructKeyExists(roomStruct,Periods.PERIOD_CODE[period])>
    <cfif
    StructKeyExists(roomStruct[Periods.PERIOD_CODE[period]],CycleDays.DAY_CODE[day])>
    #StructKeyList(roomStruct[Periods.PERIOD_CODE[period]][CycleDays.DAY_CODE[day]])#
    </cfif>
    </cfif>
    The issue is that I am getting the following set of rooms
    (example):
    ,Room1,Room2, Room3
    Please note the comma before room 1. The customers do not
    want that. Did I miss a step?
    I'd appreciate any feedback!
    Apocalipsis!

    Start with a empty string and use listappend.

  • NWDS import RFC interface for the structure issue??

    Hi Gurus,
    I'm working on the SAP NetWeaver BPM with NWDS 7.3 SP12 rite now and got confused about the RFC interface structure stuff.
    I have a mapping activity defined in the process and the receiver interface needs a RFC. So I go to "Process Modeling" -> "Services Interfaces", right click and choose "Import RFC",type the correct RFC/BAPI name connecting with the SAP ECC system. The issue is that when I finished importing the RFC, went to the "Data Types", the RFC interface namespace shows out but the structure shows seperately with individual segment, so the whole nested RFC interface structure messed up in parallel which is incorrect for the data object and output mapping for later process activities.
    Anyone has ran into such kind of issue or experience the same, any solution or suggestion?
    Thanks in advance,
    Rajesh

    William,
    Another two questions relates to NWDS BPM development:
    1. Sometimes after I import the service interface into NWDS, the structure displays differently from it defines in ESR, I mean the fields sequence. I dont know why
    2. Refer to your screenshot,
    Assume the occurence of node HEADER and item is (0..1), when I want to map a blank constant to them to generate the target structure, the editor not allows and display error which is very different with ESR mapping tool, could you please help to advise? Tons of thanks!
    Thanks a lot in advance,
    Rajesh

  • Spell Checker Issues

    I am having an issue with spell checking on my MBP. Recently, a program has been opening anytime I compose a mail message. The program is called "Spell Catcher", and runs in background with no active window. Not sure where this program came from (info shows it was installed a year ago, and a trial license is expired). Problem is when I move the program to the trash, I keep getting error messages when a word is misspelled in Mail.
    How do I set preferences for spell checking? Isn't spell checking "built in" to the OS? I have searched utilities and preferences, but I cannot find a settings for spell checking.
    Thanks,

    I cannot find a settings for spell checking.
    system preferences/language & text/text/spelling
    Plus in every app, Edit > Spelling and Grammar

  • Allocation structure issue

    Dear sap,
    cost elements that have been used for postings to our projects but the cost elements are not included in the allocation structures.
    As a consequense are the settlements ot the projects malfunctioning.
    Cost element     Allocation structure     Malfunctioning WBS             
    190198           KO                                  389001938.00002            
    497162          KP                                   47800439.04                 
    How to update the allocation structures to include the above cost elements.
    Reg
    Umi

    Hi,
    Go to Allocation Structure which you are using for this and see what is the cost element group or range you entered in the Allocation structure.
    Once you find the range or cost element group, you need to include the above cost elements into the Ranges or cost element groups.
    Your issue will be solved..
    Thanks

  • Disk structure issue

    I'm getting disk structure corrupted and unreadable when trying to update iOS or iTune sync

    I've had experiences with node issues that would just never go away. What I did to fix it was to use Carbon Copy Cloner to clone my disk to a backup drive, reformatted my drive with Disk Utility, then cloned back the drive. Its a long process, but its the only thing that worked.

  • Mail Spell Check Issues

    I'm having an issue with Mail in Leopard - when I first open Mail and start to compose a new email the spell checker (usually) works. However, after Mail has been open for a while, the spell checker stops working - without any error displayed.
    I have the check spelling while typing option checked.
    The spell checker does not flag miss-spelled words while I type and it does not recognize miss-spelled words if I try to spell check with Edit - Spelling and Grammar - Check Document Now.
    I can typically get the spell checker to function again by quitting and restarting Mail.
    Anyone else run into this?

    Something similar just happen on my computer. Not only will Spell checker not show up at all, in any way, for Mail but also doesn't show up in Text Ed.

  • PA Transfer Structure Issue while posting an accrual

    Hi
    I have an issue with accrual postings.
    I am trying to post an accrual (reversing journal) but an error is coming up with PA Transfer structure has not mainted in COPA, but i have maintained inKEI1 and OKB9 also.
    I really do not know as i have done this somany times previously.
    Any help will be apprecaited highly.
    cheers
    kris

    Hi Ashok
    Thanks for your prompt reply.
    I have checked and it is perfectly alright and i have just come to know that one of my team has transported a request wrongly that has messed up the system.
    Anyway thanks for your time.
    cheers
    kris

  • Spell-Check issue

    v 31.0
    Seems each time Thunderbird is re-started, the spell-check malfunctions --
    when writing a new message, all words are red-highlighted, indicating a spell error.
    I 'fix' the issue by 1) disabling spell-check, close and re-start, 2) re-start and enable spell-check.
    Ideas? Thanks!
    By the way, this might be helpful...
    Recently replaced the drive on iMac, restored from Time Machine... Also, performed a 'disk erase', Mac's function for cleaning-up deleted files. wondering if Thunderbird was impacted. Although, everything else on the iMac runs perfectly.

    regardless of what the forum people at Mozilla say, we do handle multiple problems in one post.. But then Thunderbird is a community project, we are just a little independent.
    That and your other issue may well be related. could time machine be replacing these files over and over? Spelling setting I am sure are stored in profiles.js, along with account settings. This is a text formatted java-script file. So open it in a text editor and just scroll through it. Is there an discontinuities and might be corruption. (you do not have to understand it to see something obviously different.)
    Also check that the session.JSON file is stored and unchanged session to session. Under windows ccLeaner deletes that in a misguided attempt to protect you privacy. Nothing to say there is not a MAC culprit as well.

  • Extract Structure Issue

    Hi,
    I am facing issue with the extract structure fields and datasource fields.One particular field is there in the extract structre,but its not there in the datasource when i checked in RSA6.
    Can u please help me in this.
    Thanks
    Madhu

    Hi,
    Please refer the below document created by me on the same issue that you have.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c008cd97-ef00-2d10-d1ad-867b9c3f063c
    Hope this helps
    regards,
    mahesh

  • File Adapter Variable structure Issue

    I have a requirement where i get a flat file in the format mentioned below:
    01,1218324735,73038740,021205,0601,464,80,1/
    02,73099000,12100035,1,021204,2359,/
    03,12998877650,USD,010,0,015,0,020,0,040,0,045,0,050,0,057,0,072,0,074,0/
    88,075,0,079,0,080,0,100,48930701,110,48930701,400,48930701,570,48930701/
    16,115,48930701,S,0,0,48930701,00051100896,0074014000,/
    16,577,48930701,,00722103104,1233333649/
    88,XXX TO 1233333649
    49,293584206/
    03,12332342319,USD,010,0,015,0,020,0,040,0,045,0,050,0,057,0,072,0,074,0/
    88,075,0,079,0,080,0,100,0,400,0/
    49,0/
    03,1233233772,USD,010,21311449,015,1255572,020,23673363,040,1255572/
    88,045,200000,050,190464,057,0,072,1055572,074,0,075,0,079,0,080,0,100,0/
    88,400,20055877,490,20055877/
    16,508,20055877,,00370004755,/
    88,XXX:021204004755
    88,ZZZ ZZ YYYYZ
    49,109109623/
    98,23827387079,3/
    99,754273628739,4,203/
    The description of the above file:
    Example 1 – List of multiple groups within a file and multiple accounts within a group:
    01 FILE HEADER Begins File
    02 GROUP HEADER Begins First Group
    03 ACCOUNT IDENTIFIER First Account
    16 TRANSACTION DETAIL First Account Detail
    49 ACCOUNT TRAILER Ends First Account
    03 ACCOUNT IDENTIFIER Second Account
    49 ACCOUNT TRAILER Ends Second Account
    98 GROUP TRAILER Ends First Group
    02 GROUP HEADER Begins Second Group
    03 ACCOUNT IDENTIFIER Begins Third Account
    88 CONTINUATION Continues Previous
    49 ACCOUNT TRAILER Ends Third Account
    98 GROUP TRAILER Ends Second Group
    99 FILE TRAILER Ends File
    How to read this kind of variable structure file in File Content Conversion?
    What kind of parameters should i configure in the content conversion parameters?
    Should i use user defined functions otherwise?
    Thanks for your help in advance.
    Regards
    Sudha

    Hi Sudha,
    Please do these in content conversion:
    Your structure which contains these fields
    Take paramater like this:
    <Structure>.fieldNames = allfields separated by commas
    <Structure>.fieldSeparator = ,
    <Structure>.endSeparator = '\n' means newline
    <Parent of this Structure>.endSeparator = '\n'
    use all field names in 1 variable whether they are being used in mapping or not.
    Reward with points if helpful.
    BR,
    Alok

  • IMAP Sender channel, Content Conversion Module , target XSD structure issue

    Hi,
    I'm using the content conversion adapter module in my IMAP senderchannel , to transform a flat file into a IDOC ORDERS05 structure.
    I have some difficulties generating the right structure... how can I make a more deep structure ?
    My output is like this. All created segment is on the same level.
    <ORDERS05>
        <IDOC>
            <E1EDK01>
            <E1EDK03>
            <E1EDKA1>
            <E1EDK02>
            <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
            <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
        <IDOC>
    </ORDERS05>
    Here the E1EDKT2 should be a "level under" or "sub structure" to E1EDKT1, and not on the same level !
    The wanted result:
    <ORDERS05>
        <IDOC>
            <E1EDK01>
            <E1EDK03>
            <E1EDKA1>
            <E1EDK02>
            <E1EDKT1>
                <E1EDKT2>
                <E1EDKT2>
            <E1EDKT1>
                <E1EDKT2>
                <E1EDKT2>
        <IDOC>
    </ORDERS05>
    How can I solve this ????

    Hi,
    you can do it on adapter level too:
    but you cannot do it in standard content conversion I guess
    (if it has more then 2 levels)
    check this how you can do it:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • OS Commands not executing through published java procedure... :(

    Hello all :) Im trying to get a PL/SQL block to delete a file out in the OS. Theres plenty of examples out there and the one I got came from burleson consulting, and incorporates a java method and a call to java wrapped in PL/SQL.. after all suggeste

  • Calling function in OAF

    Hi all, I am new in OAF. Pls tell how can I call fuction in OAF. Thanks Vikram.

  • Customize the Activity Clipboard view ?

    Hi, We want to customize the Activity Clipboard view (change the headers and the order of the columns ..) In the BSP_WD_CMPWB transaction, if we choose the UICMP_ACC_CLIP component , the view is not configurable .. Is this the right component ? Is th

  • HPA - feedback

    HPA or currently known BI accelarator seems to be quite interesting and all presentations and demos seem to be impressive.   1. It would be nice to hear from folks in the ramp-up projects about their experience with HPA. Does is show remarkable resul

  • G5 won't boot past grey screen

    G5 2.0 Dual will not boot past grey screen. Running 10.5.8 on an old maxtor 160gb drive, drive is available as a startup disc in StartUp disk in system preferences. But when it is chosen the machine shuts down in the usual manner then switches to the