SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Передача нескольких значений в call transaction.



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Pavel_sap
Участник
Участник


Age: 40
Joined: 11 Feb 2009
Posts: 14

PostPosted: Fri May 22, 2009 4:28 pm    Post subject: Передача нескольких значений в call transaction. Reply with quote

Добрый день.

Не подскажите, есть ли возможность передать в поле l_field не одно значение, а список значений?

SET PARAMETER ID 'MBN' FIELD l_field.
CALL TRANSACTION 'MB90'.
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 95
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Fri May 22, 2009 4:39 pm    Post subject: Reply with quote

Это программа MM70AMEA, Вы можете select-options передать ее через SUBMIT ... WITH.
Back to top
View user's profile Send private message Blog Visit poster's website
Pavel_sap
Участник
Участник


Age: 40
Joined: 11 Feb 2009
Posts: 14

PostPosted: Fri May 22, 2009 5:09 pm    Post subject: Reply with quote

Да, так и есть. Спасибо. Smile
Только передать разные выборочные значения всё-таки нельзя, а только диапазон из двух значений. Confused
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 95
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Fri May 22, 2009 5:24 pm    Post subject: Reply with quote

Pavel_sap wrote:
Только передать разные выборочные значения всё-таки нельзя, а только диапазон из двух значений. Confused


Разве?

Quote:
Variant 5
... WITH p IN sel


Effect
p is a selection criterion and sel is an internal table which is compatible with p and contains the transfer values. You are recommended to define sel with RANGES. The lines of sel must have exactly the same structure as the lines of a selection table (see SELECT-OPTIONS).

Пример: http://www.sapnet.ru/viewtopic.php?t=691
Back to top
View user's profile Send private message Blog Visit poster's website
Pavel_sap
Участник
Участник


Age: 40
Joined: 11 Feb 2009
Posts: 14

PostPosted: Fri May 22, 2009 5:31 pm    Post subject: Reply with quote

vga wrote:
Pavel_sap wrote:
Только передать разные выборочные значения всё-таки нельзя, а только диапазон из двух значений. Confused


Разве?

Quote:
Variant 5
... WITH p IN sel


Effect
p is a selection criterion and sel is an internal table which is compatible with p and contains the transfer values. You are recommended to define sel with RANGES. The lines of sel must have exactly the same structure as the lines of a selection table (see SELECT-OPTIONS).
http://www.sapnet.ru/viewtopic.php?t=691

я так и сделал. на выходе получаю только один документ.
это видимо потому, что параметр RG_MBLNR имеет указание NO-EXTENSION.

Quote:
Addition 11
... NO-EXTENSION

Effect
The user can only make an entry on one line. Calling the additional "Multiple Selection" screen is not supported and no pushbutton for this appears on the selection screen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.