Assign constant time to field in DM

Hi SDNers,
The requirement is to do syndication via workflow at 7 pm GMT everyday.
Declared a field "Syn_Time" of type GM Time.
I need to assign a constant time,  19:00:00  to "Syn_Time" field via a assignment in the workflow.
Start -> Assignment -> Wait -> Syndicate-> Stop
The "Syn_Time" field is assigned to the "Wait" , so that the workflow goes to the Syndicate step only at the scheduled time.
I have tried assigning by using SYSTIME property, but this does not help in assigning the constant time. Since any calculation that is done using it will give different times based on the current time.
Any suggestions/workarounds.
Thanks,
Priti

Hi Priti,
I got your requirement, you want to change only TIME and Date as current date , right?
Please use this below assignment Expression for the above requirement:
LEFT(SYSTIME(0),11)&19:00:00
On executing above expression, you will get result as 28/05/2010 19:00:00, it is working fine at my end.
Kindly revert with result.
Regards,
Mandeep Saini
Edited by: Mandeep Singh Saini on May 28, 2010 2:54 PM

Similar Messages

  • Error while assigning constant to infoobject in open hub transformation

    While assigning constants(in rule details) to infoobject in a transformation in a open hub I am getting an error "The Object Name is not allowed to be empty"
    Can anyone tell my why this is happening? What should I do now?

    Hi,
    In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
    Regards,
    Vaibhav

  • Message No F5808 Field Assign. is a required field for G/L Account.

    Hi Guys,
    I have a problem when releasing a cancel credit memo billing document.
    It shows the following error message:
    Field Assign. is a required field for G/L Account.
    Message No. F5808
    Diagnosis,
    The value field "Assign." in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L Account XXXX in company code XXXX linked to the field selection for posting key "50".
    System Response
    Error
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Assign.". If this is the case, contact the consultant responsible for the application.

    Hi,
    The Assignment Number BSEG-ZUONR (I suppose "Assign." means it here.) field status for posting key and GL is optional and mandatory.
    I think the GL Account SORT KEY in FS00 is the assignment selection for Billing to FI doc. Say if the SORT KEY is Posting Date, the assignment from Billing to FI Doc would be the date of posting.
    But if the SORT KEY is blank ( This is case for my G/L account), the system will select the assignment written in Billing document header (VBRK-ZUONR).
    I checked other billing documents, which are not in the same billing type as the one with error, and found it follow the above logic.
    So how come this time it shows the above error? Really confused.
    Emma
    Edited by: qun yang on Sep 22, 2011 9:12 AM

  • Assigning a time to a date item results always in 00:00 (Forms 6i)

    Hi,
    in Forms 6i I have a date item (called time) with the format mask hh24:mi.
    If I enter at runtime a time in that field (eg. 08:00) everything is fine.
    But if I assign the time to that item programmatically with
    :block.time := to_date('08:00','HH24:MI');
    or with
    :block.time := to_date('01.01.2002 08:00','DD.MM.YYYY HH24:MI');
    the displayed time is always "00:00".
    Any hints on this?
    Thanks in adcance,
    Marco.

    Hello,
    Are you sure the item type is DATETIME ?
    Francois

  • To determine shift timing based on a time stamp field

    Hi all,
    I have an issue with a determing shift timings.
    I have a  time stamp field QALS-ENTSTEZEIT which has a value like 17:22:29.
    Now based on this I have to determine the shifts.
    There will be 3 shifts.
    shift 1 between 08:00:00 to 16:00:00
    shift 2 between 16:00:00 to 00:00:00
    shift 3 between 00:00:00 to 08:00:00.
    Now the issue is :this statement,
                             QALS-ENTSTEZEIT BETWEEN '00:00:01' AND '08:00:00'.
                             do not triggered.
    Please suggest some solution.
    Thanks and Regards
    Nazmul

    Hi,
    Try the below code, it may solve your problem.
    Data : V_TIME type QALS-ENTSTEZEIT, shift.
    Ranges : R_T1 for QALS-ENTSTEZEIT , R_T2 for QALS-ENTSTEZEIT, R_T3 for QALS-ENTSTEZEIT.
    R_T1-SIGN = 'I'.
    R_T1-option = 'BT'.
    R_T1-LOW = '080000'.
    R_T1-HIGH = '160000'.
    APPEND R_T1.
    R_T2-SIGN = 'I'.
    R_T2-option = 'BT'.
    R_T2-LOW = '160000'.
    R_T2-HIGH = '235959'. " Change like this, its not much difference from 000001 but seems to be working
    APPEND R_T2.
    R_T3-SIGN = 'I'.
    R_T3-option = 'BT'.
    R_T3-LOW = '000001'.
    R_T3-HIGH = '080000'.
    APPEND R_T3.
    V_TIME = '172259'. " u can assign QALS-ENTSTEZEIT directly to v_time
    *CONCATENATE V_TIME+0(2) ':' V_TIME+2(2) ':' V_TIME+4(2) INTO V_TIME. "no need for this
    IF V_TIME IN R_T1.
    SHIFT = '1'.
    ELSEIF V_TIME IN R_T2 .
    SHIFT = '2'.
    ELSEIF V_TIME IN R_T3.
    SHIFT = '3'.
    ENDIF.
    Check and revert back.
    Regards
    Karthik D

  • Hierarchy area - time dependent field

    Hi,
    Is it possible to make a hierarchy area a time independent field? I would like to create Cost Centers for sales representatives. Groups of CC would be Regions. Sales representatives often change their regions, so there should be a possibility to change their assignment to groups. I would like to analyze the cost without loosing the information about their hierarchy areas they were assigned to in the past. Can it be done?
    Best wishes,
    karol

    Hi carol,
    The another way of doing is u create  Statistical internal order for each employee and when ever he change the region u create one cost center and assign this cost center to this internal order so u can track the expenses on each employee.
    internal order can cut across cost center so u can assign more cost centers to one internal order.
    Thx
    Ysr

  • How to dynamically assign type to a field-symbol?

    Hi,
    I have two fields in one table, one for field name and one for table name.  These can be fields in different
    tables. I need to fetch value of this field in that table. So the type of this variable can change dynamically.
    I am trying to assign type of this field dynamically to a field-symbol. I have to use this field symbol in a
    select statement.  Currently it is showing a dumb, as the field type is dec7.  For some other types it is
    working fine.
    Regards,
    Sunil

    Hi all,
    I have the same problem.
    I tried with your helps but i can't fix them.
    A message is raised "Field <fs_bet> unknown" when i used code below
    FIELD-SYMBOLS: <fs_bet> TYPE any.
    DATA: c_bet TYPE string.
    DATA it_0008 type STANDARD TABLE OF pa0008 WITH HEADER LINE.
    DO 40 TIMES.
      CONCATENATE 'BET0' index into c_bet.
      ASSIGN (c_bet) to <fs_bet> CASTING TYPE pad_amt7s  .
      select * from pa0008 into it_0008
         where <fs_bet> = '1000'
         and pernr = 32.
         append it_0008.
      ENDSELECT.
    ENDDO.
    Please help me to solve it.
    Thanks so much,
    Sophie Tran

  • How to Convert a 'Time Stamp' field to Date......?

    Hello Gurus:
    I am using a Generic Extractor to pull some stats data.  One of the field is a Time Stamp field, which tells me the date and time of Transaction run.  I only need "Date".  I tried mapping the stamp field to Date info-object hoping for a automatic determination of the Date.... (like the Week, Month happens).   Well, I was wrong! 
    I only need the Date part.  How can I do this in BI?  is teher a specific SAP info-object for this that could be used..?  If not, what would be the routine.  The Date field that comes in is a SAP format... "u201C20,070,505.0000000u201D meaning the Transaction was run
    on 05/05/2007.  How can I get this convertion in BI transaformation??  is there a special Routine...?
    Also, we are trying to use "Time Stamp" based DELTA from a generic extraction.  The field used is a System date with time stamp.  Value looks like u201C20100,505,170,113.2918470u201D, u201C20100,505,170,113.4748820u201D  Every record pulled has a different value... probably giving me the time at which the record was created or generated.  Now, with DELTA specifid on this type of field, what will be the 'Current Status" value in Delta queue?  Is it based on the last record created and will that be the highest value?  For next Delta extraction, does it compare the extraction time stamp to this value and bring in those records that are greater than the 'Current Status" value?  I guess with that we can have as many deltas as we want..... right??  is there any particular setting I should be doing or worried/ careful about setting etc....?
    Thanks for the response in advance....
    Best..... SMaa

    Thanks Akshay,
    Your suggestion worked right away and was probably the easiest of all.  I tried the Function Module that Pravender suggested,
    but it did not return me the date back.... may be because it does not need the Micro Seconds in it....?  Routine as suggested by
    Satyam might work too, but did not go there....! 
    Thanks to all of you.
    Best..... SMaa

  • Problem in assigning date valje to field

    Hi,
    I have  a problem in assignning date value to field.
    i am retriving date from a table and assigning it to a field which is date type in the form.. but it is not reflecting..
    Error: form Bad Value..
    how to assign the date values in the form..
    Mahi

    Hi mahendra,
    I think the Bad Value Error Occurs only if the databound datasource in the form must have different data type...
    oForm.DataSources.UserDataSources.Add("eDate", SAPbouiCOM.BoDataType.dt_DATE, 10);
      SAPbouiCOM.EditText oEdit;
      oEdit = oForm.Items.Item("1").Specific;
      oEdit.DataBind.SetBound(true, "", eDate);
    with Regards,
    MadhuSudhana Rao.G

  • How do store a time type field in a database table?

    We added a UDF of time type.  SQL Server says its a small integer.  After I pull the time off a date, I convert it to an integer.  For example, I convert 6:00 AM to 600.  When I try to store 600 in the field, I get a type mismatch exception.  What am I doing wrong?

    Adele,
    Thanks a bunch!
    Your code was syntactically incorrect but it moved me in the right direction.  Here is the code I ended up with:
    DateString = DateIn.ToString("yyyyMMdd HHmm")
    Time = Date.ParseExact(DateString, "yyyyMMdd HHmm", system.Globalization.DateTimeFormatInfo.InvariantInfo)
    Then update the Time field with the Time variable.
    This does the trick.  It looks like it is only necessary to save a date data type in a time type field and only the time piece of it is saved.
    Thanks again,
    Mike

  • SQ01 with Time Stamp Fields

    Hi,
    If I have Time Stamp Fields in my Query, is it possible to format these fields into having just the date (both in the selection screen as well as in the output list)?
    Rgds,
    /Fredrik.

    1) create a help-field
    2) use command
    CONVERT TIME STAMP tst TIME ZONE tz INTO DATE d TIME t.
    in infoset - coding
    A.

  • Import screen field value into search help assigned to a different field

    Hi,
    I have created an elementary search help based on a custom DDIC table ZSH_SHHLDR. Dialog Type: Dialog depends on set of values, search help parameters:
    Parameter                       Import     Export   LPos SPos  SDis
    FOLIO                                X                       1       1         X
    CERTN                                             X         2       2
    where FOLIO and CERTN are fields in my table.
    There are two fields in my program defined as like FOLIO and CERTN respectively. These fields are screen fields in a custom dynpro created using Screen Painter. The search help is assigned to the CERTN field. In the screen, I want that the contents of the FOLIO field should be imported into the search help, i.e. on the screen:
    FOLIO: 21353
    CERTN: <F4>
    When I click on F4 help for CERTN, I want that the FOLIO parameter in the search help should contain the value for FOLIO that I entered in the text box on the screen. Is there a way to do this, through an exit for instance? Help is appreciated, thanks.
    Regards

    Hi,
    You need to use the below statement.
    process on value-request.
    field zcom_doa_users-zzjob_role module sub_tes_module.
    Here I declared three fields in the screen fields from structure zcom_doa_users. Try to name the fields with table name-field name. So inside the module in structure zcom_doa_users you will get given value for the other fields also.
    Now you can do your own processing for f4 help.
    Thanks
    Subhankar

  • Assigning External content type field column value using Client Object Model

    I have a problem assinging External column value to ListItem object with client object model-based application I'm developing. To be precise, I am able to retrieve data related to external content type by reading external list created from this content type
    but I don't know how to properly use it to assign value to this field. By doing some research on my own I concluded that BDC ID column from external list is the way to go since it uniquely defines selected row from external list but that doesn't
    tell me much since I don't know what to do with it. Currently I ended up with partial solution - to assign plain string value of picker column but that makes this value visible only in "View Properties" option on Sharepoint and not in "Edit Properties"
    which pritty much makes sence since it isn't properly related to rest of the data in specific row. Does someone have a better solution for this?
    Igor S.

    I think I understand your problem.
    In my example I have an external data column "Beneficiary Name", using a Beneficiary external content type (accessing a table of beneficiaries in a SQL table).
    I want to set the "Beneficiary Name" property using the client object model. I know the name of the beneficiary but not the ID value.
    It is a fairly simple solution. You just need to identify the name of the property SharePoint assigns to the ID field, in my case it is called "Beneficiary_ID". Then set the two properties as follows:
    thisItem["Beneficiary_Name"] = "Charitable Trust";
    thisItem["Beneficiary_ID"] = -1;
    thisItem.Update();
    Setting the ID property to -1 causes the server to do an automatic lookup for the ID from the value assigned to the item.

  • Define Time-Based Fields for Cost Centers

    Dear All!
    I would like to know , how I'm abale to cahnge the setting
    of business area for Time-Based Field of Cost Centers to period
    Transaction is OKEG
    Would be thankful

    You can maintain master data for cost centers, cost elements, activity
    types, and business processes with time dependencies. You can make
    changes at any time for any given time interval. Data storage also takes
    place with a time reference. In this way, a master data record can have
    multiple database records storing different information.
    The smallest interval is one day. To ensure data consistency, you
    cannotchange each field daily. The timeframes in which you can change a
    field depend on the field functions, which are fixed by the SAP R/3
    System and cannot be changed. Master data maintenance includes an
    automatic check for each field's time-based consistency, resulting in
    individual time-based maintenance for each field.
    Regards
    Prabhu

  • Value to be assigned to a parameter field (web report parameter form)

    In a Oracle 10g report In parameter form we have DESTYPE and DESNAME. In database we have PRINTERNAME. we are using run_product to open the report. Now we are in the url
    http://192.168.178.29:7779/reports/rwservlet/getjobid2214?server=rep_inexpas02_OracleFRSR2
    Parameter form:
    When we change the value of DESTYPE to Printer I want assign printername in DESNAME field. Other wise DESNAME should be blank. Is there any trigger like when change field of DESTYPE in parameter form (web) assign some value to DESNAME. (AFTER PARAMETER FORM AND BEFORE REPORT ARE NOT SOLVING THE PURPOSE)

    Is it correct taht you use forms to invoke the report? If so, a possible solution is to "create" your own parameter-form in forms itself, where you can do such validations and logic as you need. Then run the report without parameter-form.

Maybe you are looking for

  • Got what it takes to get me going?

    Hi... As a newbie I need some help. I've been fighting with Borland Foundation 2005 to compile 2 samples from sun namely SerialDemo and JavaSoundDemo. I appear to get a blast of errors from the compiler. I can run the bytecode that is supplied and th

  • Importance of quality box in sap landscape.

    Hi All, Can anyone explain about why generally all the companies using the QUALITY BOX in the SAP LANDSCAPE, Anyway we are already testing with the DEVELOPMENT BOX, so we can transfer directly from DEV to PRD na.....Why the need of QTY there. This qu

  • Can a keyboard shortcut template for CS4 be used with LightRoom?

    Hi, I was just wondering how far off a KB covers keyboard cover/shortcut template made for PhotoShop would be when used with LR2?

  • Cisco Prime LMS / how to create MyDashboard

    Hi everybody, i want to create my own Dashboard. But when i do this i have no choise in the dropdown menu to do this. ('copy dashboard' is empty) When i click the created dashboard, the site is empty. Do anyone know how to integrate a portlet to my o

  • PDFSaveOptions - can't control file size

    I am trying to automate the saving of all my layers as PDFs.  Yet, I am getting different results when I try to automate the saving process.  For example, I can save a file manually using "SaveAs..." in the menu, then setting my options using the tab