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

BDC

kanthimathikris
Advisor
Advisor
0 Likes
1,450

Dear Friends,

I wanted to automate some custimizing activities like Profile Copy.

I would like to know if

a) The use of BDC be appropriate for recording customization transactions (or)

b) Should I insert the entries in appropriate tables,

if so how to indentify the dependant tables?

Regards,

Usha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,416

Hi Kanthimathi,

1. if

a) The use of BDC be appropriate for recording customization transactions

Using BDC is as good as making data entry /

running the transaction by the user.

If BDC is well possible for your requirement

then absolutely no problem ! go for it!

2. Should I insert the entries in appropriate tables,

if so how to indentify the dependant tables?

SAP does not recommend this. It may stop support

if u directly tamper / enter / modify

entries in standard tables.

Moreover the customizing transation

affects which which tables

no body knows in details.

Moreover, the transaction will

do standard required CHECKS & VALIDATIONS,

which are of UTMOST IMPORTANCE,

but directly entering in tables

would be VERY DANGEROUS

and may be INCONSISTENT.

3. Go for BDC !

BDC will take care of all such IFS and BUTS.

BDC is as good as SIMULATING the Transaction !

Hope it helps.

Regards,

Amit M.

Message was edited by: Amit Mittal

Message was edited by: Amit Mittal

15 REPLIES 15
Read only

Former Member
0 Likes
1,417

Hi Kanthimathi,

1. if

a) The use of BDC be appropriate for recording customization transactions

Using BDC is as good as making data entry /

running the transaction by the user.

If BDC is well possible for your requirement

then absolutely no problem ! go for it!

2. Should I insert the entries in appropriate tables,

if so how to indentify the dependant tables?

SAP does not recommend this. It may stop support

if u directly tamper / enter / modify

entries in standard tables.

Moreover the customizing transation

affects which which tables

no body knows in details.

Moreover, the transaction will

do standard required CHECKS & VALIDATIONS,

which are of UTMOST IMPORTANCE,

but directly entering in tables

would be VERY DANGEROUS

and may be INCONSISTENT.

3. Go for BDC !

BDC will take care of all such IFS and BUTS.

BDC is as good as SIMULATING the Transaction !

Hope it helps.

Regards,

Amit M.

Message was edited by: Amit Mittal

Message was edited by: Amit Mittal

Read only

Former Member
0 Likes
1,416

Hi Usha/Kanthi Mathi

Before that RUN ST05 Sql trace,then recording and find the tables and fields related to trnasaction.

regards

vijay

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

Freinds,

Thanks a lot for your replies.

Now let me explain the real scenario.

1) I already performed the trace and could find that this profile copy hits nearly 45 tables.

2) I also completed the BDC for this process. The problem I face here is as follows

a) I have done the Copy by cliking the Copy Button

which copy the selected profile.

Say for eg I have a profile called Telco, the action above copies it into a new profile called ZTelco_cpy and also copies the functional profiles associated with the profile Telco.

Every profile will have nearly 16 or more functional profiles. The above BDC works fine if the functional profile entries are 18 or less - If more the BDC fails.

Any idea of how to resolve this issue.

I guess that this is because of the page down issue in BDC.

Read only

0 Likes
1,416

Hi,

Can you tell us what is the transaction for which you are doing the BDC?

The altenative approac of BDC would be using a BAPI.

It would not have any issues with page down handling.

ALl you have to do is to fill the bapi structures,instead of BDC structuers and call the bapi with that structures and that would serve the same purpose of BDC.

Regards,

Ravi

Read only

Former Member
0 Likes
1,416

Hi again,

1 If this is the case then

if a FM or BAPI is available, (for this purpose)

then it would be the best option.

we need to search for it!

2. which tcode are u talking about ?

Regards,

Amit M.

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

Yes you are right.

I tried that also, but I am unable to find one.

The TCODE is use is CRMC_IC_MAIN

Regards,

Usha

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

But for the same I need some Standard BAPI which carry out this task, How to find it out?

Read only

0 Likes
1,416

Hi,

I don't find the transaction in my system. Can you give me the description of the transaction?

Or you can go to the BAPI transaction and parse through the bapi tree to find the appropriate bapi.

Alternatively you can search in se37 by giving bapi*<some relevant text>.

Regards,

Ravi

Read only

0 Likes
1,416

Use this BAPI to do that JOB....

BAPI_XBP_JOB_ADD_ABAP_STEP

regards

vijay

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

Yes I will do the same and surely reward points if I get a solution.

Read only

0 Likes
1,416

hi That FM will modify the Job already set.

sorry for that, this is the <b>BAPI_XBP_ADD_JOB_STEP</b> to add a job to a program.

You check this , this will definitely help you...

regards

vijay

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

Hi Vijay,

I went thro' the documentation of the BAPI specified by you, I don't find any relavance of it in my scenario.

Can u explain me a bit how it is related to mine

REgards

Read only

0 Likes
1,416

in the structure <b>STE</b>P we will send the inforamtion of JOb .

please see this structure ...

regards

vijay

Read only

0 Likes
1,416

hi Please close this thread if you problem solves.

and try ro reward for helpful answers...

regards

vijay

Read only

kanthimathikris
Advisor
Advisor
0 Likes
1,416

Friends,

I did a recording and have acheived the result.

Thankyou very much for your replies.

REgards,

Usha