cancel
Showing results for 
Search instead for 
Did you mean: 

XML not triggered when ASN is cancelled in SNC.

agam_jain3
Explorer
0 Kudos

Hi Experts,

We have a scenario where we want to cancel IBD in ECC when ASN is cancelled in SNC. I searched the forum and found that Pi needs to map DDN_OUT XML with Action code 03 to WHSCON.DELVRY03 IDoc.

But our XML is not triggered when ASN is cancelled though publishing ASN is triggering XML.

Can you please tell if any setting is missing.

Regards,

Agam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Agam,

You can use the below transaction code to try ASN Document publish via SAP Gui.

/SCA/DLV_PUBLISH - Generate and Send XML Message for ASN

Ensure that you dont see any issues in simulation mode and then go without selection simulate.

If you encounter any issues then check these transaction in mentioned sequence to analyse the issue in a detailed maner:

1- SLG1

2- ST22

3- SM21

Kindly let us know the results.

Regards,

Selim Batur

agam_jain3
Explorer
0 Kudos

Hi Selim,

When i executed the report it gave me error : ASN is marked for sending via PPF-use PPF selection report.

So i went to ABAP code and set gs_dlv-send_mode to 'D' within the debugger.

so my ASN is published now with Action code 03. But i still dont get as why its not happening through portal.

Also, if you can tell as why it gave PPF error through report as its ot possible to do it with abap change all the time.

Regards,

Agam Jain

Former Member
0 Kudos

Hi Agam,

Please check after maintaining below validation setting;

Go to SPRO:

Supply Network Collaboration > Basic Settings > Validation > Own Settings > Maintain Settings in Validation Profiles

Validation Profile= P001

Validation Check= ASN_PUBLISH_DIRECT

Check Status= A-Active

Validation Profile= P002

Validation Check= ASN_PUBLISH_DIRECT

Check Status= A-Active

Validation Profile= P003

Validation Check= ASN_PUBLISH_DIRECT

Check Status= A-Active

Regards,

Nikhil

Answers (0)