‎2008 Dec 09 5:21 AM
Hi experts, pls help solve the issues. Thx.
Issue 1: Fail to create sales orders with credit block. The system considers it as error due to credit block.
Issue 3: If sales orders with credit block are created, which FM is appropriate to release them (T code VKM1)?
Issue 3: The system pops up "required function ENT1 is not available here" error msg when running SE37 for some special sales orders. Those sales orders' price is maintained via condition records (T code VK11). Thus, price is automatically captured when creating sales orders, i.e. manual entry is not allowed. Condition records are already maintained for those orders.
‎2008 Dec 09 7:50 AM
‎2008 Dec 09 9:23 AM
Hi You can use the below function modules.
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
Thanks
‎2008 Dec 09 2:58 PM
Hi the experts, many thx for both of you prompt reply.
BAPI_SALESORDER_CREATEFROMDAT2 is already applied. The question is the above issues I raised occur when using it.
Btw, one more issue occurs - this FM can create sales orders with SD doc cat. C only. If using SD_SALESDOCUMENT_CREATE, it defintely can create sales orders with SD doc cat. H, etc. But, it's said this FM may cause many errors when put in use.
Pls help. Thx again.
‎2008 Dec 09 4:33 PM
Hi Cathy,
U can use BAD I BADI_SD_SALES ~SAVE_METHOD.
To post the document or u need only BAPI.
Thanks
‎2008 Dec 10 7:15 AM
Hi Tarangini, the system says this FM does not exist. It is BADI instead of BAPI, right? Pls help. Thx.
‎2008 Dec 10 11:49 AM
Hi,
It is BADI not the FM.U can see it in Se18.
MEthods with in that BADI and paarmeters for thsi BADI.
If it suits u r requiremnt then u can implement this BADI.
Thanks