cancel
Showing results for 
Search instead for 
Did you mean: 

Hi gurus, plz help me to write time format for EDI-IDOC MAPPING,

Former Member
0 Kudos

when data found in ST01 ,based on this mapping condtion have to map with format (hhmm or hhmmss), in IDOC for this field(EDIDC40-CRETIM).

PLZ HELP ME BY GIVING ANS HOW TO MAP THIS IDOC.

.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You need check "Exists" for ST01.

If it is true,use DateTrans function to translate this.

Regards,

Akshay Jamgaonkar.

    • Reward points if find useful.

Former Member
0 Kudos

Hi,

>>when data found in ST01 ,based on this mapping condtion have to map with format (hhmm or hhmmss), in IDOC for this field(EDIDC40-CRETIM).

If I understood ur requirement correctly, the solution goes as follows:

Based on the source field existing you have to transform the date format, right!

I guess your source field is also a date field. Check the condition whether the field exist or not. If exist, use the date transform function (hhmm or hhmmss).

Hope, you got an idea, if not, lemme know...

Regards

Former Member
0 Kudos

Hi Rohit.

is it that you are getting the data in STO1 in the format of yyyyMMddThhmmss?

I mean, are you getting time along with date and you need to fetch only the time value from the input?

if that is the case, you can do it using the substring option in the graphical message mapping. else, you can use a user-defined function.