Skip to Content
0
Former Member
Oct 18, 2006 at 11:00 AM

BAPI for Service Order, Notification and Sales Order

253 Views

Hi SDN,

i have a scenario where in i need to create a Service Order, Service Notification and Sales Order from PO related data. i have a custom table and a custom screen for PO processing.

Now on saving the PO i need to generate a Service Order (IW31), a Service Notification (IW51)and then a Sales Order(VA01).

so i found out

BAPI related to Service Order is BAPI_SERVICE_CREATE

BAPI related to Notidfication BAPI_ALM_NOTIF_CREATE

BAPI for Sales Order BAPI_SALESORDER_CREATEFROMDAT2

Can some one confirm me the BAPI's which i am using are correct or not? or do i need to write BDC for each one.

My Custom PO table fields are

MANDT X MANDT

BUKRS X BUKRS

ES_PO_NO Z_PO_NO

REMARKS ZREM50

PO_CREATE_DATE DATUM

PO_RECD_DATE ZSTAR_DATE

END_DATE END_DATE

VENDOR LIFNR

AUFNR AUFNR

KTEXT AUFTEXT

TRACK_NO ZTRACK_NO

TRACK_NO_OLD ZTRACK_NO

TPLNR TPLNR

EQUIP_NO EQUNR

EQUIP_DESC EQKTX

EQUIP_MODEL TYPBZ

EQUIP_MPN MAPAR

EQUIP_SN SERGE

NIIN ZNIIN

ST_TPLNR TPLNR

ST_EQUIP EQUNR

ST_EQUIP_DESC EQKTX

ST_MODEL TYPBZ

ST_MPN MAPAR

ST_SN SERGE

ST_JOBNO AUFNR

ST_AUART AUFART

ST_IWERK WERKS_D

ST_PRIOK PRIOK

ST_ABCKZ ABCKZ

ST_ARBPL ARBPL

ST_AUSVN AUSVN

ST_AUSBS AUSBS

ST_ILART ILART

ST_SWERK SWERK

ST_BAUTL BAUTL

ST_INGPR INGPR

Z_SOLD_TP I_PARNR

Z_SHIP_TP I_PARNR

REJ_CODE ZREJ_CODE

PO_STATUS ZSTAT_CODE

STATUS_DATE ZSTAT_DATE

KZABS KZABS

ZTERM DZTERM

NETWR BWERT

WAERS WAERS

USNAM USNAM

AEDAT AEDAT

CPUTM CPUTM

Thanks & Regards

Pratyusha