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

Заявка на перемещение



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



Joined: 28 Nov 2008
Posts: 9

PostPosted: Mon Oct 18, 2010 4:34 pm    Post subject: Заявка на перемещение Reply with quote

Всем привет.
Пытаюсь создать заявку на перемещение используя BAPI_REQUISITION_CREATE, но не могу понять, какие поля нужно заполнять для указания отпускающего склада и завода.
Подскажите плиз.
Back to top
View user's profile Send private message
vga
Мастер
Мастер


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

PostPosted: Mon Oct 18, 2010 5:16 pm    Post subject: Reply with quote

Не смотрели
http://www.sapnet.ru/viewtopic.php?t=437&highlight=bapirequisitioncreate
?

_________________
Молитва - это запрос разработчику на изменение кода программы.
Back to top
View user's profile Send private message Blog Visit poster's website
faraon
Участник
Участник



Joined: 28 Nov 2008
Posts: 9

PostPosted: Mon Oct 18, 2010 5:30 pm    Post subject: Reply with quote

Смотрел, но к сожалению не помогло.
В структуре REQUISITION_ITEMS нет соответствующих полей для отпускающего склада и завода поставщика.
Возможно нужно юзать другую BAPI?
Back to top
View user's profile Send private message
Удав
Гуру
Гуру


Age: 48
Joined: 25 Jan 2008
Posts: 580
Location: Москва

PostPosted: Mon Oct 18, 2010 6:14 pm    Post subject: Reply with quote

Можно использовать таблицу EXTENSIONIN и расширение SAPLMEWQ для заполнения недостающих полей.
_________________
С уважением,
Удав.
Back to top
View user's profile Send private message
faraon
Участник
Участник



Joined: 28 Nov 2008
Posts: 9

PostPosted: Tue Oct 19, 2010 9:48 am    Post subject: Reply with quote

Удав,
Спасибо.
Буду очень признателен, если чуть-чуть "разжуете" как это сделать.
Так как мягко говоря не силен в abap-е, а передаю заявки из framework приложения через rfc.
Заранее спасибо.
Back to top
View user's profile Send private message
faraon
Участник
Участник



Joined: 28 Nov 2008
Posts: 9

PostPosted: Tue Oct 19, 2010 3:30 pm    Post subject: Reply with quote

Правильно ли я понимаю, что нужно объявить структуру типа BAPI_TE_REQUISITION_ITEM, заполнить необходимые поля данными, затем в таблицу EXTENSIONIN передать:
STRUCTURE = 'BAPI_TE_REQUISITION_ITEM'
VALUEPART1 = созданная структура.
Если так, то не могу понять, поле VALUEPART1 имеет тип данных CHAR, как можно ему присвоить структуру?
Соответсвенно поэтму получаю ошибку typemismatch.
Back to top
View user's profile Send private message
faraon
Участник
Участник



Joined: 28 Nov 2008
Posts: 9

PostPosted: Fri Oct 22, 2010 4:32 pm    Post subject: Reply with quote

Переделал на BAPI_PR_CREATE, там есть нужные поля.
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.