Release Sales Order via API without creating Deliviry
How can I use wsh_deliveries_pub.delivery_action api with Sales Order Header / Line reference and without creating delivery.
Is there any Open Interfaces available to automate Sales Order Dispatch?
Please Help.
The requirement is to use information from customized form of Oracle to do the following:
Release sales order
Allocate move order
update allocations from information available in customized form
transact move order
ship confirm
All steps to be automated and information will come from customized form.
Similar Messages
-
Error creating sales order via Interaction Center
While creating a sales order via Interaction Center, I am getting an error "Error while creating member activity for order 5129793", as a result the points are not getting accrued for the account.
Can anyone please help? I am very new to this
Regards,
HarshHi,
Check the partner determination profile in spro for this activity. Try to use a standard profile and see what happens.
Best regards,
Caíque Escaler -
Creating a sales order via lsmw.
Hi,
I am creating sales orders via lsmw. Each of these sales orders may contain any number of line items, i.e. sales order 1 might have 3 line items and the next sales order may have 10.
How do I cater for this in lsmw. Is there a way of saying: when last line item, then start next sales order record?
Any help appreciated.
Regards,
Warren.HI, I create LSMW for sales order. It is working fine for 9 line items. IF more than 9 line item, other item is not updating. Pls provide me a solution. Thanks in Advance.
my email is [email protected] -
Every time system create new production order after releasing sales order c
Hi Guru,
FG material strategy: 82 (sales order creates production order).
After creating the sales order it goes in to credit block. Whenever we release sales order from credit block through VKM1, system has created production order. We confirmed this production order and delivered.
But after this sales person change the sales order value, because of which again sales order goes into the credit block and after releasing sales order from credit block system create new production order even if one production order already confirmed and delivered against the same sales order.
*Every time system create new production order after releasing sales order credit block.
Thanx & regards
pnuPNU,
So, to restate:
In MD04, you have Unrestricted Sales order Stock ('E' Stock) on hand.
In the same MRP segment, and against the same Storage Location as the stock, you have a Sales Order requirement that was recently blocked and unblocked.
During the unblocking event, the system produced a new production order.
This is not normal. If the above accurately depicts your situation, I would look for an altered Strategy 82, or a userexit. SAP ATP (the beginning event of the Strat 82 process) will normally first check for the availability of stock. Only if the stock is not available, then it will create the new production order.
Best Regards,
DB49 -
Error adding Sales order via DI-SERVER Posting Date deviates from the defin
When adding a sales order via the DI-API we have started receiving the following error:
Error: Posting Date deviates from the defined range. To complete the operation, define the posting period to match the entered Posting Date. [(----) 131-204]
I have verified that the posting dates within the document exist within the defined posting periods in SAP and that the posting period in question is unlocked.
I can add the document within the SAP B1 interface without any issues.
This process and code was also working up until the start of the new financial year. There have been no changes to the code or the financial periods in the new year.
There is a peculiarity with the financial periods for this company in that they have moved from calendar periods in the past to financial periods. Has anyone come accross any issues with posting dates and the DI SERVER API?
The dates in the XML document that we are trying to add are shown below.
<Documents>
<row>
<DocDate>20100310</DocDate>
<DocDueDate>20100310</DocDueDate>
<CardCode>C9999</CardCode>
The following are the financial period values from OFPR
Posting Date From/To: 06.03.10 02.04.10
Due Date From/To: 01.01.10 01.04.11
Document Date From/To: 01.01.10 02.04.10
Start of Fiscal Year: 01.01.10
Regards,
SeanHi Gordon,
Our customer has moved their financial year end from 1 April / 31 March using calendar months to a 4/4/5 financial period model with a year start date from Jan.
This was necessary after the company was purchased by a US firm that wanted to align the reporting calendars.
Under the 4/4/5 model their financial year start date does not start 1st January. Hence the 3/1/2010 being the first date of the January period.
No matter how the periods are setup the financial year start date in SAP Business One cannot be anything other than the 1st of the month.
All posting within SAP appears to be working fine, it is only via the DI SERVER requests that we seem to be having problems.
However, we suspect that the issue may be unrelated to the posting periods due to some other testing performed.
Regards,
Sean -
How to setup to change status line sale order via shipping transaction
Hi all,
When create sale order Qty = 10 and Lot_xx = 10 but i want to reserve qty = 7 and . In this business will be reservation Qty order for jot and lot only
acction plan below 2 case :
Case (1)
Via Release sale order form :
Enter sale order number and check box prior reservation only.
Via Shipping Transaction form :
Line sale order will be slip 2 line
Line 1 status is stage/Pick Confirm Qty = 7
Line 2 status id Redy to Release Qty = 3
Go to ship confirm
---> Line 1 status is Interface
Line 2status is cancle
***** I dont want Line 2 is cancle i want this line backorder. I believe oracle will be can setup option to choose backorder or cancle line sale order after release sale order. But i don't know to setup this.
Case (2)
Via Release sale order form :
Enter sale order number and dont dont check box prior reservation only.
Via Shipping Transaction form :
Line sale order will be slip 2 line
Line 1 status is stage/Pick Confirm Qty = 7 Lot_xx
Line 2 status id stage/Pick Confirm Qty = 3 Lot_yy Automatic select Lot other
******* In face I think when reserve spacific and release sale order will be release Qty = 7 only and Qty = 3 is get backorder. But in face Line Qty = 3 status is stage/pick confirm and seletc Lot_yy, i don't want this and how to best solution.
Best Regards,
Prathana.You can write a simple pl/sql logic to get the correct org id. I am assuming that you have two responsibilities in the same operating unit and one should default with A and one should default with C. Both use the same order type.
When the resp that is responsible for org A, will have org A from order type.
For resp that is responsible for org C, you can create a pl/sql logic where you read the current responsibility using fnd_profile.value('RESP_ID'). If the resp_id is responsible for C then return organization_id of C.
You can find example code for order line entity for attribute tax code.
Let me know if you need anymore info.
Thanks
Nagamohan -
Repeat credit checking for released sales orders
Hi,
We are implementing FSCM Credit management in our project. In our system, when the sales order is created, the credit check will happen and the failed orders will go to VKM1. Till the order is released, any change to that order will trigger the credit checking process.
But once the credit block is released in VKM1, Credit checking is triggering only for
Quantity change
Adding new line items
Credit checking is not triggering for any other changes to the SO like deleting the line item changing the payment terms etc..
I would like to know if there is any control in FSCM Credit management to repeat the credit checking process for the released sales orders.
Appreciate any help in this regard.
Thanks
PrabhakarHi Prabhakar,
Navigate to Financial Supply Chain Management--> Credit Management--> Integration with sales and distribution-->define automatic credit control.
Over there you need to check critical fields check box for this to happen. Hope this helps -
Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio
Hi,
I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
Is this normal? i want that this will take 3 value either 0?
Could anyone help me?
ThxHi,
Thank you for ur answer.
I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
What is the solution that you propose to me?
I've try this one on debugger mode:
The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
1. Is it possible to code this modification?
2. Is there a way to structure the Idoc for having this sequence in bdcdata?
Thanks in advance!
Narivelo -
List of Released Sales order USER ID'S wise Report
Hi,
Where can i get List of Released Sales order.The problem is we have 3 user ID's to release orders.So i need user ID's wise release orders report.In VKM2 its not working even if i give credit representative group.Thanks in advance.
Rgds,
NAGDear Sudhir,
T. Code: SE16
Table: VBAK
It will list out the Sales Orders, along with Created by and Created On..and many more informations*.
(You may group your Sales Doc. Result, based upon Transaction Group as "0 - Sales Doc." and Dcoument Category as "C - Sales Order").
Best Regards,
Amit.
*To view/select felds, from Menu-bar,
Settings --> Format_list --> choode fields -
Order to cash flow(not able to see order number in release sales order)
Working on order to cash flow.Following these steps
Creating a requisition (Purchasing)
Approve
Creating internal orders(Purchasing)
Import Orders(Order Management)
I'm able to see the order number,in order returns,order organizer
Shipping>Release sales order>release sales order
Not able to see the order number here for Pick releaseHello,
Do you have grants and role to your inventory? if not check Re: Org Code grayed out and defaulted in Shipping Trx form
Regards,
Luko -
How to add freight in sales order via DI ?
Hi,
Does anyone know how I can set the freight value when I try to create sales order via DI. I checked SDK help, there is fields like BaseAmountSC. But it is read-only in DI. And I also found there is a table called RDR3, it says it is about freight in sales order but how I can access it in DI? Any suggestion?
Thanks a lot !
LanHi Gordon,
Thanks for your reply. I think we have setup the code in SAP B1 because when I click the arrow button beside freight label in SAP B1, it will pop up a screen which I can type freight. But my question is how I can set the freight in DI? Which object in DI level refers to freight and how I can link this object to sales order document?
Thanks,
Lan -
Mass Generation of Sales Orders via Marketing Projects
Hi all,
Is it possible to generete ERP order when using the functionality for mass generation of sales orders via marketing projects?
cheers CamillaHi Camilla,
We need to see your requirement by breaking it into two steps. Both are possible.
1) Generating Mass orders in CRM using the marketing Projects.
2) Creating ERP order.
Technically what you want is achievable. Personally i have not done it, but am confident it is possible.
You may refer to these links to get more info.
http://help.sap.com/scenarios_bus2007/helpdata/en/47/31a375878f203de10000000a114a6b/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-crm/generate-sales-orders-in-mass-based-on-marketing-campaign-crm-60-2943656
rgrds,
Randhir -
Hi,
I have written a routine which will call the FM SD_ORDER_CREDIT_CHECK whenever there is a rejection and again unrejection of a same sales order, we are only concerned about already credit released sales orders, the scenario is as follow
1). Sales order created in the system --> Credit check --> Credit blocked
2). Release credit block manually CMGST =D
3). Reject sales order then unreject the same
4) Routine will determine rejection and unrejection of the order while saving and will call the FM SD_ORDER_CREDIT_CHECK
5) The order is credit checked and blocked if necessary
All goes well till this point
but when the same sales order is rejeceted and unrejected multiple times either partially/ fully then the Custom routine calls the FM for credit check but the FM fails to put the order back on credit hold
in short the FM works only for the first time incase of mutiple rejection and unrejection of teh same sales order then the FM SD_ORDER_CREDIT_CHECK fails to put the order back on credit hold from the second time onwards
if some one any idea of the behavior of this FM please share your thoughts and inputs . thanks !!Issue resolved
The Standard FM “SD_ORDER_CREDIT _CHECK” uses the field “Release date of the document determined by credit management VBAK – CMFRE”
For any sales order that is manually credit released in a single day, Only one credit check is triggered (per day) if there is any change in the sales order and then the order goes back to credit hold and if again the order is manually credit released for the second time in a single day there will be no credit check (still the order will pass into FM but the update entry in the internal table will be blank)this is a standard functionality
Process of rejection and unrejection :
Blocked order -->released-->blocked again (first time after manual release same day) unrejected (same day) -->but no credit check (all this in a single day)
note : OVA8 - released document still unchecked = 0 Days , Deviation %= blank -
Release Sales Order from web service
Hi Team,
I have been trying to use the relase action in the ManageSalesOrder web service to no avail. Everytime I use the xml to SOAPUI to send the request with sales order id, it kicks back saying not authorized.
I am using the ManageSalesOrder to do multiple other things through SOAPUI, this one seems to be the only stickler.
1. I can create the sales order just fine.
2. I can set the price of the item
3. Various other things.
Any thoughts would be greatly appreciated!!That was great insight and worked great!
I am trying to take the released sales order all the way to invoice.
Sales Order > Release > Delivery Propsal > Release > Invoice Request
Once I am at Invoice Request the status of my sales order (invoice) is "Processed" when it should be "To Be invoiced"
I am not clear on this:
When I am at Work Center : OutBound Logistics > Delivery Control: Delivery Proposal
How and which web service do I use to "Post Goods Issue"(in the GUI when "Post Goods Issue" button is clicked it requires you to fill out "Actual Quantity").
In this screen shot:
the first item was create through the GUI use the Devlivery Propsal "Post Goods Issue" button.
the second item was created throug ManageSalesOrder web service.
Any feedback will be greatly appreciated! -
Credit Block released Sales order report
Hi Experts,
My client is given few sales orders (around 4)no and requesting us, to prepare the credit block released sales orders report (include released person user ID).
*.No change logs is existing for all sales order and deliveries.
For above requirement I am using CDHDR table data but I am not getting credit block released sales order report.
Below fields I am using in CDHDR Table.
Change doc.Object (objectclas) : VERKBELEG
Document No (CHANGENR): Sales order no XXXXXXX
Transaction no (TCODE) : VKM1,VKM2,VKM3
Date(UDATE) : 25.09.2011 to 09.11.2011
Experts, Can you please help me out for this.
Thanking you!!!!
Regards,
Vijaykumar Kola
*.I'm already aware of this is a new development.Try this, simple report... Here we check the new value of credit status field VBUK-CMGST and if it is 'D' we know that someone used VKM* transaction to release the document. Also you need to format the sales order number with leading zeros so it occupies all 10 digits and pass it to CDHDR-OBJECTID field (and not CHANGENR field). In the below code I am using select option for sales order number, so I know it will be formatted with leading zeros and so select on CDHDR will be successful.
*& Report ZTV_TEST
REPORT ztv_test.
TABLES: vbak, cdhdr.
SELECT-OPTIONS: s_saldoc FOR vbak-vbeln OBLIGATORY,
s_udate FOR cdhdr-udate.
RANGES: r_objid FOR cdhdr-objectclas.
DATA: ls_cdhdr TYPE cdhdr,
ls_cdpos TYPE cdpos.
IF NOT s_saldoc IS INITIAL.
LOOP AT s_saldoc.
MOVE-CORRESPONDING s_saldoc TO r_objid.
CONDENSE: r_objid-high, r_objid-low.
APPEND r_objid.
ENDLOOP.
ENDIF.
CHECK NOT r_objid[] IS INITIAL.
SELECT *
INTO ls_cdhdr
FROM cdhdr
WHERE objectclas = 'VERKBELEG' AND
objectid IN r_objid AND
udate IN s_udate AND
tcode LIKE 'VKM%'.
SELECT SINGLE *
INTO ls_cdpos
FROM cdpos
WHERE objectclas = ls_cdhdr-objectclas AND
objectid = ls_cdhdr-objectid AND
changenr = ls_cdhdr-changenr AND
tabname = 'VBUK' AND
fname = 'CMGST' AND
value_new = 'D'.
IF sy-subrc = 0.
WRITE:/ ls_cdhdr-objectid(10), ls_cdhdr-username,
ls_cdhdr-udate, ls_cdhdr-utime.
ENDIF.
ENDSELECT.
Maybe you are looking for
-
i have windows 7 and a2nd gen ipod touch and i just aquired an ipod classic which is a 5th gen from 2005 with a 30 gb capacity. can i download a video movie or episode and songs from the current itunes i use for my ipod touch or is there a different
-
Creation of Opportunity using standard BAPI
Hello, I am using BAPI_OPPORTUNITY_CREATEMULTI for creating opportunity. It is generating GUID and Oject ID. But the data is not storing in data base table except GUID in CRMD_OPPORT_H table. And even it is not displaying all the data which i
-
Idoc is recieved on port but only control data
Hi all, I hav created a program to send data on file port. Idoc gives status 03. but we we see data on recieving port (when file is generated)then data is abent only control data is recieved . No data records are there.I'm using FM EDI_OUTPUT_NEW to
-
Emptying Trash Refuses to Work?
Emptying Trash quits everytime I try to empty the trash.
-
Hi, I want to know if it's possible to avoid using an index in a query. For example I defined 3 column indexes on a table named "SUMMARY_VECTOR" with the following names respectively: 1-SUMMARY_VECTOR_ENTITY_NAME_IDX 2-SUMMARY_VECTOR_IDX_CASE_NAME 3-