‎2007 May 04 5:15 AM
Hi to all,
I have some questions.
Plz give the answers.
1.what are the errors in call transaction.
2. how can u insert one field in bdc program if u forgot to include at starting time.
3.can we call function module and function group at the same time.
Thanks..
‎2007 May 04 5:28 AM
Hi Anubhav,
if u used statemant :
call transaction 'VA03' and skip first screen.
i.e. u want to skip first screen.then it will give error b's on first screen so no is mandatory.
for that use set parameter id statement.
call bdc_field using 'field u want to insert'.
function group is having multiple FM.
U can call a FM not function group.
Reward points if helpful.
Regards,
Hemant
‎2007 May 04 5:21 AM
To insert the new field in BDC program copy the same perform similar to other fields on the screen . find the name of the field on the screen . In copied perform change of field to new field which u need to add .
perform bdc_field using "field name u want to insert"
‎2007 May 04 5:28 AM
hi,
1.what are the errors in call transaction
It depends upon the transaction and the screen.
1.Screen does not exist.
2. Field does not exist in the screen number
3.Date format
4.Align Probelm.
2.2. how can u insert one field in bdc program if u forgot to include at starting time.
find out the screen number and field name .Insert the code manuallhy.
Reward points if it is helpful.
Regards,
Sangeetha.A
‎2007 May 04 5:28 AM
Hi Anubhav,
if u used statemant :
call transaction 'VA03' and skip first screen.
i.e. u want to skip first screen.then it will give error b's on first screen so no is mandatory.
for that use set parameter id statement.
call bdc_field using 'field u want to insert'.
function group is having multiple FM.
U can call a FM not function group.
Reward points if helpful.
Regards,
Hemant
‎2007 May 04 5:31 AM
Errors in call transaction can be... say writing a BDC for MM02 then ... that material would be locked by other running the same transaction.. that is a primary thing...
When you are writing a BDC you can definitely insert a field if you forgot to do so .. by simply adding the perform for that field and passiong on you internal table value.... but the codition here is that, the field you want to include in your BDC should be there present in the BDC that you might have done for the Transaction...
Yeah you can call any function module while writing a BDC Program... because you will be doing nothing but passing some values in FM for getting some output to pass further.... You can do so bcause
BDC runs for the transaction when you
do CALL TRANSACTION ' ' using it_bdcdata.
now here what you do in BDC is populate this internal table it_bdcdata ... thru which recording is done..... So you can call FM.
I hope it will help you ...
Regards,
Jayant.
Pleas award if helpful
‎2007 May 04 5:36 AM
hi
good
2-You cant insert the field during the runtime of the BDC program,yes you can insert the field by doing the demo recording for that particular tcode ,and check which field you r missing in your BDC program.
3-function module besically creates under a function group,so if you r calling a function module internally you r calling a function group.
thanks
mrutyun^
‎2007 May 04 6:46 AM
hi,
Errors in call transcation depends upon many things it might be the field number wht u have taken is wrong or the screen number.
we cant insert it.