03-31-2009 8:28 PM
Hi,
I have got a requirementon smartform, but I have not received Fields.
Could anybody give me the fileds for a Purchase order Like :
SERVICE ORDER - ?
SERVICE Technicain Name - ?
Sales Order - ?
Sold to party - ?
Regards,
Xavier.P
03-31-2009 8:30 PM
04-01-2009 2:30 AM
Hi Xavier,
For a Purchase order we need to have a Goods reciept in MIGO Transaction with movement type 101 or 102.
In mseg table you have Sales order No, & from SO No. you can get the Sold to party.
Thanks & regards,
Dileep .C
04-01-2009 4:38 AM
Hi,
Get the Sold to party from VBPA table by idetifying partner function.
04-01-2009 5:26 AM
SERVICE ORDER - u can get service order in table AFIH by passing equipment EQUNR
Sales Order - IN VBAK pass ur purchase order no. and u will get VBELN
Sold to party - pass sales order into vbpa and get KUNNR where PARVW (Partner function) ='RE'
OR IN MSEG TABLE ALSO U WILL GET SALES ORDER, SOLD TO PARTY BY PASSING PURCHASE ORDER.
WHICH SMARTFORM U R DOING?
04-01-2009 5:36 AM
04-01-2009 5:56 AM
Hi ,
For po fileds u can refere tbales like
ekko (header),
ekpo-item detail
eket-shedule detail.
For sales:
vbak-header
vbap-detail.
vbep-shedule detail.
Hope this may help u.