Skip to Content
author's profile photo Former Member
Former Member

WORK CENTER master data n corresponding Bapi

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 10:00 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.