BPC-Add in "Action"  between 'Send data" and "Update Tables"

Hi all,
After the click of "Send data" ,I want to take some CHECK before the data is updated in Database tables.
Note that this kind of CHECKs are much beyond the function of VALIDATIONs( standard function delivered by BPC).
So could I write some scripts( in v 5.1) to do such tasks. And how to get the eaxct Dimension/Memeber/Values in this input schedule, since I will base on these data to take checking ?
Thanks very much.

Yes this is done all the time.
Create a button on the template and add a macro behind it.
Use one of the BPC macros that suite your needs to send data.
You can find more information in the online help or the BPC office user guide.
MNU_eSUBMIT_REFRESHINPUTCELL Refreshes EvSND - cells in an input schedule.
MNU_eSUBMIT_REFSCHEDULE_SHEET_NOACTION - Sends data without clearing or refreshing.
MNU_eSUBMIT_REFSCHEDULE_SHEET_CLEAR - Sends data and clears input cells.
MNU_eSUBMIT_REFSCHEDULE_SHEET_REFRESH - Sends data and refreshes the worksheet.
MNU_eSUBMIT_REFSCHEDULE_SHEET_CLEARANDREFRESH - Sends data and clears and refreshes the worksheet.
MNU_eSUBMIT_REFSCHEDULE_BOOK_NOACTION - Sends data without clearing or refreshing the worksheet.
This is just a few.
Also;
BEFORE_SEND
You use the BEFORE_SEND function to execute a custom operation before OutlookSoft for Excel sends
data.
Function BEFORE_SEND(Argument As String)
MsgBox Argument
BEFORE_SEND = True
End Function
AFTER_SEND
You use the AFTER_SEND function to execute a custom operation after OutlookSoft for Excel sends data.
Function AFTER_SEND(Argument As String)
MsgBox Argument
AFTER_SEND = True
End Function

Similar Messages

  • Query on fetching the no.of days between Invoice date and due date in rtf template embedded BI Publisher Report

    Hi Experts,
    We have a requirement to fetch the value of 'No of days' between Invoice date and due date (Two variable date fields on the template) in an Analysis.
    Please let me know the procedure of how to achieve the same.
    Regards,
    Rev

    it's good for ideas but implementation a bit different
    Oracle Business Intelligence Publisher Report Designer's Guide
    This function provides a method to get the difference between two dates in the given locale. The dates need to be in "yyyy-MM-dd" format. This function supports only the Gregorian calendar. The syntax is as follows:
    <?xdoxslt:date_diff(‘format’, ‘YYYY-MM-DD’, ‘YYYY-MM-DD’, $_XDOLOCALE, $_XDOTIMEZONE)?>
    where
    format is the time value for which the difference is to be calculated
    Example:
    <?xdoxslt:date_diff(‘d’, ‘2006-04-08’, ‘2006-04-01’, $_XDOLOCALE, ‘America/Los_Angeles’)?>
    returns
    -7

  • What is the difference between delivery date and actual goods issue date?

    Hi ,
    Can you please tell me the difference between Delivery date and Actual goods issue date ?
    Delivery data can be be greater than goods issue date?
    Thanks,
    Ajay

    Hi Ajay,
                  Delivery date means its the original date on which the delivery should be done.Actual goods Issue date is the date on which goods to be delivered according to the purchase order.There can be delay in the delivery so we maintain 2 objects.
    Yes delivery date can be greater than Goods Issue date.
    Hope this clears
    Regards
    Karthik

  • Add Audit Columns to the Dimension and Fact tables (Created & modified date Time)

    Hi All,
    I am new to SSIS , I have to Add Audit Columns to the Dimension and Fact tables (Created & modified date Time) of the package.
    Please let me know the best and easy way through which I can implement the same.
    If possible suggest some real time example or link where I can find the same
    Regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    You can simply use ALTER TABLE ADD.. syntax to add the columns if the tables already exist.
    You can generate a single script for all tables using INFORMATION_SCHEMA.TABLES view
    You can make then of NOT NULL type and set the default value to GETDATE()
    In addition you can also have a Audit Trail trigger for UPDATE to make sure Modified date gets updated correctly on each update if not passed explicitly.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Pick list date must be between order date and cancellation date

    Hi all
    A client gets this error:
    Pick list date must be between order date and cancellation date Message[173-89]
    The date is between that range.
    What else could be the reason for it.
    Thanks

    Hi
    Since the message you received is very user friendly - date must be between....
    I guess you have two situation
    1.Either operation is incorrect
    - Create a similar scenario in  your test environment
    -Are you receiving same error
    -Test with only one item so far
    -Check what is the result
    2 . You probably need to upgrade your patch level
       It might be coming from Application error
    Hope this helpls
    Bishal

  • Function that check if date and time between to dates and time

    hi
    is there any function that can check if date and time are between to dates and time ?
    thanks
    Ami

    You can check using IF condition.
    DATA : d1 TYPE datum, d2 TYPE datum, d3 TYPE datum.
    IF d1 BETWEEN d2 AND d3.
      d1 = d1 + 1.
    ENDIF.
    where d1, d2 and d3 are dates.
    Similarly you can check for Time and Timestamp.
    regards,
    Jinson

  • QM action not allowed for DTP requests in master data and Text tables

    Hi,
    I have a master data object load request which has failed, returned error in st22 and job finished.
    BUT the request has not turned red in the monitor - it's still yellow. That means that I can not delete request nor start new load to infoprovider because it believes a request is still running. But it's not, I've checked both sm37, sm50 etc.
    When trying to manually change QM status to 'red' it says 'QM action not allowed for DTP requests in master data and Text tables'
    How can I force QM status to red so that I can move on?
    Running NW2004s BI (7.0) Patch 15.
    I searched for this question but there is no answer
    Thank you

    Folks
    I know how frustrating this problem is even in netweaver 7.0 environment. I found a solution for this problem atlast and it works but a not direct way of resolving this issue.
    When this request is in yellow status and not able to change / delete the request, its actually in a pseudo status and it is a bug in the program. This request sits in table RSBKREQUEST with processing type as 5 in data elements USTATE, TSTATE and this 5 is actually "Active" status which is obviously wrong.
    All we need is, ask your basis person to change the status to 3 in both these data elements and then it allows to reload the delta. Once the delta is successfully loaded, you can delete the previous bad request even though it is still in yellow. Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
    Hope this helps.
    Thanks

  • Get number of hours between two dates and two hours using factory calendar

    Hello all,
    I have the following requirement: I need to calculate the number of hours between two dates and two hours (start date- finish date and start hour-finish hour) or timestamps using a factory calendar. I must program it on CRM environment.
    Does anybody know a function module that makes it?
    Thanks in advance.
    Carmen

    Please check function module DURATION_DETERMINE.
    - April King

  • Difference between master data and transactional data

    Hi experts i have just started learning BW can u plz let me know the difference between Master data and Transactional data in bw ? and why is master data is first loaded before the transactional data ? thanks .....

    Hi
    Transaction data represents any transaction occured between two parties like Customer and Vendor.
    We maintain id's to maintain the Customer and Vendor.
    When we look at the id we don't have a clue like who is the customer, where does he live,,....
    So all this info is maintained in Master data in three categories:
    1. Attributes
    2. Text
    3. Hierarchies.
    Collection of Attribute, Texts and Hierarchies is called master Data in BI/BW.
    Eg: 0MATERIAL, 0CUSTOMER,,,,,
    Master data: is data that remains unchanged over a long period of time. Master data contains information that is always needed in the same way. Characteristics can bear master data in BW. With master data you are dealing with attributes, texts or hierarchies.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/58/a4513ce4af0a40e10000000a114084/frameset.htm
    Master Data is one form of the historical data. There is no frequent changes in the data.Every application has it's own Master Data.
    In BI the master Data has been divided into
    Characterstics
    Texts
    Hierarchies
    We can load Master Data through different ways.
    Pls. find the below link
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/58/a4513ce4af0a40e10000000a114084/frameset.htm
    hope it helps u
    regards
    gaurav

  • What is the Difference Between Sys Date and Effective Date ??

    Hi Gurus,
    Can any one pls let me know What is the Difference Between Sys Date and Effective Date ??
    with regards
    User600722

    EFFECTIVE DATE usually refers to a date-tracked record (although not exclusively).
    Date-tracked records in Oracle HR have an EFFECTIVE START DATE and an EFFECTIVE END DATE. The record is 'EFFECTIVE' between these dates. In reports, you often use SYSDATE to compare to these two dates to find the CURRENT effective record, e.g. SYSDATE BETWEEN EFFECTIVE START DATE AND EFFECTIVE END DATE.
    When you make changes to a HR record, you can choose between DATE TRACKING options, such as CORRECT or UPDATE (there are others too). CORRECT will overwrite the record and replace the data with your changes. This is normally used when you need to correct something that is wrong. UPDATE will create a new version of the record from the EFFECTIVE START DATE you choose. It will also set the EFFECTIVE END DATE of the previous record to the day before your new record's EFFECTIVE START DATE. That enables a history of records to be maintained so you can see what your data looked like at ay one point in time.
    Regards
    Tim
    Edited by: TimW on Sep 23, 2008 2:37 PM

  • Diffreence Between Master Data and Transcation Data

    Hello Friends,
    What is the Difference Between Master Data and Transcation Data.
    i know only one differnece,,ie,,
    Transcation data modified frequently and Master data are not modified frequently..
    can any one tell the other difference..

    hi check this..
    MASTER DATA=>
    Master data are distributed throughout the company, they are often not standardised and often redundant. As a result it is very costly to offer efficient customer service, keep track of supply chains and make strategic decisions. With SAP Master Data Management (SAP MDM) these important business data from across the company can be brought together, harmonised and made accessible to all staff and business partners. As a key component of SAP NetWeaver, SAP MDM ensures data integrity via all IT systems.
    Regardless of the industry, companies often work with different ERP and Legacy systems. The result: the business processes are based on information about customers, partners and products which is displayed in different ways in the systems. If the data are recorded manually, there are more inconsistencies: some data sets are entered several times, others cannot be retrieved by all divisions of the company.
    As corporate applications are becoming increasingly complex and produce ever greater amounts of data, the problem is intensified further. Nevertheless, your employees must work with the inconsistent data and make decisions on this basis. The lack of standardised master data easily leads to wrong decisions, which restrict efficiency and threaten customer satisfaction and profitability.
    In a word: in order to save costs and ensure your company’s success it is necessary to consolidate master data about customers, partners and products, make them available to all employees beyond system boundaries and use attributes valid company-wide for the purpose of description.
    TRANSACTION DATA=>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/193e4045796913e10000000a1550b0/content.htm
    regards,
    venkat

  • Any difference between Master data and User master data ?

    Any difference between Master data and User master data ?

    hi
    A user master record defines the authorizations assigned to a user. Based on these authorizations one can access the master data.
    Master data - it is the data which is used long term in SAP r/3 system such as vendor master , material master, customer master,
    there is no such thing like user master data to the best of my knowledge
    hope this helps
    regds
    Manan

  • Mapping between send port and host instance

    I am not able to retrieve send port names according to host instance names using C#.NET (WMI) from BizTalkMgmtDb. I had tried using BTSCatalog-Send Port class and MSBTS_SendPort but couldn't get the desired output. Can anyone help me out with the mapping between
    send port and host instance?
    Thanks in advance.

    Hi Pratibha,
    BtsCatalogExplorer's SendPort collection doesn't provide access to its corresponding SendHandler/host-Instance name. Only option is to relay on executing the SQL query against the BizTalkMgmtDb. So you can create a C# execute the query as show by la Cour.
    Following uses the BtsCatalogExplorer. but as said, there is no option to retrieve its corresponding SendHandler/host-Instance.
    private string GetSendPorts()
    // connect to the local BizTalk Management database
    Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer catalog = new Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer();
    catalog.ConnectionString = "Server=VMBTS2013R2DEV;Initial Catalog=BizTalkMgmtDb;Integrated Security=SSPI;";
    string sSendPortName = String.Empty;
    try
    // display all sendports and status
    foreach (Microsoft.BizTalk.ExplorerOM.SendPort sendport in catalog.SendPorts)
    sSendPortName += sendport.Name + ", ";
    MessageBox.Show(sSendPortName);
    catch (Exception e)
    catalog.DiscardChanges();
    throw e;
    return sSendPortName;
    Send-Port class doesn't have member to retrieve the send handler, but provides one to Set the send handler:
    http://msdn.microsoft.com/en-us/library/microsoft.biztalk.explorerom.sendport.aspx
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Difference between work area and internal tables.

    Hi  I wanna know the difference between work area and internal tables.
    what happend if i give with out header line in internal table.
    also how to assosiate work area to internal table in that scenario.

    Hi Balaji..
    The internal table is an ABAP runtime object which has two parts the Body and the header.
    Whereas a work area cannot have a body.. It is mere a field or group of fields which can hold values at runtime..
    In the SAP higher versions mySAP ERP, the use of tables with header line is made obsolete.. But there is absolutely no problem with the same..
    Just think that when you define an internal table with occurs or with header line statement, the system automatically creates a workarea with this table, using which you can access the contents in the bosy of tyhe table.. You can read a record from the table body to this header or add a record in the header to the internal table body..
    When you work with a table ITAB without a header line, you can not use statements like READ TABLE, APPEND, INSERT etc without giving an explicit work area..
    Suppose i have an internal table like:
    DATA : itab TYPE STANDARD TABLE OF t001.
    This table will not have a header with it.
    If you will use APPEND itab. The compilor will give error.
    Here i will create a work area with same structure of the table.
    DATA : e_wa TYPE t001.
    Now i will write:
    APPEND e_wa TO itab.
    READ TABLE itab INTO e_wa WITH KEY xxxxxx
    LOOP AT itab INTO e_wa...           etc..
    In a better approach we use Field symbols with such tables, instead of structures
    FIELD-SYMBOLS: <fs_itab> TYPE t001.
    So,
    LOOP AT itab ASSIGNING <fs_itab>
    READ TABLE itab ASSIGNING <fs_itab> etc.. However we can not use field symbols in few cases..
    I hope this will help you..
    Thanks and Best Regards,
    Vikas Bittera.
    **Points for usefull answers**

  • In reciever jdbc adapter config sending data to multiple tables

    Hi Masters,
          Can u help me with examples step by step procedure of sending data to multiple tables in reciever jdbc adapter .. configuration....
    thanks in advance,
    jp.

    Hi,
    My understanding is you are  trying to use one scenario for ex a file to jdbc and want to post data into multiple tables.
    If you are using Message Prortocol XML SQL format then once you define the data type for one structure then juz right click on the statement name and select Duplicate. This will create another statement in the same data type change the table name and the parameters in the duplicates strucutre.
    <b>Document Formats for the Receiver JDBC Adapter</b>
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    All the other configurations are same simple file to jdbc scenario.
    Cheers,
    *RAJ*

Maybe you are looking for