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

CA01 BDC

Former Member
0 Likes
563

Hi,

I want to create BDC for transaction code CA01 -Create Routing BDC.

Can anybody suggest me the proper recording procedure and coding, As the scenario has many header data with each header many item data.

Thanks

naresh

2 REPLIES 2
Read only

Former Member
0 Likes
461

Hi,

BDC by Recording is not suited for this transaction since Routing/Plan has dependencies on various other master data. Also most of the screens has table controls and is little difficult to control it in BDC ( quite risky also ). I have loaded successfully routings/inspection plans by LSMW in following way:

Object               0170   Routing       
Method               0001   Batch input   
Program name         RCPTRA01             
Program type         B   Batch input

or

Business object      BUS1012      Routing                               
Method               CREATE                      Create                 
Message type         ROUTING_CREATE              Creation of a routing  
Basic type           ROUTING_CREATE01            Creation of a routing

Hope this helps.

Regards, Murugesh

Read only

Former Member
0 Likes
461

Well it all depends what values you need to pass and while doing the recording you just pass the values in those screen fields. You can get to know, which values to pass in which screen field from your flat file (the source file). I believe you shud not worry about the no of fields or the order...whenever you do the recordin it records your every action...I assume that you know SHDB will be used for recording...and after recording you can directly click on the PROGRAM button in the standard toolbar so to automatically transfer the code from recording data..

~Sid