on 05-06-2007 1:31 PM
Hi experts,
I have a BAPI that saves a time-value. Thus in Visual Composer my data service has an input field of type E TIME. I add a clock, displying the actual day time TNOW(). I want to save this value.
However, when I execute the model, it delivers the date i.e. 06.05.2007 to the BAPI.
Any idea, how I can save a time value? The field in my BAPI is of type TIMS 6?
Best Regards, Benni
Hi Benni,
I can recommend you a workaround. Create an ABAP RFC which calls your BAPI then use the ABAP time (I think this must sy-uzeit, sy-date; you can have a look with transaction SE11 for the structure syst). So you have nothing to do in VC.
Best Regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
thank you for your answer. The problem is: I have to save different times, not necessarily the actual time. I just did that for testing purpose. The only workaround I know so far, is to change the structure of my BAPI. Instead of TIMS, take a CHAR field and perform a type cast within the BAPI. I just wanted to avoid that.
How is it possible, that in Visual Composer there exists a type TIME, that is handled as date when it comes to save it? I wonder if anybody tested that.
Best Regards, Benni
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.