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

BAPI for creating Work Centre Master

Former Member
0 Likes
5,692

Hello

Kindly help me with the BAPI for creating Work Centre Master

Thanks and Regards

Avishek

11 REPLIES 11
Read only

former_member203501
Active Contributor
0 Likes
2,774

hi look at this ..

SAP has already provided two programs for this purpose. They are as following.

RCRAPDX1 - Generate dataset for workcenter

RCRAPDX2 - Data transfer of workcenter

The program generates the text file of data of workcenters you choose. The second program loads it in SAP.

Read only

Former Member
0 Likes
2,774

Try the FM:

CRAP_WORKCENTER_CREATE

This is the same function module used inside the direct input program RCRAPDX2 for work centers

Mathews

Read only

Former Member
0 Likes
2,774

Avishek,

I did land up with the same Issue earlier. I also explored below option at that time:

1)

RCRAPDX1 - Generate dataset for workcenter

RCRAPDX2 - Data transfer of workcenter

This solution works well, at least I unit tested. But Client rejected it as they wanted ALE solution

2)

CRAP_WORKCENTER_CREATE

This function module betrayed us as at the SAP adviced not to use it as its not released for progrmmers.

Also there are lot of Hiccups we faced while implementation like dont provide update facilities.

Some customer required fileds were not inclded.

3)

How about finding the standrd process code and so the Inbound Function module:

-> SAP said there is no Process code (as POIM TCode at sender side is only for transferring data to Non SAP systems)

And here is the solution that we required to be implemented

Create a Custom Inbound Function module and use BDC to upload the Work center.

Please let me know if you require further information, I will be glad to assist.

Regards

Shital

Read only

0 Likes
2,774

Hi Shital

We are trying to do excatly the same of transfering Workcenters using ALE and i am investigating all the options involved in doing that .

Any other suggestion besides the BDC .

Thanks in Advance

Anjali

Read only

Former Member
0 Likes
2,774

Thank Shital for the update, I wasnt aware of this restriction on the above function module.

And I do agree that the BDC for creating workcenter is pretty straight forward.

Mathews

Read only

Former Member
0 Likes
2,774

try below things

BAPI_RCVPRORDCF_RECEIVEWORKC

in LSMW

Direct Input

Object 0260 Work center

Method 0000

Program Name RCRAPDX2

Program Type D Direct Input

Idoc method

Message Type LOIWCS Work center

Basic Type LOIWCS01 Master work center

Enhancement

Read only

0 Likes
2,774

Hi,

when you mentioned IDOC method, does it mean we can upload work center base on available IDOC??

I am asking this because I have transferred work center using POIM transaction (message type: LOIWCS), IDOC gets created and transferred to the receiving client, but don't know how to post the IDOC.

Please adv, thks.

Read only

0 Likes
2,774

SAP does not provide Inbound process code (and so is the function module) for processing so you may need to go for custiomization using Approches smthing like BDC.

Regards

Shital

Read only

0 Likes
2,774

Hi All,

I am trying to load master data for work center. I tried to use the program - RCRAPDX2 to load work center. I am able to create work center in SAP ECC. But while opening the work center using t-code - CR03 and clicking tab "COSTING", it is giving error - "Assignment does not exist".

I have generated a file using program - RCRAPDX1, which help in generating Dataset for Work Centers.

I am not finding it looking for value - "Controlling Area" under Costing tab. I am not finding any field to populate "Controlling Area" using program - RCRAPDX2.

Please advice.

Thanks

Rajesh

Read only

0 Likes
2,774

Rajesh,

  I am having the same issue.  Did you solve this?  I want to avoid having to create a change lsmw recording to populate this tab.

Thanks,

Jacob Levinson

Read only

0 Likes
2,774

NM.  Valid from date needed to be passed.  It is weird that it didnt return that as an error though