Skip to end of metadata
Go to start of metadata

Important Points

  • Thumb Rule for storage and display of timestamps: Generally, across all of SNC, we have the following rule: If a time stamp is "location-specific", e.g. like the delivery time
    stamp is specific to the ship-to location and the shipping time stamp is specific to the ship-from location (think air plain ticket: BLR 3:20 ->FRA 10:30, then obviously the 3:20 is in India time and the 10:30 is in Central European time). So these time stamps don't change for different users. No matter where they are and what their setting are, they see the same time on their screens. These time stamps are also stored as such "local time stamps" in the data base and they are not converted during any mappings between UI and DB. "General" time stamps, such as change time stamps, creation time stamps, document / status time stamps should be shown in the user's time zone. So here, two different users might see different change times for the same document. These time stamps are stored in UTC in the DB and they are converted before they are shown on the UI. (Note 1028775)
  • For using timestamp based ASN duelist calculation, customers need to implement a user exit in the ERP system to send the Release Creation Timestamp to SNC. For calculation of the Duelist, all Published ASNs on the Scheduling Agreement and all Goods Receipt Completed ASNs created after the creation time of the latest release are considered. 

CSS Components

Component

Description

SCM-ICH-ASN 

Advanced shipping notification

Online Documentation

The online documentation for the different releases can be found in the SAP help portal:

 

ASN 

Validation checks

Validation check informatation is stored in the following tables:

Table name

Description

Use

/SCMB/BOLCHK

Validation Checks

Long description of valcheck, write down when the check is passed

/SCMB/BOL_CHK

Assignment of Validation Checks to Processes

Used in F4 helps

/SCMB/BOL_CHKCMP

Validation Checks

Mandatory! Contains the checks with their messages and alerts

/SCMB/BOL_VALCHK

Validation Checks

Mandatory! Assigment to validation profiles, use profiles P001,P002,P003,P004,CF01,CF04

/SCMB/BOL_VALPRO

Validation Profiles

Profile to process assignment

How to create a new validation check:

  1. Enter the relevant coding in the method /SCA/CL_SVDELIVERY-> /SCMB/IF_BOL_VAL~VF_PERFORM_CHECK
    1. Try to insert it in a place where the surroundings were not changed recently to avoid unnecessary dependencies
    2. Use output conversion whenever possible with WRITE … TO …, make sure there is an output conversion defined for the data element in the statement
  2. Enter the relevant customizing entries (within your customizing system):
    1. Table /SCMB/BOLCHK - VF check descriptions
    2. Table /SCMB/BOL_CHK – Maintain for which processes the respective check should be applicable
    3. IMG activity /SCMB/BOL_CHKCMP – Validation check details always set as inactive for new checks
    4. IMG activity /SCMB/BOL_VALCHK – Assigment to validation profiles (P001/P003 for publish/save as draft, XML, FTR upload, CF01/CF04 for DELINF)
    5. SM30 /SCMB/BOL_VALPRO – Profile to process assignment – Just see
    6. Create new error message in SE91

Timestamps

Below is the summary of timestamps and their meaining on the ASN:

Dates

Meaning

Calculation

ASN

/SCMB/DM_DELVRY_STR

ASN DB

SGI

Start of goods issue

 

 

 

 

MBDAT

Availability date at ship-from location

= start of goods issue (SGI)

 

 

 

EGI

End of goods issue

 

 

 

 

WADAT

Shipping date (goods issue date)

= end of goods issue (EGI)

Shipping Date

issue_datetime

1HDR TSTFRFRT

STRAN

Start of transport

 

 

 

 

ETRAN

End of transport

 

 

 

 

SGR

Start of goods receipt

 

 

 

 

LFDAT

Delivery date

= start of goods receipt

Delivery Date

arrival_datetime

1HDR TSTFRTOT

EGR

End of goods receipt

 

 

 

 

ELDAT

Availability date at customer location

= end of goods receipt

Availability Date

avail_datetime

2IT2 TSTFRTOT

Reports

Name

Description

Use

Important Notes

/SCA/DUELISTALERTWRITE

Generate Alerts for Due and Overdue POs and SA Releases

 

 

/SCA/ASN_PASTDUE_ALERTWRITE

Generate Alerts for Overdue ASNs

 

 

/SCA/DLV_DELETE

Delete ASNs

 

1802301

/SCA/DLV_DELETE_ALL

Deletion of ASNs (with more functionality than /SCA/DLV_DELETE)

 

 

/SCA/DLV_PUBLISH

Generate and Send XML Message for ASN

 

 

/SCA/DLV_CLOSE

Close ASNs

 

 

/SCA/DLV_SET_GR

Set/Reset ASN Item Goods Receipt Status

 

 

BADIs

Name

Description

Use

Note

/SCF/ASNHUUI

BAdI for packing screen

Can reorder handling units in packed ASN, can reorder labels only for smartforms

 

/SCMB/DELIVERY

BAdI for single deliveries

 

 

/SCF/ICH_POWL

BAdI for modifing the POWL result list

Can be used for the Due List and Receipts & Requirements List

Delivered with notes 1561684, 1766804

/SCA/BIF_I_DESDLVRY

BAdI for XML-Interface DespatchedDeliveryNotification_In

 

 

/SCA/BIF_I_DLVRY

BAdI for XML-Interface DeliveryInformation_In

 

 

/SCF/ASN_DETAIL_UI

 

 

 

/SCF/UIMDL_APPCUST

 

 

 

To add a new field from IDoc to XML to database to UI the following steps have to be performed:

  1. Update the XI mapping
  2. Enhance the DespatchedDeliveryNotification XML interface
  3. Enhance the BOL structure /scmb/dm_delvry_str (this will also enhance /SCF/DLV_STR)
  4. Implement BAdI /SCA/BIF_I_DESDLVRY for mapping the new fields XML to the BOL
  5. Add the new fields to ODM to component DLH1, generate and activate table. You will need to adjust the /1OM/DELVDLH1XYZ table for this.
  6. Implement BAdI /SCMB/DELIVERY method AFTER_MAPPING_DM2ODM for mapping the new fields from BOL to ODM
  7. Implement BAdI /SCMB/DELIVERY methods AFTER_MAPPING_ODM2DM and AFTER_MAPPING_ODM2DM_OV for mapping the new fields from ODM to BOL
  8. Enhance the UI to display the new fields.

Debug Tool

SNC Classes  

Class Name

Description

Use

Important Methods

/SCF/CL_FRMBOX_ASNM_HDR1

Specialized class for ASN Maintenace FRMBOX Hdr1

ASN Details form actions implementations

SET_SPEC_EVENTS sets the action -> method mapping

/SCF/CL_MDLTBV_ASNITEMS

Standard tableview for ASN Items

ASN Details table actions implementation

SET_SPEC_EVENTS sets the action -> method mapping

/SCF/CL_DATA_ASN

SMI ASN data class

ASN Overview and Details Data class

GET_F4_HELP_* gets the F4 help

/SCA/CL_SVDELIVERY

BOL Service Class Delivery

 

SAVE_SNL does the save

Due List customizing where used list

Field Name

Field Description

Using Class

Method

Notes

SELVALASN

Relevant ASNs

/SCF/CL_ICHODM_HDLR

POST_LOAD_REL4DL

 

CCCODE0XY

<Commtment code name>

/SCF/CL_ICHODM_HDLR

ASSM_DUELIST_REL

 

REDCRELBYPO

Reduction by RPO

SCF/CL_ICHODM_HDLR

ASSM_DUELIST_REL

 

DUELISTALG

Assignment Alg.

/SCF/CL_ICHODM_HDLR

ASSM_DUELIST_REL

 

DELVDATE

D/T Due Qty (ASN)

/SCF/CL_ICHODM_HDLR

ASSM_ORDATA_ORDR

 

CONFDELVDATE

D/T Due Qty (Conf.)

SCA/CL_SVORDER

READ_POWL_CONFLIST

 

RELUPDTIME

Release Ref. TS

/SCF/CL_ICHODM_HDLR

GET_RELUPDTIMESTMAP

 

ASNDLVSHIP

D/T for ASN in DL

 

 

 

RELSDL4PO

Relevant PO SL

/SCF/CL_ICHODM_HDLR

ASSM_ORDATA_ORDR

 

ERP classes

Class Name

Description

Use

Important Methods

/SPE/CL_DLV_DISPATCH

 

 

CALCULATE_CQ

/SPE/CL_ID_HANDLING

 

 

 

Customizing

Important Customizing transactions.

 All customizing steps can be found under SAP - Implementation Guide -> Supply Network Collaboration

Path

Description

Basic Settings -> Validation -> SAP Standard Settings

Use this to set the properties of validation checks in DEV system

Basic Settings -> Validation -> Own Settings

Use this to set your own settings, e.g. activate a validation check

Basic Settings -> Visibility -> Assign Partner-Dependent Selection Modes to Applications

See note 1736051.

Delivery -> Due Quantity Calculation

This determines how the due quantity is calculated

  
 

 

 

Shipment

FAQ

 

Packing and packaging

Packing and packaging are two closely related functionalites. Packaging is used to describe the creation of packing specifications and their details, that is how to do the packing itself. Packing is used to descibe the actual result of packing, ASNs are packed into containers based on packaging specification. Each container is a Handling Unit with its own ID, packaging material and contents. This informaton is stored on the ASN in the ODM. Packing specifications are stored indepently in EWM.

EWM Transactions 

  • /SCWM/PACKSPEC - Maintain a pack specification
  • /SCWM/PRDI - Maintain Inbound Delivery

Customizing 

To enable packing the main customizing has to be set up in

SPRO->SCM Basis>Pack>Handling Units->Define Packaging Material Types.

SPRO->SCM Basis>Pack>Handling Units->Define Packing Groups for Products.

SPRO->SCM Basis>Pack>Handling Units->Maintain Allowed Packaging Material Types for Packing Group

 
Next the material has to be maintained in /SAPAPO/MAT1 (only the global data), on tab Pkg Data. Here the Packing Group defines in which group this material belongs and based on the above assignment in which materials it can be packed. Without Packing Group the material can't be packed. The Pack. Mat. Type is only relevant for packaging materials and defines which above packaging material types the current material is assigned to.

BADIs

BAdIs for packing:

Name

Description

Use

Notes

/SCWM/EX_HU_BASICS_HUHDR

Handling Unit Header Data

Can be used to override HU creaton and change behaviour (e.g. overwrite HU numbering)

 

/SCWM/EX_HU_APPL_HUIDENT

Handling Unit Number Assignment

This is the BAdI where HU numbering is hooked into SNC number ranges, internal use only

 

BAdIs for packaging:

Name

Description

Use

Notes

/SCF/PACKSPEC

BAdI for packaging specifications

Can be used to enhance od modify the behaviour of SNC packaging screen (e.g. add field that are already present in EWM)

Shiiped with note 1764799

Miscellaneous

  • With Note 1331381, the completed indicator of an ASN is reset, if the Goods Receipt on the ASN is reset.
  • When an ASN is published the related documents are updated by calling the method POST_DELIVERY_UPDATE_SNL of Class /SCA/CL_SVDELIVERY.