Beruflich Dokumente
Kultur Dokumente
Sales Organization
to
Dist Channel
to
Division
to
Plant
to
Sales Office
to
Sales Order
to
Order Type
to
Sold to Party
to
Owner
to
Material
to
Document date
to
Material Type
to
Material Group
to
Material Group 1
to
Material Group 2
to
Material Group 3
to
Size
to
Gol
to
Collection
to
to
Released SO
[U]
Outstanding SO
[M]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[A]
Sales Organization
VBAK-VKORG
[B]
Dist Channel
VBAK-VTWEG
[C]
Division
VBAK-SPART
[D]
Plant
VBAP-WERKS
[E]
Sales office
VBAK-VKBUR
[F]
Sales Order
VBAK-VBELN
[G]
Order Type
VBAK-AUART
[H]
Sold to Party
VBAK-KUNNR
[I]
Owner
[J]
Material
VBAP-MATNR
[K]
Document Date
VBAK-AUDAT
[L]
Mat Type
[M]
Mat Group
VBAP-MATKL
[N]
Mat Group 1
VBAP-MVGR1
[O]
Mat Group 2
VBAP-MVVGR2
[P]
Mat Group 3
VBAP-MVGR3
[Q]
Size
VBAP-MVGR4
[R]
Gol
VBAP-MVGR5
[S]
Collection
[T]
VBAP-ABGRU
[U]
Released
[M]
Salesman
Promo code
Project code
Cust Grp
VBELN = [E] and VBPA-PARVW = '1A', (jika tidak ada cari VBPA-PARVW = '1B' or '1C' or '1D'
-MATNR = VBAP-MATNR
ARA-MATNR = VBAP-MATNR
PT XYZ
Sales Order
SO Item
Created Date
Doc Date
1a
3-1
SJC1506/0042
10
6/5/2015
SJC1506/0003
SJC1506/0004
SJC1506/0004
Grand Total
Super Grand Total
10
10
10
6/6/2015
6/7/2015
6/8/2015
1 Sales Order
1a SO Item
2 Created date
3a GET OWNER ADDRESS NO
3-1 Owner
3 Owner Name 1
3-2 Owner Name 2
4 Material
5 Material Desc
select
select
select
select
select
select
select
select
select
11 Balance
12a GET ORDER SRKI
12 Prod Qty SRKI
16 Physical Stock
17 Free Stock
SEE FM AVAILABILITY_CHECK
select
select
select
select
select
select
select
select
23 Net Value
select
select
select
select
select
select
24 Currency
25 PO Cust
using FM READ_TEXT (ID = Z040, LANGUAGE = EN, NAME = [1], OBJECT = VBBK)
jika text kosong
select VBKD-BSTKD where VBKD-VBELN = [1]
26 Customer
27a GET ADDRESS NO
27 Customer Name
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
= 'Z6'
= 'Z6'
= 'Z7'
= 'Z7'
= 'Z8'
= 'Z8'
= 'Z9'
= 'Z9'
43 Collection
44 Net Weight
45 Sales Unit
46 Org Doc Retur
47 Created By
48a GET AGENT ADDRESS NO
48 Agent
48-1 Agent name1
48-2 Agent name2
49 Batch SO
50 Remarks Delivery
51 Sales Org
52 Dist Channel
53 Division
54 Release
55 Outstanding
56 Remarks Charges
60 PGI Status
61 Reason for Rejection
62 Order Reason
63 Sales Office
63-1 Sales Office Desc
64 Salesman ID
65a GET MAT TYPE
65 Mat Type
66a GET MAT GROUP
66 Mat Group
67a GET MAT GRP 1
67 Mat Grp 1
68a GET MAT GRP 2
68 Mat Grp 2
69a GET MAT GRP 3
69 Mat Grp 3
70 Ship-To Telp No
71 Ship-To HP No
72a GET CUST GRP
72 Cust Group
57 Debit Memo
58 usage
59 Special Price
select
select
select
select
select
select
select
select
select
select
select
select
select
select
select
Owner Name 2
Material
Material Name
Material Description
Gol
Price category
3-2
TB. BAJA
TB. BAJA
TB. BAJA
GT915508R
GT612205R
GT915511R
0.0125
80
80
20 23 40 41 42
GRD 3
1000
26
153
68
1492
1492
R = [1a]
= [1a]
GRD 1 GRD 2
972
972
R = [1a]
R = [1a]
NR = [1a]
PS-VGPOS = [1a]
SNR = [10a]
SNR = [10a]
V-PLNBEZ = [4] and tanggal generate report antara CAUFV-GSTRP and CAUFV-GLTRP
FV-PLNBEZ = [4] and tanggal generate report antara CAUFV-GSTRP and CAUFV-GLTRP
V-PLNBEZ = [4] and tanggal generate report antara CAUFV-GSTRP and CAUFV-GLTRP
QTY
FV-PLNBEZ = [4] and tanggal generate report antara CAUFV-GSTRP and CAUFV-GLTRP
sched
_OUTSTANDING_SO1
W = 'SH' or 'WE'
Plant Factory
OUP = [18-7a]
= [1a]
R = [1a]
R = [1a]
R = [1a]
223000050
NR = [1a]
R = [1a]
W = 'SP' or 'AG'
W = 'Z5'
= 'Z5'
AGT602170R
W = 'Z6'
= 'Z6'
W = 'Z7'
= 'Z7'
W = 'Z8'
= 'Z8'
W = 'Z9'
= 'Z9'
= 'B'
--> Di Hide
R = [1a]
// belum keluar
lebih dari satu
W = 'Z3'
= 'Z3'
R = [1a]
1][1a], OBJECT = VBBP)
re VBAK-VBELN = [1]
POSNR = [1a]
1], OBJECT = VBBK)
1], OBJECT = VBBK)
= [1a]
ge nya
R = [1a]
RAS = 'EN'
PRAS = 'EN'
[1a]
SPRAS = 'EN'
R = [1a]
SPRAS = 'EN'
R = [1a]
SPRAS = 'EN'
R = [1a]
SPRAS = 'EN'
and ADR2-R3_USER = '1'
and ADR2-R3_USER = '3'
PRAS = 'EN'
--> Di Hide/hilangkan
OUP = [74a]
PRAS = 'EN'
OUP = [79a]
Delivered
Balance
10
11
500
300
12
500
200
153
68
251
251
13
5000 20.01.2016
14
15
if CAUFV-GAMNG = 0
select PLAF-PSTTR where PLAF-PLNUM = [12]
if CAUFV-GAMNG eq 0
16
Free Stock
Delivery Address 1
Delivery Address 2
17
18
18-1
NG eq 0
select PLAF-PLNUM where PLAF-PLWRK = 'B101' and tanggal generate report ada di antara PLAF-PSTTR dan PLAF-PEDTR
select PLAF-GSMNG where PLAF-PLNUM = [12b]
Delivery Address 3
Delivery City
Delivery Region
18-2
18-3
18-4
18-5
18-7
PEDTR
Delivery Country
Ship Date
Plant
Size
Price
Net Price
Amount
Net Value
Currency
Cust PO No
PO Cust
18-6
19
20
21
22
23
24
25
Sold to Party
26
02JTKA0011
02JTKS0039
02JTKS0039
02JTKS0039
Sold to Party Name 1 Sold to Party Name 2 Project Code Project Code Name 1
27
27-1
28
28-1
Project Code Name 2 Promo Code 1Promo 1 Name 1 Promo 1 Name 2 Promo code Promo
2
2 Name
Promo
1
2 NamePromo
2
Code 3
28-2
29
29-1
29-2
30
30-1
30-2
31
Promo 3 Name
Promo
1
3 NamePromo
2
CodePromo
4
4 Name
Promo
1
4 Name 2Salesman Quotation SO Type
31-1
31-2
32
32-1
32-2
33
34
35
36
37
Ext Deliv No
SPB
ODO No
No ODO
Std Price
38
39
40
41
42
43
44
UoM
45
46
47
Agent
48
Agent name Agent name2 Batch SO Remarks Delivery Sales Org Dist Channel
48-1
48-2
49
50
51
52
Div
53
54
55
56
57
58
59
60
61
62
Sales Office
63
Salesman ID GET MAT Mat Type GET MAT Mat GroupGET MAT Mat Grp 1GET MAT Mat Grp 2GET MAT Mat Grp 3
64
65a
65
66a
66
67a
67
68a
68
69a
69
Ship-To TeShip-To H GET CUSTCust GrouGET REGI Sold To R GET REG Sold To ReGET SOLDSold to TrSold to CiSold To C
70
71
72a
72
73a
73
74a
74
74-1a
74-1
74-2
75
PGI Date GET PRICEPRICE GR GET REGI Owner ReGET REG Owner Reg
Owner Cou
GET OWNE
Owner TraOwner City
76
77a
77
78a
78
79a
79
80
81a
81
82
FM_AVAILIBILITY_CHECK
Input
table
Field
P_ATPCSX
MATNR
WERKS
LGORT
Ouput
PRREG
CHMOD
BDTER
IDXATP
RESMD
CHKFLG
table
Field
P_ATPCC
ATPM1
ATPM1 - Total qty yang belum dikirim selain HOR - Total qty yang belum confirm
Desc
Material Number
Plant
Sloc
al qty yang belum dikirim selain HOR - Total qty yang belum confirmed d HOR
[4]
[20]
if VBAK-VKBUR = 'D150' and VBAP-WERKS = 'D101'
LGORT = 'H001'
else if VBAK-VKBUR = 'D151' and VBAP-WERKS = 'D101'
LGORT = 'H002'
else if VBAK-VKBUR = 'D154' and VBAP-WERKS = 'D101'
LGORT = 'H006'
else if VBAK-VKBUR = 'D155' and VBAP-WERKS = 'D101'
LGORT = 'H007'
else if VBAK-VKBUR = 'D156' and VBAP-WERKS = 'D101'
LGORT = 'H008'
else if VBAK-VKBUR = 'D152' and VBAP-WERKS = 'D102'
LGORT = 'H003'
else if VBAK-VKBUR = 'D153' and VBAP-WERKS = 'D103'
LGORT = 'H005'
else if VBAP-WERKS = 'D104','D105','D106'
LGORT = 'RFM1'
else if VBAP-WERKS = 'B101','B102'
LGORT = 'IFM1', 'IFM2','IFM3','IFM4','IFM5'
B
EXP
sys-date
1
X
X
SO Outstanding
1 SO selain SO HOR
2 SO yg item cat bukan
HOR Fatmawati
HOR Medan
HOR Kelapa Gading
HOR Bandung
4a
HOR Surabaya
HOR Semarang
4b
4c
4d
RC
6a
6b
O Outstanding
O selain SO HOR
select VBAK-VBELN where VBAK-VBTYP = 'C' and VBAK-AUART ne 'ZCB6'
O yg item cat bukan ZB03, ZB04, ZB06
select VBAP-KWMENG VBAP-PSTYV ne 'ZB03' or 'ZB04' or 'ZB06' and VBAP-VBELN = [1]
ELN = [1]
ambil
ambil
ambil
ambil
SO HOR
ietm SO HOR yg material
order qty nya
confirmed qty nya
sama sekali
kan reserve
SO yang bukan reserve
m terkirim
ZFM_SD_GET_PRICE_DEALER
Input
Table
Field
IW_PRICE_IN
PRSDT
VKORG
VTWEG
KONDA
MATNR
MTART
MATKL
RKE_MVGR1
RKE_MVGR2
ZZMVGR3
ZZMVGR4
ZZMVGR5
KONDM
VRKME
Output
Table
IW_PRICE_OUT
VBKD-PRSDT
VBAK-VKORG
VBAK-VTWEG
if VBAP-MVGR1 = '001'
pilih price group '02'
else if VBAP-MVGR1 = '002'
pilih price group '51'
VBAP-MATNR
MARA-MTART where MARA-MATNR = VBAP-MATNR
VBAP-MATKL
VBAP-MVGR1
VBAP-MVGR2
VBAP-MVGR3
VBAP-MVGR4
VBAP-MVGR5
VBAP-KONDM
VBAP-VRKME
87854099106
--> dibuatkan table yg bisa dimaintain user untuk mapping MVGR1 dengan Price Group
TNR = VBAP-MATNR
Mat grp 1
001
002
003
004
005
006
ZTSD_MAT_PRICE
Price Group
Desc
Ceramic
Granit
Mesin Tile Cut
Accessories Tile Cut
Slab
Std Item
TSD_MAT_PRICE
NO Sales order
Tgl So dibuat
Nama Owner customer
Kode material
Nama material
Material group 5
Sales Order
Doc date
Owner Name 1
Material
Material Description
Gol
KW 1
KW 2
KW 3
Delivered
Balance
Prod Qty SRKI
Prod Sched SRKI
Prod Qty RCI
Prod Sched RCI
Physical Stock
Free Stock
Delivery Address
Ship Date
Plant
Size
Net Price
Net Value
Currency
PO Cust
Customer
Customer Name
Project Code
Promo Code 1
Promo Code 2
Promo Code 3
Promo Code 4
Salesman
Quotation
SO Type
Status SO
S. District
SPB
No ODO
Std Price
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Collection
Net Weight
Satuan
SPB asal u/transaksi retur
User yg entry
Sales Unit
Org Doc Retur
Created By
45
46
47