Calulations using TMVL SAP BPC10 NW

Hi Experts    
I am not sure if this is possible?
I am trying to use script logic to forecast some balance sheet account.
1. Get prior years balance for account code AC_2016100
2. Perform a calculation using the prior years balance (cacluation AC_2016100 / AC_60501*365)
3. Post the result of the calculation to AC_2016100_INP
The script that i have created is as follows.
*XDIM_MEMBERSET TIME = "2014.12"
*WHEN CATEGORY
*IS Budget
*REC(FACTOR=1, TIME=TMVL(-1,2015.01), (AC_2016100 / AC_60501*365),ACCOUNT=AC_2016100_INP)
*ENDWHEN
*COMMIT
I would be greatful for any assistance
Thanks in advance

Hi,
You have to use correct syntax, please read help about REC.
Something like:
*XDIM_MEMBERSET TIME = 2014.12
*XDIM_MEMBERSET CATEGORY=Budget
*XDIM_MEMBERSET ACCOUNT=AC_2016100
*WHEN CATEGORY
*IS *
*REC(EXPRESSION=%VALUE%/([ACCOUNT].[AC_60501]*365), TIME=TMVL(1,2014.12), ACCOUNT=AC_2016100_INP)
*ENDWHEN
This script will select records with the scope defined by XDIM_MEMBESET, perform division and write result to the next month to ACCOUNT AC_2016100_INP
Never use COMMIT with WHEN/ENDWHEN - USELESS!
This script is for DM package not for default.lgf
B.R. Vadim

Similar Messages

  • How to find what type of middleware product we are using in SAP CRM ?

    Hello All,
    Ca anyone help me in getting the information  for the following :
    1) How to find out what type of middleware product we are using in our Project? ( Currently our SAP CRM version is 4.0 and the middleware is using for R/3 to SAP CRM and vice versa)
    2) Do we have a product called u201CMessaging wareu201D used in SAP ?
    Kindly revert at the earliest .
    Cheers
    Sreedhar

    Hi Sreedhar,
    What you've mentioned is exactly the task of CRM Middleware, which sits on the CRM server and governs the data flow.
    By any chance are you trying to find out about DOE(Data Orchestration Engine) used by SAP NetWeaver Mobile ?
    maybe this link would help then:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/7f/c9391404c74fabb8ccc321bac64e8d/content.htm
    -Rohit

  • How to make use of SAP NetWeaver Visual Composer in business

    Dear Experts,
        Can anyone help me the use of SAP Netweaver Visual Composer benefits and how it can be used to get the integerated business reult. How it helps the organisation to get benefited and how it differs from other tools.
    Regards
    Veeraraghavan.S

    Hi,
    There is loads of stuff out there on visual composer.  Have a look at this link:
    http://wiki.sdn.sap.com/wiki/display/VC/VisualComposer7.0
    VC is supposed to allow employees with limited technical skills created web based applications which can then be used in the portal.  You do need some technical knowledge but it is more easier than developing code. 
    Nick

  • What are the commands using in SAP ECC 6.0 ehp on SYBASE Database? Backup and restore commands?

    Hi All,
    What are the commands using in SAP ECC 6.0 ehp on SYBASE Database? Backup and restore commands?

    Hi Jayachander,
    Have a look at these sap notes:
    For taking backup: Schedule from DB13 and get the exact command from Logs
    1841993 - SYB: How to schedule backups in DBA Cockpit
    1887068 - SYB: Using external backup and restore with SAP Sybase ASE
    How to restore DB
    1611715 - SYB: How to restore a Sybase ASE database server (Windows)
    Divyanshu

  • Using Standard SAP Tables in SAP Tables, clusters or functions connections

    Hi Gurus,
    I am trying to use Standard SAP table like MARA, MAKT.. etc. in my crystal designer. When i make a new connection using SAP tables, Cluster or Functions, these tables are not listed.
    Any configuration i have to maintain to list those standard table.?
    With Regards,
    Balachander.S

    Due to performance reasons there is  a limitation regarding the number of the dispplayed table names. Once you are in the connection/table browser select a table and invoke the context menu by pressing the right mouse button. Select Options and in the options panel you can use wildcards in order to limit the results to the desired range (eg. use MA% to get a list of tables starting with MA). After you close the options panel press F5 and expand the connection entry again.
    Regards,
    Stratos

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • How to use non sap application in sap.......?

    hi,
            anyone has any idea how to use non sap application  like java class in sap through abap programming. please let me know ...
    thanks in advance.
    saurin shah.

    Hi,
    DATA: COMMAND TYPE STRING VALUE 'C:\j2sdk1.4.2_08\bin\java',
    DIR TYPE STRING VALUE D:\eclipse\workspace',
    PARAMETER TYPE STRING VALUE 'Helloworld'. "here the name of your java program
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
    APPLICATION = COMMAND
    PARAMETER = PARAMETER
    DEFAULT_DIRECTORY = DIR
    MAXIMIZED =
    MINIMIZED = 'X' "If you need the DOS window to be minimized
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    BAD_PARAMETER = 3
    FILE_NOT_FOUND = 4
    PATH_NOT_FOUND = 5
    FILE_EXTENSION_UNKNOWN = 6
    ERROR_EXECUTE_FAILED = 7
    OTHERS = 8.
    check this link
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Regards,
    Satish

  • How to define a BW/BI system in Portal using BI SAP Query Connector.

    Hi,
      How to define a BW/BI system in Portal using BI SAP Query Connector.
    Portal>System Administration>System Configuration-->Portal Content >New System (from PAR)>com.sap.portal.systems.bi-->
    How to retrive the parameters required from a BI 7.0 System.
    Thanks

    Hi,
    You can refer to this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/c9/b0c8ce704d40fbb18312f8e65b4b0b/content.htm
    Hope it will be helpful.
    Best Regards,
    Assaf Klieger

  • SAP GTS------- SAPPI with Seeburger BIC----- ATLAS using with SAP PI

    Hi All,
    I have scenario this SAP GTS----->SAPPI with Seeburger BIC--->ATLAS(German customs system)
    1)Inbound flow: SAP GTS will send the customs declaration message to ATLAS(German customs system)
    2)outbound flow: response messages from ATLAS(German customs system) approved the customs declaration message and send to SAP GTS
    How to achieve using with SAP PI with Seeburger modules. What are adapter is required for this scenario.
    Idoc coming from SAP GTS to Seeburger BIS and then convert to EDIFACT send to Atlas systeam.
    For mapping  Source is Idoc (CCECUS02) and Target is EDIFACT(CUSDEC_UN_D96B).
    Regards,
    Ramesh

    >
    Ramesh Gulipalli wrote:
    > Hi All,
    >
    > I have scenario this SAP GTS----->SAPPI with Seeburger BIC--->ATLAS(German customs system)
    >
    > 1)Inbound flow: SAP GTS will send the customs declaration message to ATLAS(German customs system)
    > 2)outbound flow: response messages from ATLAS(German customs system) approved the customs declaration message and send to SAP GTS
    >
    > How to achieve using with SAP PI with Seeburger modules. What are adapter is required for this scenario.
    >
    > Idoc coming from SAP GTS to Seeburger BIS and then convert to EDIFACT send to Atlas systeam.
    >
    > For mapping  Source is Idoc (CCECUS02) and Target is EDIFACT(CUSDEC_UN_D96B).
    >
    > Regards,
    > Ramesh
    > .
    for converting an XML to EDI or vice versa you can use the seeburger adapter.
    http://www.seeburger.com/xi-pi-adapters/

  • Use of SAP DMS & SAP Archive Link both together

    Dear DMS Experts,
    I am little bit new to DMS and have very less idea about functionalities and capabilities of SAP DMS & Archive Link.
    I have got few questions:
    1. Is it possible to use both SAP DMS & SAP Archive link togther.
    For example, there are certain objects like GRN, Invoice, Employee etc which are not supported in standard DMS.
    However, they are supported in archive link.
    But at the same time, there is requirement of setting and resetting of some statuses of the documents attached with PM notification or with PR / PO. This functionality is available with SAP DMS.
    So I want to know, is it possible to use SAP archive link for few objects and SAP DMS for other objects.
    2. In case of SAP archive link configuration, we need to define link between Object Type, Document type and content repository
    in node "Edit Links" under "Basic Customizing" under "ArchiveLink".
    Here we can not use all the content repository which we have created normally. But we can use only limited content repository ID.
    How does system decides, which content repository id can be used.? Where can i define that.?
    3. With SAP archive link, can i store my documents in the same content repository in which I am storing my all the documents with SAP DMS. I mean to say, both the SAP DMS & Archive link, can share the same content repository.
    We are having a seperate content server and requirement is to store all the documents in content server only.
    Would request you all to please help.
    Thanks & Regards,
    Mihir Popat

    ..is it possible to use SAP archive link for few objects and SAP DMS for other objects...
    Yes,you may use Archivelink for static documents that would be required purely for reference while DMS can be configured to handle documents that are more dynamic in nature (that require status change,version,revisions et-al)
    ..both the SAP DMS & Archive link, can share the same content repository.We are having a seperate content server and requirement is to store all the documents in content server only...
    Yes,you may store DMS and Archivelink documents can reside on the same Content Server.Content repository is a logical area/partition,hence you may create one content repository for DMS and another for Archivelink(on the same Content Server).
    Regards,
    Pradeepkumar Haragoldavar

  • Having issue using TMVL in script logic

    Hello experts,
    We need to replicate the behaviour of the copy opening Bal through script logic.
    Below is my code:
    where user selects only entity when he runs package,time is derived from property.
    // Year from version property
    *SELECT(%YEAR%,"[YEAR]","Z_VERSION","[ID]='BUD'")
    // Months
    *SELECT(%MONTHS%,"[ID]","Z_TIME","[YEAR]=%YEAR% AND LEVEL='MONTH'")
    *XDIM_MEMBERSET Z_TIME=%MONTHS%   (for ex:My first month is 2009.jan(ope month)
       *WHEN ACCT
               *IS CHC          
            *REC(FACTOR=1, ACCT="CHC",Z_TIME=TMVL(1,%MONTHS%))  ( for ex:2009.feb,nxt month)
        *ENDWHEN
    When i run the above logic in debugger TMVL doesn't show next month.
    If i hardcode time in my xdimmemberset to (*XDIM_MEMBERSET Z_TIME=2009.JAN) and change my TMVL in my REC statement to TMVL(1,2009.JAN)).Logic works fine.
    Please tell me how can we pass dynamic variables to TMVL.
    *REC(FACTOR=1, ACCT="CHC",Z_TIME=TMVL(1,%MONTHS%))
    Thanks

    copying closing bal of prev month to nxt month.
    for ex:
    Account     jan 2009    Feb 2009    Mar 2009
    HC_PLAN     10.00      11.00      21.00
    CHC          10.00      11.00        11
    TI                     1.00                      1.00
    TO                      2.00      1.00          2.00
    AP                      3.00                       3.00
    RT                       4.00                        4.00
    My logic needs to copy values from HC_PLAN (parent) to CHC. I have written ope_bal logic in MS version.
    In NW i cannot use next (i am using TMVL),calc_dummy_org,calc_each_period.
    Please tell me how can i get values from a parent (HC_PLAN).
    Is Calculate_Difference is supported in BPC7.5NW?
    Below is my updated code
    *SELECT(%Year%,"[YEAR]","Z_Version","[ID]='ACTUAL'")
    *SELECT(%Months%,"[ID]","Z_Time","[YEAR]=%Year% AND [LEVEL] = 'MONTH'")
    *XDIM_MEMBERSET Z_TIME=%Months%
    *XDIM_MEMBERSET EB_ACCT = CHC,TI,TO,AP,RT
    *WHEN EB_ACCT
               *IS CHC,TI,TO,AP,RT         
                      *FOR %MonthCopy% = %Months%
                           *REC(FACTOR=1,EB_ACCT="CHC",Z_TIME=TMVL(1,%MonthCopy%))
                        *NEXT
                 *ENDWHEN

  • How to use TMVL(%Variable1%,%Variable2%) ?

    Hi Gurus,
    My requirement is showing cash collections on a report. There are many different maturity dates thats why I want to use it as a variable.
    For instance, I have calculated cash amount as 200$ for June and matuirty is 40 days which means the money will be collected Agust. one of the report i have to show it.
    So far I have tried to use TMVL like (  %Variable1%:number of months,  %Variable2%:TIME(no problem for this variable)  ) but  it didint work. do you have any ideas? If not TMVL how can i do this?
    Thanks in advance,
    Regards,

    hi vadim ,
    im not voilating rule .i just given my answer.u said my answer is wrong k.i reply with vadilate correct answer.
    but u said useless statements.
    u use useless type word.
    ur breaking the rules.im not breaking ok.
    stop arguing k.
    if u have good knowledge in bpc .please suggest it .it is worng.dont say word .
    "stop posting of useless statements"
    " it's stupid to show results".
    ur not my manager and my team lead and my coleague and my friend.to say like that k.
    Behave like professional reply.Keep this in mind and Reply like a professional.
    please study the clear and replyit .i just given my answer in simple manner english .
    Avoid the slang,Temper negative emotions
    4.Avoid slang. There are many languages and cultures represented in the community. The primary language of most spaces is English. Non-English content should be posted in the appropriate language-specific space (see the Site Index) or posted in the original language with translation to English included. Please avoid slang and SMS Text Speak
    7.Be professional and courteous. Temper negative emotions, keeping communications professional. Do not berate other members for asking questions or posting something you don’t like. The community is intended to be open on a variety of topics.

  • TDS returns using in sap

    Dear all
    how to file the TDS returns using in sap, if posible send screen shots
    yours
    babu

    Hi,
    We cannot send screen shots in the forum.  We can give suggestions and possible solutions.  You can use T.Code
    J1INMIS for generating the TDS returns and for ETDS Return - J1INQEFILE.  These can be done after updation of
    Remittance Challan, Posting outgoing payment, Bank Challan Update.
    Regards,
    Sadashivan

  • Is ABAP expression FORM - PERFORM can be used in SAP BI 7.0 transformation

    Hello
    Is ABAP expression FORM - PERFORM can be used in SAP BI 7.0 transformations or method odf class is a recommended approach?
    Thanks

    SAP BI 7.x Transformations use OO ABAP where the logic that you enter into the tranformational routines (Start Routine, Characteristic Routines and End Routine) are inside METHODS. PERFORM and FORM are procedural-based ABAP and cannot be used in METHODS.
    CLASS-METHOD and Function Modules are your best bets for processing outside of the transformational routine. As for performance, we use both and haven't found any signicant difference between the two (our custom Function Modules usually perform only slight better than our custom METHODS).

  • Adobe Forms central it useful for sap Consultant

    HI all,
    Last few years in sap Consultant and i worked SAP Adobe forms this Adobe Forms Central it useful for sap Consultant

    FormsCentral does not have any integration with SAP.
    Thanks,
    Josh

Maybe you are looking for