CBF Conversion for Historical UPload

Hi All,
I am new to APO and from BW background. I want to tranform the VC to CBF Characteristics using the Function module  /SAPAPO/DEM_CHAR_CONVERT_STRUC. Can anyone help me the leads to start with.
Thanks in Advance,
PV

Assuming the target infoprovider structure like this.
Cost Center/Cost element/version/month /0AMOUNT
mapping should be like below.
Datasource   - > target infoprovider
Cost Center    - >Cost Center
Cost element  - >Cost element
version           - >version
month1           - > month
0AMOUNT      - >0AMOUNT
put this code in the start routine of the transformation between datasource and infoprovider.
DATA: wa_result TYPE _ty_s_sc_1,
          t_result TYPE STANDARD TABLE OF _ty_s_sc_1.
LOOP AT SOURCE_PACKAGE INTO wa_result.
counter =1.
DO 12 TIMES.
          CASE counter.
when ' 1 '.
wa_result-costcenter =  wa_result-costcenter.
wa_result-costelement =  wa_result-costelement.
wa_result-version =  wa_result-version.
wa_result- amount = wa_result-amount
wa_result- month1 = wa_result-month1.
when ' 2 '.
wa_result-costcenter =  wa_result-costcenter.
wa_result-costelement =  wa_result-costelement.
wa_result-version =  wa_result-version.
wa_result- amount = wa_result-amount
wa_result- month1 = wa_result-month2.
when ' 12 '.
wa_result-costcenter =  wa_result-costcenter.
wa_result-costelement =  wa_result-costelement.
wa_result-version =  wa_result-version.
wa_result- amount = wa_result-amount
wa_result- month1 = wa_result-month12.
endcase.
counter = counter + 1.
APPEND wa_result TO t_result.
enddo.
endloop.
CLEAR: SOURCE_PACKAGE,wa_result.
   LOOP AT t_result INTO wa_result.
      APPEND wa_result TO SOURCE_PACKAGE.
    ENDLOOP.
Note: Code is in BI 7.0 version.

Similar Messages

  • Currency Conversion for historical Amount

    Hello Experts,
    Can some one help me to find a solution for my reporting requirement.
    As part of GL reporting, I have a report which shows accumulated balance for given fiscal year/period. If the currency is in USD,I have no issues. When the currency is in non USD(Ex: EUR) I need to convert it into USD at BW side.
    Here is the example:
    User Enters: Fiscal Year/Period : 2007003
    Accumulated Balance for particular GL account might be 300 EUR.
    But actual posting might be happened in 2006012.
    While converting it to USD it should take the 2006012 exchage rate from TCURR and convert it.
    I have created a RRC1 object and used it in Query but it is using 2007003 exchange rate.
    Please help me to solve this problem.
    Thanks,
    Bobby

    Hi,
    make your currency conversion type time dependent that is the the exchange rates should be picked based on the date when the G/L account was posted.
    Go to transaction RRC1 chose your exchange rate type and in the time ref. tab give key date as the posting date it will pick the exchange rate as the date when the doc was posted.
    Hope it clears
    Thanks

  • File conversion for BW upload

    I have a requirement for an ABAP development that makes something like a transpose (excel function) to change the format of a file to upload data into a infosource.
    Currently the users have some files with columns like:
    Cost Center/Cost element/version/month 1/ month 2/ month 3/ month 4/…/month 12
    Each month is filled with a 0AMOUNT.
    The requirement consists in convert the months in different lines to upload it to BW, like:
    Cost Center/Cost element/version/month 1/0AMOUNT
    Cost Center/Cost element/version/month 2/0AMOUNT
    Cost Center/Cost element/version/month 3/0AMOUNT
    Cost Center/Cost element/version/month 12/0AMOUNT
    Does anyone has an idea how to do this?
    Many thanks all,

    Assuming the target infoprovider structure like this.
    Cost Center/Cost element/version/month /0AMOUNT
    mapping should be like below.
    Datasource   - > target infoprovider
    Cost Center    - >Cost Center
    Cost element  - >Cost element
    version           - >version
    month1           - > month
    0AMOUNT      - >0AMOUNT
    put this code in the start routine of the transformation between datasource and infoprovider.
    DATA: wa_result TYPE _ty_s_sc_1,
              t_result TYPE STANDARD TABLE OF _ty_s_sc_1.
    LOOP AT SOURCE_PACKAGE INTO wa_result.
    counter =1.
    DO 12 TIMES.
              CASE counter.
    when ' 1 '.
    wa_result-costcenter =  wa_result-costcenter.
    wa_result-costelement =  wa_result-costelement.
    wa_result-version =  wa_result-version.
    wa_result- amount = wa_result-amount
    wa_result- month1 = wa_result-month1.
    when ' 2 '.
    wa_result-costcenter =  wa_result-costcenter.
    wa_result-costelement =  wa_result-costelement.
    wa_result-version =  wa_result-version.
    wa_result- amount = wa_result-amount
    wa_result- month1 = wa_result-month2.
    when ' 12 '.
    wa_result-costcenter =  wa_result-costcenter.
    wa_result-costelement =  wa_result-costelement.
    wa_result-version =  wa_result-version.
    wa_result- amount = wa_result-amount
    wa_result- month1 = wa_result-month12.
    endcase.
    counter = counter + 1.
    APPEND wa_result TO t_result.
    enddo.
    endloop.
    CLEAR: SOURCE_PACKAGE,wa_result.
       LOOP AT t_result INTO wa_result.
          APPEND wa_result TO SOURCE_PACKAGE.
        ENDLOOP.
    Note: Code is in BI 7.0 version.

  • How do I compress a 2 min FCP video into 100MB for web upload?

    How do I compress a 2 min FCP video into 100MB for web upload?
    I have FCP v.7 as a part of FCStudio
    OK, this may seem like a stupid question for most of you but I haven't used FCP for years.  I am trying to make and upload a 2 min video to the web and don't know how to turn it into a size of 100MB or less.
    Yes, I realize that I have Compressor but it does not work on my computer for some reason.  I think my laptop is too old for it or something.
    It needs to be in one of these formats and I would like to use the highest quality.  Suggestions needed for this also since this will be my first attempt at an uploaded video.
    .MOV, .WMV, .AVI, .MPG, .3GP, 3G2, .QTL, OR .MP4
    Any help would be wonderful!
    MacBook Pro, OS X Mountain Lion (10.8.3), 750GB HD, 2.2 GHz, 6 GB RAM

    First, let me apologize for the way we were chatting on your thread while waiting.
    Let me summerize what I think we have here:
    1. You have a 2 minute show you want to convert to some codec appropriate for high quality presentation, but under 100MB final filesize.
    2. You feel you don't want to use Compressor or a preset for YouTube.
    3. You're in a hurry.
    The fastest and highest quality method of making this conversion is using Compressor. It is designed to do precisely what you ask. The codec you want is H.264.
    The YouTube preset is being suggested not because we think you're going to upload the clip to that site, but because the YouTube preset is a remarkably easy way to get a HQ H.264 clip with acceptable filesize. I'm staring at a 3:40 clip of 1080p that would knock your socks off and it's 90MB!
    Even on a laptop the conversion is a matter of minutes.
    If you're OK with my arguement, I'll write out a step-by-step proc for you and you can be done with this in time for that primetime show you want to watch.  OK?

  • Data migration for historical consumption

    Hello,
    I would like to get information about data migration for historical consumption.
    To make forecast, we have to load historical consumptions for each materrial (data in forcasting view / Consumption vals).
    Do you know if this is possible with a batch / direct input or we should develop a programm for that ?
    Thanks,
    PYR
    Edited by: Pierre-Yves Ryckwaert on Jul 17, 2008 11:21 AM

    I am certain that I can load historical consumption using IDOC menthod for message MATMAS03
    However I have never uploaded historical consumption in an extra step after the material master migration, but I guess this should work as well with this IDOC. Just make sure that you do not overwrite other data in material master.

  • Conversion for goods receipt includes inventory

    Conversion for goods receipt includes inventory uploading with and without batch management,, How can i do this

    Hi,
    You can use separate G/L account for Factory Output Account for Goods Receipt on Finished Goods Inventory and Variances.
    goto OBYC T.code do the following settings.
    GBB-->AUA-assign gl account
    PRD-->PRD-assign gl account.
    one question from my side.
    If you are using same account for both entries, where do you assing GL accounts in OBYC?
    Thanks,
    Rau

  • BI IP --- Planning function for File Upload

    Hai All,
    In BI IP , When I am trying to load the data (text file) by using Planning function for File Upload. I am getting an error message When I am clicking on Update .
    Error Message : Inconsistent input parameter (parameter: <unknown>, value <unknown>).
    In Text file I am using Tab Separation for each value
    Anyone help me out.
    Thanks,
    Bhima

    Hi Bhima
    Try one of these; it should work:
    1. If you are on SP 14 you would need to upgrade to SP 15. It would work fine
    2. If not, then -
         a] apply note 1070655 - Termination msg CL_RSPLFR_CONTROLLER =>GET_READ_WRITE_PROVIDS
         b] Apply Correction Instruction 566059 [i.e: in Object - CL_RSPLFR_CONTROLLER GET_READ_WRITE_PROVIDS,
    delete the block: l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = p_infoprov ).
    and insert block - l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = i_infoprov ).
    Goodluck
    Srikanth

  • Custom Extractor using FM for Delta Upload

    Hi,
    I created a Custom Extractor using FM for Full Upload. The requirement now is that it should be able to handle Delta also.
    I used the standard FM RSAX_BIW_GET_DATA_SIMPLE to create my Z FM.
    Please suggest me the changes I have to make in this to be able to upload Delta also.
    Thanks
    Nageswara

    Hi Mahesh,
    You can selectively load from BI side (through Infopackage) and for that you should have those selection field defined as ranges in your FM.
    As per my genius friend Sidharth Gupta:
    FM RSAX_BIW_GET_DATA_SIMPLE is a funct. Mod having a simple interface in which I_UPDMODE is not used. Actually FM RSAX_BIW_GET_DATA_SIMPLE is used for a full update and uses an F2 extraction method. However through ABAP we can try to make it delta capable like below.
    *Declare
    DATA  I_UPDMODE.
    Now to capture delta on AUDAT
           I_UPDMODE = u2018 u2018.
    LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AUDAT'.
                MOVE-CORRESPONDING L_S_SELECT TO L_R_AUDAT.
                 I_UPDMODE = u2018 D u2019.
                APPEND L_R_AUDAT.
              ENDLOOP.
    This code works however is not flexible as you do not use a CASE stmt on I_UPDMODE.
    CASE stmt gives more flexibility which is used in FM RSAX_BIW_GET_DATA.
    FM RSAX_BIW_GET_DATA is a funct. Mod having a complete interface in which I_UPDMODE is passed to funct mod during its call.FM RSAX_BIW_GET_DATA can be  used for all update types and uses an F1 extraction method. However after writing the funct mod the default extraction method is F2 in table ROOSOURCE which needs to b changed to F1 for ur mod to work.  This change from F2 to F1 can be done via test abap code.
    Part two of that Article is yet to be published so wait for sometime or follow above mentioned approach.
    Hope it helps.
    Regards,
    Ashish

  • My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware problem.

    My macbook seems to be going crazy. At certain points (and for hours) I get the oh snap page on chrome, safari doesnt work, macbook wont let me create any files or for example upload music to itunes. I restored my mac so im sure its not a malware problem. The only thing that solves it is switching off and on , but sometimes I have to do that for 6-7 times before its ok or wait for a few hours. Some help please

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • My wife and I own an iMac (April 2011) and just recently got iPhones.  We share one iTunes account (mainly for our uploaded music from CD).  Do we each need to have our own iTunes account?  What about iCloud?  We want to utilize the same Calendar/Contacts

    My wife and I own an iMac (April 2011) and just recently got iPhones.  We share one iTunes account (mainly for our uploaded music from CD).  Do we each need to have our own iTunes account?  What about iCloud?  We want to utilize the same Calendar/Contacts

    JoeyV325 wrote:
    Is there a way to move music/apps from one ID to a new ID?
    No.
    One of you create a new AppleID and one use the existing AppleID.
    But you can still use the items in each iTunes library.
    Create separate computer logins for each of you.
    This will give you each your own data. Contacts, calendars, photos, etc. (and your own iTunes library).

  • How to Change Default Iview Properties for Role Upload?

    Hello,
    We have many roles to upload from R/3 ABAp system to NW2004s EP.
    We use the Role Upload tool in the Portal to achieve this.
    It works fine, the roles are created in the portal and can be assigned to users.
    The fall back is that we have to modify every single transaction iview in the portal after the upload to modify the SAP GuiType from "SAP GUI for HTML" to "SAP GUI For Windows".
    How can we change the default model used of SAP GuiType for uploading transaction iviews in uploaded roles?
    Also, the uploaded role is not flaged as an "Entry Point", is there a way to set this marker to "Yes" as a default value for all uploaded roles?
    Best regards.

    This is one of Acrobat's less intuitive areas!
    For defaults, right-click on the text box that is as you want it: then select menu item 'Make current properties default'
    Use Ctrl-E to bring up the Properties toolbar: its content will change depending on whether you have the box or the text selected, and selecting the box or text can be a bit clunky.
    Steve.

  • Is there a way to save a job action for YouTube upload in Compressor 3.5?

    Is there a way to save a job action for YouTube upload? I have about 25 - ten minute clips I want to upload and they all pretty much have the same description and tags. Is there a way to save/make a preset of the job actions that way I don't have to keep inputing the same usernames, passwords, descriptions, tags? Thank you

    the method mentioned by benwiggy will certainly work.  If you want to an option that would give you more options, you could use a PDF Service.  You could then put a specific job on hold while still allowing others to use the printer.
    You can do this by opening AppleScript Editor (/Applications/Utilities).  You can copy and paste the following into an editor window --
    on open printJobs
    tell application "Finder"
    set trapFile to quoted form of POSIX path of (printJobs as string)
    end tell
    set defaultPrinter to do shell script "lpstat -d | awk -F: '{print $2}'"
    do shell script "lpr -P" & defaultPrinter & " -q " & trapFile
    end open
    Save the file as an Application.  You can name it something like Hold Print Job.  Then just put it in the PDF Services directory in the Library directory of your Home folder <yourname>/Library/PDF Services.  You may need to make the PDF Services directory as it may not already be there.
    Once the file is in place, you can use it by using the PDF drop down menu at the bottom left of a print window.  That will send the file to the printer and put it on hold.  Others can still use the printer.  You can then print your file whenever you want.  Just open the print queue as mentioned by benwiggy.  Highlight the job that is Paused.  You will see a little curly icon at the very right (looks like a reload icon in a web browser).  Just click that icon and the job will start printing.

  • Unit of measure conversion for CIN is not relevant for pricing

    During creation of Ad item type order, when we enter the planned ad size e.g. A CO (Columns) x B IN (Inches), the system is showing a message "Unit of measure conversion for CIN is not relevant for pricing" and pricing is not determined in the Billing Data Set. However if the planned ad size is maintained as A CO (Columns) x B MM (Millimeters), there is no impact to pricing conditions.
    Any light how to fix this issue?
    Thanks,
    Suseela. V

    Dear Suseela,
    You need to maintain Unit of conversion using transaction code JH51. You have to follow the path Logistics-Advertising Management-Master Data-Conditions-Order/Billing Document-UM for Pricing.
    Here you can maintain combination using Booking Unit, Content Component, Design type and assign Unit of Measure to get relevant pricing into billing set conditions.
    Hope it will help. Thanks!
    Regards
    Indra

  • What are the special conversions for time in update rules?

    What are the special conversions for time in update rules?

    Hello,
    Special conversions for time in update rules are automatically conversion rules.
    Example: If the cube contains calendar month and your transfer structure contains date, the date to month is converted automatically.
    Assign points if this helps,
    Regards,
    Jorge Diogo

Maybe you are looking for

  • Can't download movies from icloud

    Hi there.  I'm having a real problem with iCloud.  I can't download to iTunes the movies I've purchased in iCloud (Apple TV, other Computers with my Account, etc.)  I'm not sure if I'm just not doing it right or if there's somethign wrong, but when I

  • How to type a font of a faulty key

    Hi all, I have the '9' key of a MacBookPro4,1 which doesn't work anymore, it seems definitively dead, as they said at the Apple center; since changing the whole keyboard for a single faulty key seems to me excessive and costly, I wonder if there is a

  • How to avoid or delete extra page in case of dynamic i-form?

    Hello Forum, I have to generate a dynamic I-form. I have data that needs to flow to next page. But a extra page repeats always. For eg: i have 8 lines of data that are to be displayed, 7 displayed in 1 page 8th in the next page. But there is a page t

  • True stories

    What's this all about then? http://www.nseries.com/truestories/ 2 hours to go...

  • SQL Server Extended Events Capturing DDL Schema Changes gives "NO Column Name" Value on DDL events being performed .

    Team , I've created a session to Capture object_Created , Object_altered and Object_deleted events on to Ring Buffeer target "IN Memory Storage" on a server .Whenever i create alter or drop an object , I see a Result in SSMS Column Name "No Column Na