cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Source Code error for Report Shipping

Former Member
0 Likes
139

Hello,

This is regarding Report Shipping.

As per SAP Report Shipping Implementation Guide

for 4.1Settings for the SD Interface: Shipping Docu-ments

Under Environment, Health & Safety> Product Safety> Report Shipping> Basic Settings for Shipping from SD Documents> Material Safety Data Sheet/Sales and Distribution Interface> Settings for the SD Interface: Shipping Documents> Output Determination--> Check Conditions.. it should be like below

Routine number: <26>

Description: Environmentally rlvt

Active: X (set)

Application: V2

Source code:

FORM KOBED_<Key>.

SY-SUBRC = 0.

CHECK KOMPB V2 -KZUMW IS INITIAL.

SY-SUBRC = 4.

ENDFORM.

FORM KOBEV_<Key>.

SY-SUBRC = 0.

CHECK KOMPB V2 -KZUMW IS INITIAL.

SY-SUBRC = 4.

ENDFORM

on the other had, i have check 2-3 standard Systems,

same for Settings for the SD Interface: Shipping Documents> Output Determination> Check Conditions..

it is like below

Routine number: <26>

Description: Environmentally rlvt

Active: X (set)

Application: V1

Source code:

FORM KOBED_<Key>.

SY-SUBRC = 0.

CHECK KOMPB V1 -KZUMW IS INITIAL.

SY-SUBRC = 4.

ENDFORM.

FORM KOBEV_<Key>.

SY-SUBRC = 0.

CHECK KOMPB V1 -KZUMW IS INITIAL.

SY-SUBRC = 4.

ENDFORM

so which one is Correct? Implementation Guide or Standard Setting of System.

Please guide me.

Edited by: Amol Joshi on Dec 29, 2010 4:42 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

JuanCarlosDelga
Contributor
0 Likes

Hi Amol.

Both are correct.

The MSDS can be send with the sales order (V1) or with the delivery (V2), it depends of the logistic process configured in the system.

In SD the delivery may or may not be configured.

If the delivery is configured selects V2, in the other cases V1.

Regards.

JCD