Can't fill in a date field in matrix and UDO

Hi
I have created 2 usertables (docuemnt and documentlines) and I created an UDO of it and create a user def form.
In the documentline table (data in the matrix), there are 2 date fields. I fill the dates in de dbdatasource of the matrix but in the database it remain a null value.
following code line seems not to work
oDBPIT_AUTSTOCK_DET_1.SetValue("U_DOCDATE", Row, docdate)
After this line:
oDBPIT_AUTSTOCK_DET_1.GetValue("U_DOCDATE", Row)
returns an empty string.
I did several tries: Let the docdate as DATE, or as string, even
sboBOB.Format_DateToString
seems not to work.
How can I solve this problem, Has anyone a clue?
Eddy

Hello
In order to learn how to fill UDO tables please refer to the following link:
<https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_sbo_sd/~form/handler>
Please note that the TableName.txt file should include all fields and not only (code, name and your user fields) as described in the document.
The fields should be separated with tab.
In the data lines you donu2019t need to put values in all the fields.
Please refer to the attached text file as a sample.
Best regards,
Miki

Similar Messages

  • ISE guest access - can't match on Optional Data fields

    Hi all
    I need to have 2 different types of guest users that will get different level of access with DACL / Airspace ACL
    I thought that best way to do that is simply matching one of optional data fields you can setup in Sponsor Portal
    Unfortunately as soon as I reference Optional Data field in Authorization rule I get no match. Can't also match on username which would not help anyway.
    getting redirected, login, getting redirected again etc.......
    This is affecting both wireless and wired.
    As soon as I remove that additonal condition from authz rule guest access works fine - getting redirected, log in, surf the internet.
    Is this is bug with ISE that you can't match guest optional data fields?

    Hi evnafets,
    You were right. How silly I am didnt see that small thing- but STILL PROBLEM IS UNSOLVED.
    [ore]
    java.sql.SQLException: [Microsoft][ODBC Microsoft
    Access Driver] Missing ), ], o
    r Item in query expression 'Post_Date LIKE
    to_date('04-06-2005',' dd/MM/yyyy''.
    Like it says, you have a missing ")" character
    rs=stmt.executeQuery("SELECT Name FROM
    NoticeBoardTable WHERE Post_Date LIKE to_date('"+
    date_str+"', 'dd/MM/yyyy' <--HERE NEED A CLOSING
    BRACKET ");
    When I did this it said to_date function is not available that because Ms-access doesn't have this function. Then I just changed the query to:-
    rs=stmt.executeQuery("SELECT Name FROM NoticeBoardTable WHERE Post_Date LIKE "+ date_sql ); . Although it didnt generate any exception, but dont show any record.
    But even better would be to use a prepared
    statement.
    String sql = "SELECT Name FROM NoticeBoardTable
    WHERE Post_Date LIKE  ?";
    PreparedStatement stmt = con.prepareStatement(sql);
    stmt.setDate(1, date_sql);
    ResultSet rs = stmt.executeQuery();
    I had prepared statement in my final servlet, I made this one just to check why its not working on dates. Also on your advice I changed it to prepared statement. It runs fine but didn't show any record with date 04-06-2005 although I have it in my database (not generating any exception).
    I print the sql date throuht servlet just to check , its showing 2005-06-04. May be its formate problem.
    Thanks
    Regards

  • How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table?

    Hi Team,
    Just wanted to know : How does the value filled in Appointment Date field reflect in IE_SHIPMENTSTATUS table in OTM.
    Please help.
    Regards,
    John

    Sorry, wrong forum: created in ABAP forum instead.

  • In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    yes.
    To hide rows (or columns), select the rows (or columns), then right click in the row (or column) tab to expose the contextual menu.  Select the menu item "Hide ..."

  • Filling out the date fields in the forms

    Hi,
    I'm trying to fill out a form (http://www.uscis.gov/files/form/i-134.pdf). The regular text fields are working fine, but I've problem with date fields in this document.
    When I set the value of any date field (e.g. see "Date submitted" in the middle-right of last page), Acrobat Reader assigns the same value to all other date fields - which is completely wrong. And if I delete any value it has assigned, it deletes the values of other date fields as well.
    Is it a bug in Reader, or something is wrong with the form? I've the latest Reader 8.1.2 + security patch, running on Windows.
    Regards,
    Michael.

    It is the design of the form. It isn't a bug of Adobe Reader or Adobe Acrobat.

  • Can Acrobat auto populate a date field upon digital signature of a form?

    We use several fillable forms with digital ID signature fields.  A business rule requires a date field next to the signature field.  Is it possible to define the date field to auto populate once the user signs the form?  I can't check this in Acrobat since I only have the reader.

    Hi,
    The short answer is yes, but of course you'll need to get Acrobat to edit the PDF file.
    Generically, here is what  you are looking to do:
    Open the Digital Signature Properties dialog
    Select the Signed tab
    Select the This script executes when the field is signed radio button
    Click the Edit button
    Add the code snippet below to the JavaScript editor
    Click the OK button on the JavaScript editor
    Click the Close button on the Digital Signature Properties dialog
    // JavaScript code to add the date at signing time
        var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year  //Modify into your preferred format
        var f = this.getField("Text1");  //Modify the field name as necessary
        f.value = signingTime;
    Good luck,
    Steve

  • Key Fields, Data Fields, Key Figures and Characteristis, Dimesions & Key Fi

    Hi All,
    Can any one please describe more about the below terms and with the Example....
    Like when we identify which one is Key filelds and Data fileds, how to distingush creating new dimesions (Is it based on user reporting) Key figures in Dimestions...
    DSO/ODS:  Key fields, Data Fields
    InfoCube: Dimensions, Key Figures
    Infoobjects: Key figures, Characteritics
    Regards,
    Prem

    Hi,
    Search through SDN for more information on these concepts,
    Re: ods data fields or key fields?
    Re: Key Fields and Data Fields in ODS
    defining Key -field and data fields
    Regards,
    Mani

  • Invoice Receipt date field in MIR7 and MIRo transcation

    HI Friends ,
    I need your expertise help.
    I could see that there is a field "Invoice Receipt Date( REINDAT)" in RBKP table .
    Does this field has any control function i.e. what is the importance of this field?
    In our system I could not see this field . What setting is required to make this field as visible .
    I tried for the screen variant setting in LIV spro setting but could not get any clue ?   
    Please help
    Thanks
    Deva

    Hi,
    Check OSS Note 609655 - MIRO: Missing invoice document headers.
    Per this note;
    Symptom
    You entered documents with the Transaction 'Add incoming invoice' (MIRO) or 'Park incoming invoice' (MIR7). During the posting, in rare cases it can occur that the header data (Entry in table RBKP) is not generated by the system. These must be generated subsequently.
    Reason and Prerequisites
    Database problems, SQL error.
    Solution
    Implement report Z_RECOVER_MM_HEADER mentioned below in your system. The repair is carried out only by SAP.
    Regards

  • How can I delete all the data in Mac pro and install the latest version of OSX Mavericks?

    Hi,
    I want to know why my mac become slow and so, I want to data and system and I want to install the latest version OS X Mcvericks. How can I do?
    Thanks

    Open the App Store app:
    And, choose Mavericks:
    Then download and run the installer. Tip: It would be a good idea to quit the installer before proceding with the install, so that you can copy it or move it to location outside of your Applications folder. That way the installer won't be deleted after you run it.
    If you don't have a backup of your current Lion partition, the only way that you can do a clean install is to erase that partition, thus losing all of your data.

  • Idoc- File scenario: Read a data field in IDOC and name the file with it

    Hi All,
    I am configuring an IDOC to File scenario.
    I have a requirement where I need to read one of the IDOC data field and use that as the name of the File.
    E.g: If the IDOC data field-1 = '123456', then I need to name the output file as '123456'.
    Is it possible to do this. Appreciate your help on same.
    Thanks
    Shirin

    Try this code..
    desired field from IDoc will be input parameter to UDF
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,a);  // a is input parameter
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Also, check Adapter specific message attributes in file adapter, check  filename

  • How can I embed Variant To Data in a subVI and pass in the Type input?

    If I use Create Control on the Type input of Variant To Data, I get an undefined type error unless I insert a control of a specific type into the cluster control that was created. This seems to prevent passing a parameter into a subVI for this purpose.

    > I'm interested in extending the functionality
    > of Variant to Data, such as using it or not based
    > on an additional input. Clearly, LabVIEW will not
    > allow this with the current design.
    I do not see what you mean by "using it or not based on an additional input". What would the output of this function be, if it were "not used"? What exactly are you trying to do?
    Personally, I have long wanted a polymorphic data type. If a polymorphic control were connected to a VI's connector pane, it would be defined by the calling VI. Once a calling VI wired a data-type to a polymorphic input of a subVI the type would propogate into the subVI.
    > As to the existing documentation on the type data
    > returned by Flatten to String, I find it
    rather
    > incomplete.
    With the release of LabVIEW 7, NI has updated App Note 154 to include some more data types (and subtypes). If you haven't seen this, I suggest you take a look.
    > I have created many types that cannot be decoded
    > using the available documentation. This alone,
    > makes an analytical solution difficult.
    Do you mean compound data types like clusters and arrays? Almost all data types can be decoded just fine with the available documentation. The only types that are not very straight-forward are the waveform data type, refnums, and typedefs. If you give me an example, perhaps I can help.
    > Adding
    > LabVIEW version dependency really makes this
    > solution fragile.
    I don't agree. LabVIEW may add new types in new versions of LabVIEW, but fundamentally the typecodes and structure of flattened LabVIEW data types have not changed at all (even though NI does reserve the right to change this in future releases of LabVIEW). Do have specific examples of t
    his?
    Cheers,
    -Jim

  • Date field positions vertically and overlaps other report items

    I have a date field on my reports and they are positioned on the right of the report canvas where they have enough cusion space. Somehow they[label and the date itself] are coming appearing on multiple lines..one below the other instead of appearing in a single line. My settings are:
    Vertical Alignment:Fixed
    Horizontal Alignment:Fixed
    Base Printing:Enclosing
    Keep with anchoring object:No
    The field displays whatever fits on 8 units on the grid and then moves the remaining data on next line. My reports are not character mode.

    I think I need to expound on my message.
    I am actually upgrading from Oracle reports 6i to oracle reports 9i. The date field prints successfully on one line in the margin for the oracle 6i reports. HOwever there is some wrapping for the oracle 9i reports. What i have noticed is that when I place the date field anywhere within the range 0 - 8 units on the paper layout grid in the margin, the date prints successfully. Otherwise it wraps. I have no such problem in Oracle 6i.

  • Month in date field on notes and Mail is garbled

    When i bring up notes, the month in the date field on the top right is garbled.
    It appears to have the correct number of characters for the month, but the characters
    are strange characters.
    How do I get the month to appear correctly?
    Thanks

    iCloud does not host/sync email from external providers such as Gmail, Yahoo, etc.  It only provides iCloud email.
    If your notes don't appear on icloud.com, open the Notes app, tap Accounts, then be sure you are creating the notes in the iCloud account.  Notes created in other accounts (On My iPhone, Gmail, etc.) will not sync with iCloud.  If you want to get these notes in iCloud, you'll have to copy/paste the text of each one into new notes created in the iCloud account.

  • Why can't I see my data which was entered and saved on a form when i try to reopen it? it always worked before until this spring 2014. The data is actually there when I click on a box but disappears when I go to the next box. I have a Mac.

    I am using a Mac and I have always filled out the same form (ocf-6 from ontario insurance companies, application for expenses)  It stopped letting me go back and open the previously saved forms which i filled out and I have saved monthly for the past 5 years. Now when I open a previously saved month /file I cannot see the data I inputed.  The data is there because when i highlight a box the data appears. then when i move onto the next field/box it disappears. I tried to highlight the whole document but nothing shows up. This problem started in the spring ,2014.

    Once you save that to a location on your system.
    Make sure Acrobat is Quit and then do this:
    1.  In the Finder go to the "Go" menu.
    2. Select Go to Folder
    3.  Paste this path into the "Go to the Folder:" field
    /Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro/Contents/Resources/JavaScripts/
    4. Copy the file into the JavaScripts folder.
    5. Launch Acrobat
    Now you should see the menu spoken of in the blog and web page.

  • Assign master data fields of assets and equipment

    i want to include vehicle licence number in field assignments between FI-Asset accounting and Plant Management.
    How do i implement the enhancement to that effect.
    path spro .... AssetAccounting->Master Data -> Automatic Creation of Equipment Master Records->Develop Enhancement ..
    Step by Step please...
    But any suggestion is welcome
    Urgent.
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 12:40 PM

    hi,
    below documentation from enhancement AIST0002
    1.  Create structure CI_ANLU in the ABAP Dictionary, and define the
         fields that you want to have in the asset master record in addition
         to the standard fields. The master record data of these fields will
         later be stored in the separate table ANLU.
    2.  Create include ZXAISU03 in function group XAIS. Enter program code
         there in order to transfer the asset master data to global
         variables. The asset master data referred to here is the data that
         is transferred using function module EXIT_SAPLAIST_002, and which
         you need later for checking the field contents of the fields that
         you have defined. At the least, you should transfer the values
         transferred in parameter I_ANLU to a global structure.
    3.  In function group XAIS, define one or more subscreens that you want
         to integrate into the maintenance interface of the asset master
         record. On these subscreens, you can either
    reward points if helpful
    best regards,darek

Maybe you are looking for