cancel
Showing results for 
Search instead for 
Did you mean: 

DeliveryScheduleNotification_In XMLfailing in SNC due to Horizon date as --

Former Member
0 Kudos

Hello Expert,

I have one issue with Delins XML.

XML message DeliveryScheduleNotification_In failing in SXMB_MONI side in SNC due to error "Time stamp --T12:00:00 (typeReleaseHorizonDateTime, item 1) is invalid"

After analyzing the Failed XML, I found that horizon date is coming as -- instead of proper date.

Do you think mapping is missing in the proxy class /SCA/CL_BIF_DELSCHED_IN which process this XML in SNC?

Did anyone faced this issue in the past?

BR,

Bharat M

Mob: +91 9987991004

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Bharat,

Check the mapping in PI/XI side. Analyse the payload in SXMB_MONI of PI/XI to see if the data after mapping has correct format.

Regards

Naveen

Former Member
0 Kudos

Hello ,

We managed to resolved this issue with the help of badi /SCA/BIF_I_DELSCHED.

method /SCA/IF_EX_BIF_I_DELSCHD~BEFORE_CONVERSION.

DATA: lv_output TYPE char5.

FIELD-SYMBOLS: <item> TYPE /sca/bif_s_delsched_item.

LOOP AT cs_delsched_notif-delivery_schedule-item ASSIGNING <item>.

  • Make CHAR5 out of CHAR6

      • CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

      • EXPORTING

      • input = <item>-scheduling_agreement_reference-item_id

      • IMPORTING

      • output = lv_output.

<item>-release-HORIZON_DATE_TIME = ''.

ENDLOOP.

endmethod.