SD-Deepak- Damodhier - 2016-02-25 - 23112 - Spec - ASN for Innova (Dan by 2016-03-25) #Delivery #abapidoc

SPECIFICATIONS

23112-Spec- ASN for Innova


Purpose


Add new fields for Mexico ASN IDOC

Admin Info


Purpose
Add new fields for Mexico ASN IDOC
Requested By
Daniel Brennan
Spec Created By
Deepak Yasam/Damodhier
Spec Created Date
02/25/2016
Spec QA by
Surya Basa
Objects
VVC_T682_V2VN_T685B
V_T683_XX
RV61B905
ZXTRKU02
ZXDELVRY03
Z1INV01
EDISEGMENT
ZSD_MEXICO_ASN_IDOC
Document Status
Completed


Estimates



Sl.No
Activity
Estimation in Hours
1
Research
04
2
Documentation
06
3
Development/ Config
24
4
Unit test in DEV
10
5
Unit test in QUA

6
Other activity


TOTAL
44

References


Prior Tickets

[Provide links of prior associated Spec / Break Fix BOSS document(s)]

None

Documents

[Attach any document(s) received for the requirement(s)]
None


Spec Changes


[List the changes made to program after the approval of the original requirement along with the Date on which the change request was received and the name of the initiator]

Sl.
Change Details
Requested By
Requested On
Notes if any
1
Add field Unit Net Price (NETP) to the IDOC
Dan Brennan
5/16/2016





















Functional Requirement


Purpose/WHY:

[Explain the purpose of the project and the reason why this requirement has come]
Need to trigger ASN for mexico for specific customers with new fields.

In Scope:

[List the activities to be included in scope]
The new fields should be displayed for specific customer and for mexico

Out of Scope:

[Out of scope activities]
The new fields should not be displayed for other sales orgs.

Solution Summary


[Discuss this section with Requester and get approval prior to beginning work]

New ASN IDOC should be triggered for Mexico with fields as below.





A new output type should be created with new access sequence.This IDOC should be triggered for specific customers.


Test Plan

[List test scenarios/cases to be executed here]

Test ID
Test Scenario
ZLDM output Condition record (Sorg/Sold to)
Expected Result
SD001
Create a ZOR SO with 1500,10,00 sales area and corresponding delivery and invoice.
Yes
1. Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. 2. ZLDM output is triggered as there is a valid condition record and an outbound ASN IDOC should be generated with new segment(Z1INV01) at header level with below fields and values.

• Invoice Number
• Invoice Value
• Invoice Date
SD002
Create a ZOR SO with 1500,10,00 sales area and corresponding delivery (without pick and PGI).
Yes
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD003
Create a ZPTO SO with 1500,10,00 sales area and corresponding delivery and invoice.
Yes
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output is triggered and an outbound ASN IDOC should be generated with new segment(Z1INV01) at header level with below fields and values.

• Invoice Number
• Invoice Value
• Invoice Date
SD004
Create a ZPTO SO with 1500,10,00 sales area and corresponding delivery (without pick and PGI).
Yes
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD005
Create a ZOR SO with 1500,10,00 sales area and corresponding delivery and invoice.
No
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD006
Create a ZOR SO with 1500,10,00 sales area and corresponding delivery (without pick and PGI).
No
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD007
Create a ZPTO SO with 1500,10,00 sales area and corresponding delivery and invoice.
No
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD008
Create a ZPTO SO with 1500,10,00 sales area and corresponding delivery (without pick and PGI).
No
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.
SD009
Create a ZOR SO's with 1500,10,00 sales area as below.
1.Corresponding delivery and invoice.
2.Corresponding delivery (without pick and PGI).
Yes
No
Execute the ZSD_MEXICO_ASN_IDOC with billing date as input.
1.ZLDM output is triggered as there is a valid condition record and an outbound ASN IDOC should be generated with new segment(Z1INV01) at header level with below fields and values.

• Invoice Number
• Invoice Value
• Invoice Date
2. ZLDM output shouldn't be triggered and an outbound ASN IDOC shouldn't be generated as the invoice is not yet created for the delivery.

Solution Details


[Provide complete technical details for configuration or programming here]

1.A new output ZLDM ( Mexico ASN EDI ) is created with ZLDM access sequence.
2.Sales org/Sold to party condition table should be assigned to ZLDM access sequence.
3.The 905 routine is changed to restrict the ZLDM output for 1500 sales org.
4. A new custom segment Z1INV01 is created with below fields and is assigned to ZXDELVRY03 extension.
• Invoice Number
• Invoice Value
• Invoice Date
5. The exit ZXTRKU02 is modified to trigger the mexico ASN IDOC with new custom segment and its fields for 1500 sales org and LF delivery type.
6. The program ZSD_MEXICO_ASN_IDOC is created and is used to trigger the ZLDM outputs in background in delivery change mode.
7. The deliveries with ZLDM output(already triggered) will be excluded by the program for re issue of output.



Issues


[List Issues / Bugs identified in configuration or development]