2008 Jul 07 12:19 PM
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 ??
2008 Jul 07 12:20 PM
Hi
Well yes you need all the performs but you can delete som of the statements from the auto generated code
regards
Pavan
2008 Jul 07 12:21 PM
2008 Jul 07 12:29 PM
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
2008 Jul 07 12:35 PM
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
2008 Jul 07 12:35 PM
Hi Friend,
All the BDC_FIELD s are required, because they contain all the field values.
Hope this helps you,
Regards,
Chandra Sekhar
2008 Jul 07 12:40 PM
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
2008 Jul 07 12:44 PM
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
2008 Jul 07 12:44 PM
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.
2008 Jul 07 12:57 PM
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 .
2008 Jul 07 1:05 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |