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

Как определить Blanket Order (общий заказ)



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
den
Старший специалист
Старший специалист



Joined: 11 Oct 2007
Posts: 103

PostPosted: Wed Jun 10, 2009 1:47 pm    Post subject: Как определить Blanket Order (общий заказ) Reply with quote

Здравствуйте!
Подскажите, как определить, что Purchase Order имеет тип Blanket Order? Как подсказали, это заказ, имеющий ссылку на контракт по сумме или по сроку действия.

Проблема появляется при создании Инвойса через bapi, если заполняется количество матриала и единица измерения для некоторых типов PO.

Quote:
Quantities and units of measure (table parameter ITEMDATA, line 000001) not permitted
Message no. M8 416

Diagnosis
You have entered a value in one of the following quantity fields in line ITEMDATA of table Itemdata (reference to a service PO with non-service based invoice verification or reference to a blanket PO), even though this is not permitted:

- Quantity (QUANTITY)

- PO unit of measure (PO_UNIT)

- PO unit of measure in ISO code (PO_UNIT_ISO)

- Quantity in PO price unit of measure (PO_PR_QNT)

- PO price unit of measure (PO_PR_UOM)

- PO price unit of measure in ISO code (PO_PR_UOM_ISO)

Procedure
Enter an initial value in the all of the above quantity fields.
Back to top
View user's profile Send private message
vga
Мастер
Мастер


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

PostPosted: Wed Jun 10, 2009 3:11 pm    Post subject: Reply with quote

Думаю так:

Code:
      IF ekko-bsart = 'FO' OR  "Framework Order -  Blanket Order
        ekpo-pstyp = '1' OR     "Limit
        ekpo-pstyp = '9'.       "Service
Back to top
View user's profile Send private message Blog Visit poster's website
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.