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

No page down function code for BDC

Former Member
0 Likes
1,195

This issue has to do with pro grammatically removing an equipment record from the object list of the maintenance plan item.

I have a BDC I created from a recording to remove a record from the object list of the maintenance plan item in IP05. The problem is that there is no "page down" function code implemented in this screen.

I have tried a number of different routes. The function modules for this functionality are all working with the buffer and not the database (that I can see) and when I try to page down in a BDC to reach an equipment it does not work. I have tried: '=P', '=PEND', '=P+', '+P=' and none of them worked.

If anyone could suggest a BDC method to reach the correct record (multiple pages down) that would be really appreciated.

If you know of an SAP function or BAPI that does this that would be even more exciting.

Thanks in advance for any constructive comments.

When it comes to adding new records this screen has an "New Entries" button which makes it easy to add new records

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
1,018

Did you

  • Perform the recording with box "Simulate Background Mode" checked
  • Analyze the PAI of the dynpro
  • Look for BAPIs
  • Look for other APIs (e.g. such as function group MPLAN_API)
3 REPLIES 3
Read only

matt
Active Contributor
0 Likes
1,018

Using your BDC can you delete a line that you can see? I.e. where you don't need to scroll down?

Read only

RaymondGiuseppi
Active Contributor
1,019

Did you

  • Perform the recording with box "Simulate Background Mode" checked
  • Analyze the PAI of the dynpro
  • Look for BAPIs
  • Look for other APIs (e.g. such as function group MPLAN_API)
Read only

0 Likes
1,018

Hi Raymond,

A colleague found the function below. I tested it and it works. I would have seen this when I was searching but I must have disregarded it as it is an "ISU" function. But it works and does what we need it to do. It is not a satisfactory solution but it will have to do for now.

Thanks for your input. Regards, Martin.

    CALL FUNCTION 'ISU_DB_OBJK_UPDATE'
      EXPORTING
        x_objk     = ls_objk
        x_upd_mode = 'D'.