Skip to Content
avatar image
Former Member

Regarding Date functionality in Mapping

Hi Experts,

I have a couple of requirements using the Date functionality in the mapping.

1. I need to retrieve system time SY-UZEIT and add it to system date SY-UZEIT.

2. Also, I need to retrieve system date and time and the resultant is SY-DATUM/SY-UZEIT.

How, to proceed on these.

Please let me know.

Regards,

Aniruddha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 05, 2011 at 12:02 PM

    Yes Thanks a lot everyone for system date I am able to use Current date format from Graphical functions, but for SY-UZEIT I think we dont have any.

    My exact req. is to concate the system date and time in the recievre field only. These are not coming from sender it has to be feed in the receiver field only.

    Regards,

    Aniruddha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Current date function in GUI mapping has time information too.

      Check the properties of Current Date function.

  • avatar image
    Former Member
    Jan 05, 2011 at 11:46 AM

    Hi Aniruddha,

    1. I need to retrieve system time SY-UZEIT and add it to system date SY-UZEIT.

    With this do you mean to say that you need to concatenate the system date and time. If so then there is a Text function in Message mapping called CONCAT.

    2. Also, I need to retrieve system date and time and the resultant is SY-DATUM/SY-UZEIT.

    I am not clear what you want in this. Please elaborate.

    Also it would be good if you can share the actual scenario, your sender and reciever system and your requirement in detail.

    Regards,

    Rahul Grover

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2011 at 12:08 PM

    You can use CurrentDate Function :

    Double click on it . Use dd/MM/yyyy HH:mm:ss as target format ..

    Cheers . Hope this will solve problem.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2011 at 11:48 AM

    Hi

    SAP XI has its own Date function in Graphical functions

    Note : These function will return Data and time according to XI Server .

    Now Please explain , what is your exact requirement.

    Regards

    Prabhat Sharma.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2011 at 12:13 PM

    Hi Rahul,

    Thanks a lot I did not check the properties before and I will also use concat function for the concatenated value of Date and Time.

    Regards,

    Aniruddha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2011 at 12:18 PM

    Hi,

    For concatenating the SY-DATUM and SY-UZEIT we have to use the current date function from SAP XI. But, if w euse concat function then it will want two arguments to be sent??

    Regards,

    Aniruddha

    Add comment
    10|10000 characters needed characters exceeded