Skip to Content
author's profile photo Former Member
Former Member

Some query in BDC !

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

Do I require all of them ??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

9 Answers

  • Posted on Jul 07, 2008 at 11:20 AM

    Hi

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

    regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 11:21 AM

    Yes ,you need all the performs.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2008 at 11:29 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 11:35 AM

    Hi Friend,

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

    Hope this helps you,

    Regards,

    Chandra Sekhar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 11:40 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2008 at 11:44 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2008 at 11:44 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 11:57 AM

    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 .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.