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

Page down problem with BDC for PVD0

We are trying to create a BET using the transaction PVD0 using BDC approach. The problem is that on the Relationships tab, where multiple lines can be entered,the OK_CODE for page down is not being registered in the recording. As a result, while processing the BDC, we are unable to populate the values beyond the 7th line. The P+ / P++ functions for pagedown are also not working and the buttons for pagedown are not even active in the GUI Status. Also, unlike most other transactions, we do not have additional buttons to add rows here. Please help!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Nov 15, 2007 at 10:28 AM

    Hi Ipshita,

    Try with BDC_OKCODE = '/00'.

    I know this ok code generally works with enter, but here it can serve another work.

    Hope it will solve the problem.

    Regards

    Krishnendu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2007 at 08:26 AM

    In some cases you may have to pass okcode as '=P+'. Try with that .

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2007 at 08:38 AM

    Hi,

    This is an example for P+ functionality, try in this way for your screen.

     DATA: lv_line3(2) TYPE n.
      CLEAR lv_line3.
      lv_line3 = '01'.
      LOOP AT git_cdata INTO wa_cdata WHERE usr00 = wa_hdata-usr00.
     
        IF lv_line3 > '07'.
          PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=P+'.             " Pagedown
     
          PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENT1'.
     
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'RESBD-VORNR(02)'. "Placing the cursor in the 2nd row of table control.
     
          lv_line3 = '02'. " Making position to 2nd row after page down to populate the values in table control
        ENDIF.

    Reward if this helps,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2007 at 09:32 AM

    Hi,

    None of the OKCODEs =PAUA_T and POPO_T or '=P+' are working for this transaction.

    Regards,

    Ipshita

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 08:01 AM

    Hi,

    The BAPI 'BAPI_BUS_EVENTTYPE_INFO1' can only be used to read information and cannot be used to create a BET. I had already checked the BAPI transaction -there seems to be no BAPI available to create a BET.

    Also, for the other OKCODEs that have been suggested, no 'page down' happens on using them - so the value in the first line of the first page is replaced with the new value intended for the 8th line - and hence a validation error is reported from the transaction.

    Thanks,

    Ipshita.

    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.