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

Some query in BDC !

Former Member
0 Likes
1,166

After the recording the abap code we get ....consisting number of " perform bdc_field ...."

Do I require all of them ??

After the recording the abap code we get ....consisting number of " perform bdc_field ...."

Do I require all of them ??

10 REPLIES 10
Read only

bpawanchand
Active Contributor
0 Likes
1,119

Hi

Well yes you need all the performs but you can delete som of the statements from the auto generated code

regards

Pavan

Read only

Former Member
0 Likes
1,119

Yes ,you need all the performs.

Read only

Sidh_M
Participant
0 Likes
1,119

HI,

its not necessary to have all performs. But you should keep those performs to which you want to pass a value on screen.

Regards,

SUDHIR MANJAREKAR

Read only

Former Member
0 Likes
1,119

Hi Sudhir need a little more clarification of what you are trying to say ........what performs i will keep and which i will delete and why ?

thnks

Read only

Former Member
0 Likes
1,119

Hi Friend,

All the BDC_FIELD s are required, because they contain all the field values.

Hope this helps you,

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
1,119

Hi,

It is not mandatory to use all the perform statement,recorded in the bdc recording. But use all perform bdc_fields which data has to be inputted(uploaded) .

Regards.

Manisha

Read only

Sidh_M
Participant
0 Likes
1,119

some times its not necessary to pass values to each and every field on screen(you can keep those field blank and proceed further). so that particular field perform you can comment out or delete from BDC generally we pass blank to those.

for e.g

PERFORM bdc_dynpro USING 'SAPMJ1IFN' '0101'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=ENTE'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RM07M-MBLNR'.

PERFORM bdc_field USING 'RM07M-MBLNR'

matdoc.

PERFORM bdc_field USING 'RM07M-MJAHR'

curryr.

PERFORM bdc_field USING 'J_1IEXCHDR-EXGRP'

' '.

PERFORM bdc_field USING 'J_1IEXCHDR-SRGRP'

' '.

in the above e.g i am passing blank values to last two performs where as i can also eliminate/DELETE both as its not mandatory to fill those fields.

hope this will clear your doubts.

Regards,

SUDHIR MANJAREKAR

Read only

Former Member
0 Likes
1,119

Bluefox,

yes you need desparatley all these perform.because it is exactly the replica of your recording and in these perform you suppose to put your file values.

Amit.

Read only

Former Member
0 Likes
1,119

Hi ,

Generally f4 , f1 , scrolling of screen will not be recorded in bdc

recording so bdc recorde will only capture only the required .

You need all those performs .

If u want you can remove some of

performs like bdc_cursor if you have done any extra positioning of cursor .

reward if useful .

Read only

Former Member
0 Likes
1,119

Hi,

The performs that are used for populating the screen data and field data are mandatory.... You can delete performs that have bdc_cursor in some cases....

Like if you have tabstrip control or table control in your bdc recording then you may need to pass the cursor position.

If you have subscreen in bdc recording... you get all the field values that are present in that screen,,, you can delete the repeated fieldvalues from the recording.. but be careful while deleting the repeated values

regards

padma