Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WORK CENTER master data n corresponding Bapi

Former Member
0 Likes
663

Hi........Gurus,

Guys Please provide me hep for creating WORK CENTER master data using Bapi

if u r providing exact Bapi name for creating WORK CENTER master data or please provide step by step documentation or program logic

that would be heplful to me

Feel free to ask me if my Q is not clear

Thanks in Advance

Ravindra

1 REPLY 1
Read only

Former Member
0 Likes
480

hi,

Customized Work Center List

*

  • The standard SAP Work Center List - CR05 includes the flag for

  • deletion work center. This customized work center list allows

  • you to include or exclude those work center that have been flag

  • for deletion. Those with a 'X' in the list are flag for deletion.

*

*

REPORT ZPPWORKCENTER

LINE-SIZE 120 NO STANDARD PAGE HEADING LINE-COUNT 058(001).

TABLES: CRHD, "Work Center Header

CRTX, "Text for the Work Center or Production Resource/Tool

CRCO. "Assignment of Work Center to Cost Center

SELECT-OPTIONS: S_WERKS FOR CRHD-WERKS DEFAULT 'XX',

S_LVORM FOR CRHD-LVORM.

SELECT * FROM CRHD WHERE LVORM IN S_LVORM

AND WERKS IN S_WERKS.

CLEAR CRCO.

SELECT SINGLE * FROM CRCO WHERE OBJTY = 'A'

AND OBJID = CRHD-OBJID

AND ENDDA => SY-DATUM.

CLEAR CRTX.

SELECT SINGLE * FROM CRTX WHERE OBJTY = 'A'

AND OBJID = CRHD-OBJID

AND SPRAS = 'E'.

WRITE: / CRHD-LVORM,

CRHD-WERKS UNDER 'Plnt',

CRHD-ARBPL UNDER 'Work Center',

CRCO-KOSTL UNDER 'Cost Center',

CRTX-KTEXT UNDER 'Description'.

ENDSELECT.

TOP-OF-PAGE.

WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,

SY-PAGNO.

SKIP.

WRITE:/3 'Plnt',

8 'Work Center',

20 'Cost Center',

33 'Description'.

*-- End of Program

try these bapis...

BAPI_BUSPROCESSND_CREATEMULTI

BAPI_WORKCENTER_GETDETAIL

BAPI_STANDARDMATERIAL_CREATE

THANKS

KARTHIK