PEXR2002 IDOC Need to pass certain data

Hi Gurus,
I need to pass certain data in the field FIIKONTO in the segment E1IDB02 in the IDOC generation for payments. We are using PEXR2002 format and are on ECC 5.0.
Is there any standard way or need to use any user exit only?
Cheers,
MCA

Hi,
Try using user exit function module FM--EXIT_SAPLIEDP_902 (INCLUDE ZXF08U06).
Here you can call a particular segment name and can then pass on your data to the field of that segment.
Regards,
Gaurav

Similar Messages

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • Need help pass in date parameter into bat file.

    Is it possible to schedule sql job to execute bat files and pass in date below.
    I want to take a system date and pass into the bat file below.  A Schedule Job will run on Monday at 9 P.M.
    I want to automate this process instead manually enter into the bat file.  Is that possible?
    Any suggestions is appreciate.  SQL 2012
    Thank you so much in advance.
    SQL Schedule job
    DECLARE @sMonday VARCHAR(25) = REPLACE(CONVERT(VARCHAR(10), GETDATE(), 1), '/', '')
    SET @sMonday = @sMonday + '_qa48_Clonedb'
    SELECT @sMonday
    --021315_qa48_Clonedb
    DECLARE @sPrevMonday VARCHAR(25) = CAST(REPLACE(CONVERT(CHAR(10), DATEADD(DAY, - (DATEPART(dw, GETDATE() ) - 1), GETDATE() ),1), '/', '') AS CHAR(6))
    SET @sPrevMonday= @sPrevMonday + '_qa48_Clonedb'
    SELECT @sPrevMonday
    --020815_qa48_Clonedb
    Result want:
    -- Testbatfile.bat
    REM 021615_qa48_Clonedb
    SET sToday = @sMonday        
    SET sPreviousWeek = @sPrevMonday
    SET sNumOfDay=07
    DiskMirror -l snapsrvcfdba n4brec01a -i privkey.ppk "snap rename sql32oltp_repl_dataf sqlsnap__brpRMSDVS050a__recent %sToday% "
    DiskMirror -l snapsrvcfdba n4brec01a -i privkey.ppk "snap rename sql32oltp_repl_logf  sqlsnap__brpRMSDVS050a__recent %sToday% "
    DiskMirror -l snapsrvcfdba l9ABC01d -i privkey.ppk "snap rename sql100oltp_repl_dataf %sPreviousWeek% sqlsnap__ABCPWSCVR050a__%sNumOfDay% "

    See
    https://sharminjahan625.wordpress.com/2013/08/30/384/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Need to pull certain data from certain documents

    First off if you know of a more acceptable place to post this please let me know
    Ok here is my scenario, i receive these documents in excel files they have users first and last name, badge number, email, E.T.C. Now i want to extract just the badge number out of this excel document. So my first question is i want to do this with a java program so what do i want to research about to make a java program that searches one of these excel documents and assuming it is space dillimeted pulls just the badge number out?
    Then i have another document called NCAS, this document has every employee listed only unique thing here is badge number and username but i want to take the badge number out of the first document and use this badge number to search my NCAS document. This will bring up a line in the document with user badge number username phone , e.t.c. again this document is space dillemited. So i want it to pull a field out of this document which i believe is the first one copy it.
    Then for my third thing i want to transfer this copied username over to a esb (oracle product) which has a database adapter on it and use it to input this username and query through our oracle database that username after that im going to use esb database connector to assign users responsibilities. but thats another project im just trying to extract certain information from certain documents i will worry about insserting this into a database later
    I guess what i would ask is can someone direct me to something that explains how to pull entries out of a document or something to that nature maybe at the same time how can i implement my java program that is pulling data out of files and incorprate that with an esb project that involves database adapters
    Message was edited by:
    vande

    Hi Vande,
    Just a comment. You will often get that type of response to a question that Google answers well, especially if it's a recurring question that has been asked and answered lots of times. Have a look at http://www.catb.org/~esr/faqs/smart-questions.html for some pointers.
    If you had said,
    "I searched Google/this forum, found a few ideas, and am looking for feedback from anyone who has tried this and might be able to help me pick the best way"
    you would have likely got a response more in line with what you were looking for. Also note that searching this forum for "java excel" found lots of interesting hits.
    Best,
    John

  • Pass/retrieve data to PDF form using php

    Hi
    We are trying to build an application that goes like this. 
    Web based application.  Document template is uploaded.  User can open the template, fill in data, and save the form.  PHP , Mysql
    We are stuck at the stage where we need to pass some data via php into the form and then extract the filled in data from the form via php.
    Does anyone have a solution to this.
    Thanks
    Sam
    zhhealthcare

    Try googling "iText".
    iText is JAVA based, and is capable of creating and manipulating FDF data.
    For a Microsoft .net version, check out "iTextSharp", or "FDFToolkit.net"
    Hope this helps...

  • Problem in BADI crm_isa_basket_head to pass ct_extension data to ct_text

    Hi Experts/Gurus,
    I had a problem when i am passing the ct_extension data to ct_text. I need to pass the data of two new fields created in order jsp as extension data. For this i used the BADI method "changehead_before_order" and i had passed this extensoin data from ct_extension to ct_text which can be passed to crm_order_maintain before order. And when i try to get the data using the method gethead_get_data, in this iam calling CRM_ORDER_READ to get the values of IT_TEXT, the b2b webshop is giving an error and asking to logon again.
    The below is the code which i have written in both the methods:
    METHOD if_ex_crm_isa_basket_head~changehead_before_order.
      DATA : ls_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             wa_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             ls_extension   TYPE              crmt_isales_extension,
             wa_extension   TYPE              crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             ls_lines       TYPE              comt_text_lines_t,
             wa_lines       LIKE LINE OF      ls_lines,
             wa_text        LIKE LINE OF      ls_text,
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSM'.
      wa_text-ref_guid = wa_extension-ref_guid.
    *  wa_text-tdobject = 'CRM_ORDERH'.
    *  wa_text-tdname = wa_extension-ref_guid.
      wa_text-tdid     = '0001'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
      CLEAR wa_text.
      CLEAR wa_lines.
      CLEAR ls_lines.
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSI'.
      wa_text-ref_guid = wa_extension-ref_guid.
      wa_text-tdid     = '0002'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
    * ct_text = ls_text.
    * append ls_text to CT_TEXT.
    ENDMETHOD.
    to get the data :
    METHOD if_ex_crm_isa_basket_head~gethead_get_data.
      DATA : ls_extension TYPE crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             wa_text        type      CRMT_TEXT_COM,
             ls_lines       TYPE  comt_text_lines_t ,
             wa_lines       type      TLINE,
             ls_basket_head TYPE crmt_isales_baskethead_ui,
             lv_objectid    type CRMT_OBJECT_ID.
      lv_objectid = cs_basket_head-OBJECT_ID.
      if lv_objectid is not initial.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid = cs_basket_head-guid
        IMPORTING
          et_text        = ls_text.
      READ TABLE ls_text INTO wa_text WITH KEY tdid  = 'ZSM'.
    *Appending the discount value from the database.
      ls_extension-ref_guid = cs_basket_head-guid.
      ls_extension-name = 'ZEXTNSM'.
        ls_lines[] = wa_text-lines[].
      READ TABLE ls_lines INTO wa_lines INDEX 0.
      ls_extension-value = wa_lines-TDLINE.
      APPEND ls_extension TO ct_extension.
      CLEAR ls_extension.
    endif.
    ENDMETHOD.
    When i put the external break point and checked, in the webshop when i click the update button, in the method changehead_before_order, in the ct_extension table i am getting the values and keys which i have set in the java action. But when i click "order" button, i am not getting anything in ct_extension table which i cannot in turn pass this values to ct_text.
    Can you please help me in this regard??
    Thanks a lot in Advance!
    Regards,
    Lakshman.

    The header guid i am trying to pass to the crm_order_read is a mismatch.

  • Pass transaction data from an InfoProvider to the BPC within BW

    Hi Gurus,
    I need to pass transaction data from an InfoProvider to the BPC Real-Time InfoCube, but I need to do from BW, and not from the BPC Excel interface.
    The reason is that I want to make the whole process in one step, and at the beginning of the process the end-user has to introduce some parameters in the BW, as we are launching the process chain from a transaction.
    Therefor I copied the process chain /CPMB/LOAD_INFOPROVIDER and tried to introduce the different parameters that are normally delivered by the prompt in the excel interface.
    Can anybody help? Does anybody know what parameters for each process type have to be introduced, in what form and if all the process types are needed?
    Making it with a normal BW transformation is also not an option, as we don't want to change from plan mode and stop people from planning.
    It is very important for my end user to do everything in one step, without having to enter the BPC Excel interface.
    Thanks in advance.
    Cheers,
    Àlex

    Hi Frank,
    I have checked and we have many processes in SM50 available for the job to use. Sometimes there are no other jobs running in the BW System except for the 2 jobs but still the 2nd job waits for the first to finish.
    I did another check on transaction code SM58 in BW System. Here it shows all the transactional RFC queues that is being generated by the 2 jobs. I saw that only TRFC queues are able to execute at one time. I am not sure if this is the problem but is it possible to set the number of queues that can be executed at one time to more than 2? If yes, where can I find such a setting?
    This is quite urgent as this problem causes all my jobs to end very late.
    Thanks.
    Shunhui.

  • I need to pass data from an Access database to Teststand by using the built in Data step types(open data

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1i need to pass data from an Access database to Teststand by using the built in Data step types(open database /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1
    When I tried the same thing on another cmputer the same thing
    happend
    appreiciate u"r help

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1Hello Kitty -
    Certainly it is unusual that you can still see the tables available in your MS Access database but cannot see the columns? I am assuming you are configuring an Open Statement step and are trying to use the ring-control to select columns from your table?
    Can you tell me more about the changes you made to your file when you 'changed' it with MS Access? What version of Access are you using? What happens if you try and manually type in an 'Open Statement Dialog's SQL string such as...
    "SELECT UUT_RESULT.TEST_SOCKET_INDEX, UUT_RESULT.UUT_STATUS, UUT_RESULT.START_DATE_TIME FROM UUT_RESULT"
    Is it able to find the columns even if it can't display them? I am worried that maybe you are using a version of MS Access that is too new for the version of TestSt
    and you are running. Has anything else changed aside from the file you are editing?
    Regards,
    -Elaine R.
    National Instruments
    http://www.ni.com/ask

  • I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    Hi Abdul,
    Sorry for my unprecise answer, but you talk about a tcode, but you're using a BAPI Call. Maybe you want to call the transaction in batch mode?
    http://help.sap.com/saphelp_erp60_sp/helpdata/de/fa/09715a543b11d1898e0000e8322d00/content.htm
    Regards,
    Franz

  • I need to pass a query in form of string to DBMS_XMLQUERY.GETXML package...the parameters to the query are date and varchar ..please help me..

    I need to pass a query in form of string to DBMS_XMLQUERY.GETXML package...the parameters to the query are date and varchar ..please help me build the string .Below is the query and the out put. ( the string is building fine except the parameters are with out quotes)
    here is the procedure
    create or replace
    procedure temp(
        P_MTR_ID VARCHAR2,
        P_FROM_DATE    IN DATE ,
        P_THROUGH_DATE IN DATE ) AS
        L_XML CLOB;
        l_query VARCHAR2(2000);
    BEGIN
    l_query:=  'SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
          ||'mi''), ''00:'
          ||'00'',''24:'
          ||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
          ||'mi'')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = '
        ||P_MTR_ID||
       ' AND s_mtrch   = ''1''
        AND s_datetime BETWEEN TO_DATE('
        ||P_FROM_DATE||
        ',''DD-MON-YY'') AND (TO_DATE('
        ||P_THROUGH_DATE||
        ',''DD-MON-YY'') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = '
        ||P_MTR_ID||
        ' AND s_mtrch   = ''2''
        AND s_datetime BETWEEN TO_DATE('
        ||P_FROM_DATE||
        ',''DD-MON-YY'') AND (TO_DATE('
        ||P_THROUGH_DATE||
        ','' DD-MON-YY'') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)';
    SELECT DBMS_XMLQUERY.GETXML('L_QUERY') INTO L_XML   FROM DUAL;
    INSERT INTO NK VALUES (L_XML);
    DBMS_OUTPUT.PUT_LINE('L_QUERY IS :'||L_QUERY);
    END;
    OUTPUT parameters are in bold (the issue is they are coming without single quotes otherwise th equery is fine
    L_QUERY IS :SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),'9999999.000') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),'$9,999,999.00') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),'9999999.000') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,'mm/dd/yyyy') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,'hh24:mi'), '00:00','24:00', TO_CHAR(s_datetime+.000011574,'hh24:mi')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = N3165 AND s_mtrch   = '1'
        AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,'DD-MON-YY') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = N3165 AND s_mtrch   = '2'
        AND s_datetime BETWEEN TO_DATE(01-JAN-13,'DD-MON-YY') AND (TO_DATE(31-JAN-13,' DD-MON-YY') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)

    The correct way to handle this is to use bind variables.
    And use DBMS_XMLGEN instead of DBMS_XMLQUERY :
    create or replace procedure temp (
      p_mtr_id       in varchar2
    , p_from_date    in date
    , p_through_date in date
    is
      l_xml   CLOB;
      l_query VARCHAR2(2000);
      l_ctx   dbms_xmlgen.ctxHandle;
    begin
      l_query:=  'SELECT
        a.s_datetime DATETIME,
        a.downdate Ending_date,
        a.downtime Ending_time,
        TO_CHAR(ROUND(a.downusage,3),''9999999.000'') kWh_Usage,
        TO_CHAR(ROUND(a.downcost,2),''$9,999,999.00'') kWh_cost,
        TO_CHAR(ROUND(B.DOWNUSAGE,3),''9999999.000'') KVARH
      FROM
        (SELECT s_datetime + .000011574 s_datetime,
          TO_CHAR(S_DATETIME ,''mm/dd/yyyy'') DOWNDATE,
          DECODE(TO_CHAR(s_datetime+.000011574 ,''hh24:'
          ||'mi''), ''00:'
          ||'00'',''24:'
          ||'00'', TO_CHAR(s_datetime+.000011574,''hh24:'
          ||'mi'')) downtime,
          s_usage downusage,
          s_cost downcost
        FROM summary_qtrhour
        WHERE s_mtrid = :P_MTR_ID
        AND s_mtrch   = ''1''
        AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
                           AND (TO_DATE(:P_THROUGH_DATE,''DD-MON-YY'') + 1)
        ) a,
        (SELECT s_datetime + .000011574 s_datetime,
          s_usage downusage
        FROM summary_qtrhour
        WHERE s_mtrid = :P_MTR_ID
        AND s_mtrch   = ''2''
        AND s_datetime BETWEEN TO_DATE(:P_FROM_DATE,''DD-MON-YY'')
                           AND (TO_DATE(:P_THROUGH_DATE,'' DD-MON-YY'') + 1)
        ) B
      where a.S_DATETIME = B.S_DATETIME(+)';
      l_ctx := dbms_xmlgen.newContext(l_query);
      dbms_xmlgen.setBindValue(l_ctx, 'P_MTR_ID', p_mtr_id);
      dbms_xmlgen.setBindValue(l_ctx, 'P_FROM_DATE', to_char(p_from_date, 'DD-MON-YY'));
      dbms_xmlgen.setBindValue(l_ctx, 'P_THROUGH_DATE', to_char(p_through_date, 'DD-MON-YY'));
      l_xml := dbms_xmlgen.getXML(l_ctx);
      dbms_xmlgen.closeContext(l_ctx);
      insert into nk values (l_xml);
    end;

  • I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query parameter to report parameter i need to pass distinct values. How can i resolve this

    I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
    parameter to report parameter i need to pass distinct values. How can i resolve this

    Hi nancharaiah,
    If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
    None
    Specify values
    Get values from a query
    If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
    sample is for your reference:
    Select distinct field_name  from table_name
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • "Help Needed" passing ResultSet data to JList having JCheckBox  !!!

    hi every body I am facing this problem since two days I tried but could't get correctly,I am new to java and I need to pass the result set data from the database to a JList having JCheckBox
    I tried but could't get it
    please do help me out, please
    need some sample code for passing resultset data to JList having JCheckBox anybody please help me out
    thanking you,
    with regards

    hello
    try this to pass the recordset to the jlist
    String strlist[];// string array to store the resultsvalues
    JList tempList;//list
    protected void getList()
         Connection conn = null;
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              // Get Connections
              conn = DriverManager.getConnection ("jdbc:odbc:tablename", "", "");
    resultSet = ----------
    strlist= new String[delSecCnt];
         int i = 0;
         while (resultSet.next())
         // Get the table name
         tempList[i] = resultSet.getString(3);
              i++;
         resultSet.close();
         conn.close();
         catch (Exception e)
              tempList = new JList();
              for(int i=0;i < strList.length; i++)
              tempList.add(strList,i);
    //or if you want to use directly the values of recordset
    tempList.add(recordSet[3]);
    in this code i am using a string to store the results values and then passing it to the list.

  • I need to pass data  from DataForwardAction to EntityImpl

    i need to pass one piece of information from ExtendedDataForwardAction.java to ExtendedEntityImpl.java
    my current approach is to use an application module as middle man...
    i have declared
    public String message;in the ExtendedApplicationModuleImpl
    and in ExtendedDataForwardAction ive set:
    AppModule.message = "blabla";and retrive message in ExtendedEntityImpl as
    ExtendedApplicationModuleImpl AppModule = (ExtendedApplicationModuleImpl)getDBTransaction().getRootApplicationModule();
    AppModule.messageis this good approach?

    Hi,
    The idea is to access entity from the struts action through the session.
    Let's suppose we've got an entity MyEntity whose implementation class is MyEntityImpl. In that class we add a sigle field and a mutator for it:
    public class MyEntityImpl extends EntityImpl
    private String value = null;
    public void setValue(String value)
    this.value = value;
    Let's suppose that the entity has a view related called MyView, whose row implementation class is MyViewRowImpl. Here, we also create a setValue method that invokes the entity's one:
    public void setValue (String value)
    this.getMyEntity().setValue(value);
    Now, we publish this method and so that it becomes available to use. Then, we can access it from DataActions:
    public class MyAction extends DataAction
    protected void findForward(DataActionContext actionContext) throws Exception
    HttpBindingContext hbc = (HttpBindingContext)actionContext.getHttpServletRequest().getSession().getAttribute(BindingContext.CONTEXT_ID);
    DCBindingContainer bndCnt = hbc.findBindingContainer ("myPageUIModel");
    DCIteratorBinding it = bndCnt.findIteratorBinding("MyView1Iterator");
    Row r = it.getCurrentRow();
    MyViewRow row = (MyViewRow)r;
    row.setValor("Hello my friend");
    super.findForward(actionContext);
    I hope this help you.
    Luis Serrano.

  • Linking to a different document after a certain date

    I hope there is a way to do this.
    I have a PDF that I have added to a web page. It is a registration form to be filled out and sent in. The prices on the form reflects both early bird (until April 29) and regular prices.
    I have created a second registration form (not yet loaded) which only reflects the regular prices for use after the early bird date has passed. After the early bird time has lapsed, I was going to load the new PDF and change the link so that the second registration form is linked.
    I don't want to have them both available at the same time - less chance of someone coming back later and saying I didn't see the form with the early bird pricing.
    Is there a way I could set them both up on my site so that the first form is linked to until the end of April 29, and on April 30 the link will automatically bring people to the second form?
    THANKS
    deb

    The effort to do this by creating a dynamic page is just not worth it.
    Anyone saying it's too much effort is either lazy or they simply don't know how to build dynamic pages in a simple manner. Furthermore, it's not just about you and your issue; it's about anyone that maybe looking for a solution to the question you have asked: how to display a link based on if a date has passed or not. Not an alternative suggestion, a solution.
    It's very easy to create a dynamic link based off date. Of course bregent mentioned that it's not difficult, but there wasn't any mention of how easy it was (nor examples for that matter). Just lots of talk about whether it was worth it or not and an alternate, cumbersome suggestion. Bummer. Here's an example of the dynamic method with included explanation. You can decide whether it's worth the effort or not. I estimate it's less than 5 mins. of work, even for a beginner. Plus you might learn a thing or two about dynamic scripting in the process, which is exciting.
    Change the filename of register.html to register.php then use the following code to display link depending on date.
    <?php if (date("Y-m-d") < "2011-03-15") { ?>
    today is before March 15, 2011 put link to early bird pdf here.
    <?php } else { ?>
    today is on or after March 15, 2011 put link to regular rate pdf here.
    <?php } ?>
    You can use 301 redirect with .htaccess on apache server to redirect register.html to register.php if there's many links already established for register.html
    You'd need two different pdf files to accomplish your task: ealry_bird.pdf to use before your set date and regular_rate.pdf to use for after your set date.
    Then setup a function to remove the early_bird.pdf file from the server after a certain date. It's as easy as defining the variable and applying the function to the area that is congruent with the argument presented. In this case the argument is whether the date has passed or not. If it has then define the variable as the filename then apply the function that deletes the variable (filename) from the server as shown in the example below:
    <?php if (date("Y-m-d") < "2011-03-15") { ?>
    today is before March 15, 2011 <a href="/images/early_bird.pdf">link to early bird pdf here</a>.
    <?php } else {
    // declare variable for the early bird pdf file
    $pdffile = "/images/early_bird.pdf";
    // remove the early bird pdf file from the server
    // by using unlink function on the set variable
    unlink($pdffile); ?>
    today is on or after March 15, 2011 <a href="/images/regular_rate.pdf">link to regular rate pdf here</a>.
    <?php } ?>

  • How to Pass Multiple data records into SDATA for a segment

    Hi Friends,
    I need to Pass data records to Function Module
    MASTER_IDOC_DISTRIBUTE for Creating Outbound IDOCs
    I am Collecting all the Data Records and Passing into the Structure EDIDC.
    Here my problem is
    For one Route there are Multiple Customer records.
    so my First Parent Segment is ZROUTE
    i am passing the Datarecord for this Segment.
    and for the Customer Segment , I have 5 Customers,
    so i am passing the 5 Data records to SDATA .
    Loop at gt_route into gw_route.
    Pass the Route data into the Data record SDATA
      gw_idocdata-sdata    = gw_route_header.
      gw_idocdata-segnam = lc_route_header.
      gw_idocdata-hlevel = lc_4.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_route_header, gw_idocdata.
    Loop at gt_customer into gw_customer
                                   where anlage  = gw_route-anlage.
    Pass the Customer data into the Data record SDATA
      gw_idocdata-sdata  = gw_customer.
      gw_idocdata-segnam = lc_customer.
      gw_idocdata-hlevel = lc_5.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_customer, gw_idocdata.
    ENDLOOP
    ENDLOOP.
    So this customer segment is comming 5 times in my IDOC
    Can any one suggest me whether i am going in correct way or not.
    I am Getting the IDOC status 26.
    Error during syntax check of IDoc (outbound)
    I think it is because the IDOC is not yet SET RELEASE.
    But i am having the Dought in Passing the data to SDATA fied
    of the EDIDC Structure.
    Can any one Suggest me.
    Thanks in Advance,
    Ganesh

    Hi,
    First of all EDIDC is the control record, EDID4 is the data record. When collecting customer record into idoc_data you need to insert customer's parent segment number.
    Eg.
    route1, segnum 1.
       child 1, segnum 2 and parent segnum = 1
       child 2, segnum 3 and parent segnum = 1
       child 3, segnum 4 and parent segnum = 1
    route 2, segnum 5
       child 1, segnum 6 and parent segnum = 5
       child 2, segnum 7 and parent segnum = 5
       child 3, segnum 8 and parent segnum = 5
    Cheers.
    ...Reward if useful.

Maybe you are looking for

  • Crash when I connect my LCD TV

    Hi, I'm using a VGA adapter to connect my MacBook to a Thomson LCD TV. Sometimes when I plugin the cable in my laptop the system freezes and I have to manually reboot it. I'm using Mac Os X 10.5.7 (but I had the same problem with other releases) and

  • 0orgunit report some value in kf is 0 some null.

    Hi there, In my report, that is 0orgunit and kf (number of employee) relative to the year, In some orgunit it has value, some has value 0, and some has no value. Whats the different between 0 and no value? Why in some lines there are zeros and in som

  • SAP Certification from Pune.

    Hi Experts, I've SAP domain experience of about 6 years in MM module and wish to enroll for SAP Certification course. Can I know which of these institutes (Genovate or Delphi Computech) from Pune - India are best from both training as well as placeme

  • How can I get ATV2 to connect to my EVO's WiFi Tether?

    The ATV2 has no problems finding normal WiFi connections, but when I tried to hook it up to my HTC EVO's WiFi, it couldnt even find it. Is there a way around this? My phone's download speeds are faster than my home network's so I'd like to try it out

  • How do spaces work - assign applications to a space

    I have read through a number of documents. I have assigned a number of apps to Space 2. If I open them when I am space 1, I thought they would open automatically in space 2. Am I being stupid or missing the point about how how app assignment is suppo