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

Batch Input for a Table Control: scroll down

Former Member
0 Likes
2,818

Hello,

I meet a problem creating batch input session for a transaction MIRO.

There is a screen with table control I need to feel with values. On the visible area of the screen there are only 8 lines of this control. It has no any 'New row' or 'Next page' buttons. Only a simple scroll bar.

When I tried just to feel it using fields names like name(01), name(02) ... name(09), the error was with fields starting from name(09). As there are only 8 fields on the visible area, and field(09) is unknown.

If I press 'Down' on the scroll bar in SHDB transaction and then fill next field, SHDB write it down as ok-code '/00' and new field name is again name(08). But if I then reproduce the SHDB record, ok-code '/00' doesn't lead to an appearing of a new input field in the table control.....it doesn't 'press' scroll bar down button.

Is there any way to fill this table control with more that 8 entries using batch input?

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,776

You have to find the actual ok_code (/00 is "Enter") or use the "goto position" field and icon under the table control. (ok_code = "POS")

In [Note 381630 - Batch input for Enjoy transaction in MM not possible|https://service.sap.com/sap/support/notes/381630] and in [Note 381593 - MIRO/MIR7/MIRA: Batch Input is not possible|https://service.sap.com/sap/support/notes/381593] SAP has written that MIRO is no longuer suitable for BDC, they suggest BAPIs like BAPI_INCOMINGINVOICE_CREATE.

Regards,

Raymond

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,777

You have to find the actual ok_code (/00 is "Enter") or use the "goto position" field and icon under the table control. (ok_code = "POS")

In [Note 381630 - Batch input for Enjoy transaction in MM not possible|https://service.sap.com/sap/support/notes/381630] and in [Note 381593 - MIRO/MIR7/MIRA: Batch Input is not possible|https://service.sap.com/sap/support/notes/381593] SAP has written that MIRO is no longuer suitable for BDC, they suggest BAPIs like BAPI_INCOMINGINVOICE_CREATE.

Regards,

Raymond

Read only

0 Likes
1,776

I think it's a case of 'Note 381593 - MIRO/MIR7/MIRA: Batch Input is not possible'. There are no any additional fields-buttons, just simple table control and a scroll bar.

I solved it by implementing enhancement in PBO of the required screen and filling local table (that is used by table control) at the first time.

Read only

0 Likes
1,776

hi aleksandr.

I know that its a reply on a very old post (2010...) , but maybe you can help me.

Can you send me the details of your enhancement  on pbo ?

I wanted to insert an enhancement on screen 6221 of MIRO (fg mr1m) , but SAP didn't open an exit for it.

Thank you,

Koby.

Read only

0 Likes
1,776

Hi Kobi.

It was really long time ago

Actually, I didn't enhanced the screen itself.

I just added Implicit Enhancement in one of the PBO module and changed the table data to be displayed.

Screen itself can be changed only via modification I think.

Regards,

Aleks