Requirement from
Client Technical Details to New User
Input from END User
Output
Technical Details:
Input fields
Sales order Number:
AUFNR OR KDAUF+0(6)
Or
i.e. First
six digit of Batch order number KDAUF
Output Fields:
Matnr =
According to sap format it is 18 char but client require 8 digit number i.e.
matnr+6(8).
Maktx =
Material Description.
Req Quantity
= Required Quantity .
Net Quantity
= Issue quantity - Return Quantity.
Net Cost =
Issue Cost – Return Cost.
Function Details
Logic:
Select all
Matnr and requirement Quantity from
RESB related to Batch order = kdauf+0(6).
Pass all Matnr to MSEG table with related to KDAUF+0(6).
For Issue
quantity Movement type BWART ( 261 , 201)
For Return
Quantity Movement type BWART(262, 201).
Use Dynamic
internal Table for creation of column because end user compare 1 with many
.
No comments:
Post a Comment