2013-05-13 - 7040 - Spec - Modify ZPO_DATECHG to update Ex-Factory #PurchaseOrders #ABAP #US

SPECIFICATIONS

7040-Spec-Modify ZPO_DATECHG to update Ex-Factory

Purpose


Modify ZPO_DATECHG to update Ex-Factory.

Admin Info


Purpose
Modify ZPO_DATECHG to update Ex-Factory
Requested By
Rahul
Spec Created By
Laxman & Venkat
Spec Created Date
05/13/2013
Spec QA by
Venkat & Adithya
Objects
ZR_PO_DELV_DATE_CHNG
Document Status
Complete

References


Prior Tickets


Documents


Functional Requirement


Modify ZPO_DATECHG to allow updates to Ex-factory date
Client has a requirement for mass update of Ex-factory date for the given purchase orders. But using standard MASS transaction is not possible to update ex-factory date. So finally client advised to modify the program ZPO_DATECHG so that Ex-factory date can be updated along with delivery date in mass for the given purchase orders.

Solution Summary


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

New Input field Ex-Factory Date was added to input screen and modified programs ZR_PO_DELV_DATE_CHNG and ZR_PO_DELV_DATE_CHNG_JOB to update PO''s with Ex-Factory Date in foreground and background respectively.

Test Plan

[List test scenarios/cases to be executed here]
S. No
Test Scenario
Expected Results
1
Create PO and update with both new delivery date and Ex-factory date using program ZR_PO_DELV_DATE_CHNG
Both new delivery date and Ex-factory date will be updated in the PO.
2
Create PO and update only with new delivery date
using program ZR_PO_DELV_DATE_CHNG
.
New delivery date will be updated in the PO and the Ex-Factory date should not be changed.
3
Create PO and update only with Ex-factory date
using program ZR_PO_DELV_DATE_CHNG
.
New Ex-factory date will be updated in the PO and delivery date should not be updated.
4
Create PO and update with both new delivery date and Ex-factory date using program ZR_PO_DELV_DATE_CHNG in background.
Both new delivery date and Ex-factory date will be updated in the PO.

Solution Details


[Provide complete technical details for configuration or programming here]

The following changes are needed to be done in ZPO_DATECHG.

-Add Input field 'Ex-Factory Date' in Input Screen.

-Modify Screen Texts in Input Screen.
-Modify Clipboard logic so that Ex-Factory Date is accommodated.
-Modify program ZR_PO_DELV_DATE_CHNG to read the new field from selection screen and update PO with Ex-Factory Date using Bapi.
-Modify program ZR_PO_DELV_DATE_CHNG_JOB to update the PO's in background.
-Add validation so that both Delivery Date and Ex-Factory Date should not be blank.
-Add validation, if user inputs same delivery date or Ex-Factory date which already exist in PO , it should not be processed and should be captured in error log.
-Display error log with updated and error PO's with Delivery or Ex-Factory dates..

Issues