Change hardcoded account values..Help

Hi All,
I have a report which uses GL account value in hard-coded form as:
IF P_RVLTBL = 'X'.
    SELECT * FROM T030H WHERE KTOPL = 'CAWW'
  RANGE_HKONT-OPTION = 'EQ'.
      RANGE_HKONT-SIGN = 'I'.
      RANGE_HKONT-LOW = T030H-HKONT.
      APPEND RANGE_HKONT.
    ENDSELECT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000100000'.
    RANGE_HKONT-HIGH = '0000100999'.
    APPEND RANGE_HKONT.
    RANGE_HKONT-OPTION = 'BT'.
    RANGE_HKONT-SIGN = 'I'.
    RANGE_HKONT-LOW = '0000104100'.
    RANGE_HKONT-HIGH = '0000104301'.
    APPEND RANGE_HKONT.
  ELSE.
    RANGE_HKONT[] = S_HKONT[].
  ENDIF.
I need to change it to a set and update as when desired.
I don't understand what does the set here mean?
Create a set with SETNAME: ZCASH_EXPOSURE_ACCTS.
Instead of hardcoding users can change it.
Note: HKONT is a selection screen input field.
Thanks.
Edited by: Mishra.Manas on Feb 24, 2010 10:21 AM
Edited by: Mishra.Manas on Feb 24, 2010 10:27 AM

- Read [Set Creation |http://help.sap.com/saphelp_40b/helpdata/EN/5b/d2297e43c611d182b30000e829fbfe/content.htm] - Transaction GS01 - use the Z-name and select table BSEG field HKONT - create hierarchy with the ranges of your actual program (individual values and ranges)
- In your report/program provide an input field for the set name. Check if the set provided is correct via FM [G_SET_GET_INFO|http://forums.sdn.sap.com/search.jspa?objID=c42&q=G_SET_GET_INFO] (0000, Z-name -> check INFO-TABNAME and -FLD), get the values to be mapped to an internal RANGE of account number via [G_SET_TREE_IMPORT|http://forums.sdn.sap.com/search.jspa?objID=c42&q=G_SET_TREE_IMPORT] (beware SETID = class '0000' + name 'Z-name', -> internal table SET_VALUES-FROM and -TO)
Regards,
Raymond

Similar Messages

  • Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.

    Go here and select "Reset your password."  You will receive an email message with a link that bypasses the questions.  You will then be able to select and answer the questions again.

  • Illustrator cs5 changes Kuler color values when importing, Help!

    I am using Illustrator cs5. I access the Kuler Color theme feature for color themes. I will select a them from the Kuler feature
    and then choose to add that theme to my swatch panel. I then check the individual colors in the color panel. Here is the
    problem: when illustrator brings in the Kuler colors to the Illustrator color panel it will change the values of that color which
    changes the actual color. For instance a bright green becomes a muted turquoise. This conclusion is not by my sight,
    because I have opened the specific color theme at the Kuler Web sight and obtained the CMYK values for those colors,
    and then gone back to the Illustrator color panel and compared then values there. The values are changed which creates
    a different color --- obviously. So how can I use the Kuler feature when illustrator changes the values on me which then
    changes the color? Help

    I dont know what my color settings are at this point.
    I download the Kuler color theme straight from the Kuler panel open on my desktop. I open
    the drop down menu options and choose: add this theme to your color swatches. The
    theme is moved over to the swatch panel while I am using Illustrator.
    I don't know what you mean by your last question.

  • HT4864 My old MobileMe account is not accepting any of my passwords to get in and manually change my account to iCloud...how do I find out why or what password works?  It won't give me a choice to change my password either.  Help!

    My now old MobileMe is not accepting my password, so I can't get in to manually change my account to iCloud on my 10.6.8.  It doesn't give me the option to reset my password...I'm just denied access...HELP!

    Look up your old and forgotten Apple ID

  • What is the impact by changing gl account contra account: acquisition value

    Hi experts
    what is the impact by changing gl account  (contra account: acquisition value in asset accounting(AO90)  to the different company codes and different countries. Please review and send across step by step points to us
    Warm regards
    Sreenivas

    hi,
    thnaks for reply, but we cannot reverse as it is initially uploaded directly in asset reconciliation account, moreover, we are already in production and we are yet to run the depriciation from april, finanlly we decided to post the difference amount in reconciliation accounts with OASV, but till now opening upload account shows zero balance, once we post the difference amounts directly in reconciliation accounts this initial upload gl account shows the carryforward balance from march. is there any other alternative,

  • Please, can I with help of Javascript change spot color values? for example by my color VARNISH with c:0,m:10,y:15,k:0 to make change to c:0,m:0,y:0,k:0? thank you

    Please, can I with help of Javascript change specific spot color values? for example, I have color named VARNISH with values c:0,m:10,y:15,k:0 and it would help me to make change to c:0,m:0,y:0,k:0 as a part of an action. Is it possible? Thank you

    Hi Kon Verter,
    you can change the values of your spot swatch, but you have to check many things before.
    e.g. you can do something like this:
    var Vcolor = app.activeDocument.swatches.getByName("Varnish");
    if (Vcolor.color.spot.colorType == ColorModel.SPOT && Vcolor.color.spot.spotKind == SpotColorKind.SPOTCMYK) {
        alert("Black value before: "+Vcolor.color.spot.color.black);
        Vcolor.color.spot.color.black= 0; // and so on
        alert("Black value after: "+Vcolor.color.spot.color.black);
    This will change the black value of the cmyk spot color with name Varnish to 0
    Have fun

  • My boyfriend borrowed my Iphone and changed my account by changed email and password. Also he created mail of icloud  that is not my email. Now I've turned my Iphone. So I try to change mail account of icloud but it's still his account's icloud. Help me!

    my boyfriend borrowed my Iphone and changed my account Apple ID by changed email and password to be his informations. Also he created mail account of icloud  that is not my email. Now I've turned my Iphone. So I try to change mail account of icloud to be my mail but it's still his account's icloud. What should I do on this occer???
    Sometimes I think that I want to create the new Apple ID by the same email but I cannot do that.
    Help Me!!

    Please answer me .
    Now I created iCloud Mail Alias on iCloud which name [email protected] Then I want to switch iCloud Mail Alias to be iCloud IMAP.
    My problem is I don't want that old mail which my boyfriend used to created - [email protected] and [email protected] - .
    How can I do?
    Please.

  • All My Files Gone! After I Changed My Account Name. Please Help!

    I changed the account name on my computer and then the next time i turned it on everything was gone; my apps, docs, media, and other files. I don't know if it was because I changed the account name and some how switched users or what happened. I know all my files are still on my computer i just want to know how to get all my stuff back. It would make me ecstatic if i didn't have to get all my music, photos, and apps back; so if you could help me that would be great. If you have questions about my problem, feel free to ask.

    Amir:
    See Dr. Smoke's FAQ Recover from renaming your Home folder.
    cornelius

  • HT1918 How do I reset my account I have 0.91 $ I can not change the Store please help

    How do I reset my account I have 0.91 $
    I can not change the Store please help
    plz help

    Change your password
    iTunes Store: Retrieving and changing passwords (Apple ID)
    Alert itunes support
    https://www.apple.com/support/contact/

  • Is there a possibility to change the Message Text displayed on Value Help

    Hi All,
    When i click value help icon against Transportation Zone, it is displaying first 500 entries. And i am getting a message saying " AVAILABLE ENTRIES : 500". Can i change this text to user specific ones say "First 500 entries shown: more records exist". if there is any procedure, kindly let me know..this will b of gr8 help..
    Bye,
    Eureka

    First you need to know in which component this F4 help is implemented. Then it will be easier to identify where this text is stored, but normally it should come from an OTR text.
    If you post additional details, maybe we can help you.
    Xavier

  • Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

    Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

    Hi, I changed my google id and ical crashes before i can get into preferences and change the account. I tried keychain deletions but not helping. any clues?

  • Hi i need to spend $0.95 to change my account to another country can u please help

    hi i need to spend $0.95 to change my account to another country can u please help this,it will bring my account to zero

    If you can't find anything to spend it on then you can try contacting iTunes support and ask if they can remove the balance for you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Ipad and Iphone with different apple ID. Changed to same, but can't change the Ipad Icloud to match with the same @me account.  Help!

    When I got my Iphone, I couldn't remember the apple ID, so Best Buy created one.  Now my Ipad Icloud account has a different ID than my Iphone.  Can I change this so all the passwords match?  I was able to log in to the Ipad and change the Apple ID to match the Iphone but can't find a way to do same for Icloud on Ipad.
    thanks

    So are you trying to change your passwords?  Or change which account is logged into icloud?
    Here are the instructions for changing which account is logged into icloud.  Go to settings-icloud-delete account.  Then settings-icloud-sign in with the account you wish to use.

  • We have an Apple id that has a bunch of purchased music on it, but our children have changed the account details and the password, and the secret questions and now we can't remember any of that information, even our birthdays are not correct. HELP???

    we have an apple ID that was set up in my wife's name. The kids have changed the account details and no-one can remember the password. They have also changed the account data and none of our birthdays are recognised by apple. We have no way of re-setting the account. The secondary email address we used when setting up the account is no longer accessible so even this option doesnt work..
    What can we do as we have a large amount of purchased music on this account???

    1. Don't confuse "Apple ID" with iTunes Account ID.  You can have many Apple IDs but only one iTunes account active at a time.
    2. If you "changed" your iTunes account ID, you actually have 2 accounts - one under the old name plus the new name.
    3. You can't merge the accounts - they remain separate.  Apps purcahsed under the old account name will update ONLY WHEN THE PHONE IS SIGNED IN TO THE OLD ACCOUNT NAME  and visa versa.
    4. Likewise, you can sync only the apps, music, media purchased under the account the phone AND iTunes are signed in to.

  • HT4859 I cannot set up my iCloud account. I wanted to change the account from mine to my daughters on her iPad and I deleted it. Now it is gray and I cannot select iCloud from settings. Help?

    I cannot select iCloud from my settings because it is gray. How do I restore it?

    On the device go to Settings>General>Restrictions and under "Allow Changes" set Accounts to "Allow".

Maybe you are looking for