Middleware: Change sales order status
Hi,
I am trying to change the status of a sales order within the middleware.
For manupulation of the data I use a custom implementation
of 'CRM_DATAEXCHG_BADI' and there the interface 'CRM_DATAEXCH_R3D_MBDOC_FILL'.
Is interface is called after the MBDOC is filled.
So now I like to change the status of the sales order in that BDOC. I use the table 'STATUS' within the structure ct_bus_trans_msg. This is working fine as long as there is just one action on side of R3, e.g. created delivery for order.
However, when I create a delivery and PGI in R3, I am not able to set the status for my sales order. Worst I do not even see where the status is set by the R3.
Thanks for any help on this topic,
Tim
Tim, I am wondering what is the origin of the sales order? I assume the order was created in CRM and PGI'd in ECC. If so which version of CRM are you running since tthere can be an issue with the changebility of the order in a different system. Tiest.
Similar Messages
-
Manually change sales order status
Hi All friends
I have one requirement where i need to manually change the sales order overall process status "completely process" VBUK-GBTSK.
Please suggest me how can i achieve this.
Regards
ShambhuDear Shanmbhuda ,
you have to Configure the Rejection reasons in the IMG:
T-code: OVAG
Rejection reason for the Item Level in Sapro
Assign the following Tick to
NRP: Not Relavent fro Printing
OLI :Cost Line Item Open Again
BIC not relavent for billing
Statistical Valus :
Assign the Tick in the OLI and Statistical Values BIC
your overall staus will be completed.
regards,
Amlan Sarkar -
Force changing sales order status to completed
Dear Expert,
Is it possible to use a function module or execute a report to force change the status of a sales order to completed?
Setting reason for rejection is an option; however, I would like to know if it's possible via an FM or a report.
Sincerely,
Vitthavat A.Lakshmipathi wrote:
Through MASS itself, you can select the Reason for Rejection and change the status of sale orders in bulk.
>
>
> G. Lakshmipathi
You meant I will need to change the status indirectly by changing reason for rejection, right?
Can I change the status directly in MASS without changing the reason for jection?
Vitthavat A. -
Changing sales order status in ECC and CRM simultaneously
I am creating a sales order in CRM 2007 system, at the same time i am creating a trading contract for the same order in ECC system. My requirement is, when i change the status of order in ECC, it should reflect back in the CRM system. Please give some help in this issue. Is there any BAPI/BADI which can be helpfull to solve this.
hi,
If u found out the bapi/badi for ur requirement,please do reply bcoz i got the same requirement.
Thanks in advance,
Srinivas.
Edited by: srinivasa reddy mallidi on Feb 3, 2009 3:04 PM
Edited by: srinivasa reddy mallidi on Feb 3, 2009 3:04 PM -
Changing Sales order Status (Z-Status Profile) without manual intervention
Hi All,
I have a Z-Status Profile created for Sales Order. There are about 6 statuses in this profile. An enhancement requires change of particularly two statuses only by the user exit after certain calcualtions and not manually by any user in any case.
Can anyone suggest a way to handle this case? If authorization object should be created then based on which fields should this authorization object be created? If not, this there any other way to handle this.
Thanks,
Sophia XavierHi Pete,
Thanks for your reply. The usage of the User Exit and the Function Module is quite clear. My question is how do we control the change of two statuses only by the User Exit without any manual intervention, i.e., no user should be able to change these two statuses manually,only the program should be able to do this..How do we handle this scenario?
Thanks,
Sophia Xavier -
User exit to change sales order status once a delivery is created
Hello Experts,
I want to update the Overall status(VBSTT-GBSTA_BEZ) of a sales order to completed once a delivery is created for that order.Please guide me how can i do this and also the user exit or badi where i can write the code for this.
Thanks in advance.
Regards,
KoustubhGot the complet guidance in new thread.
User Exit to update Sales order text (Terms of delivery) on saving it
Thanks -
Sale Order Status Change after delivery of materials from projects
have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
Regards,
RanjanHi,
In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
Thanks & Regards,
Biplab Ranjan -
Capture Change in Sales Order Status
Dear All,
I have an issue in which i need to capture all the sales order in which change has taken place in a given day.
I have checked CDHDR & CDPOS but they arent helpful as they are not updated when there is change in status of sales order.
Could you please suggest a method by which i can track change in sales order status as well for a given date
Best Regards,
RonakHi ronak,
Hi,
For Overall Header status and administrative data you can check in VBUK table.
For overall Item status and administrative data you can check in "VBUP" table.
In both these cases you have to pass the order number number only in SE11/SE16 T.Code.
For object status you have to check in "JCDS" table.
In this initially you have to pass the order number in "VBAK" table and then fetch the "OBJNR" for that order.
Pass this OBJNR into "JCDS" to get the header object status in SE11/SE16 T.Code.
Regards,
Sachin -
Sale Order Status after dellivery of materials from Projects
Hi,
I have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
Thank you in advance.
Regards,
RanjanHi,
In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
Thanks & Regards,
Biplab Ranjan -
Getting error in while changing sales order which is created using BAPI
Hi All,
I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
Error mesage : No status object is available for SDI 300082407/10 (Order Number/Item Number)
In Header i am passing these values ...
wa_order_header_in-doc_type = vbak-auart.
wa_order_header_in-sales_org = vbak-vkorg.
wa_order_header_in-distr_chan = vbak-vtweg.
wa_order_header_in-division = vbak-spart.
Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
REFOBJECTTYPE
REFOBJECTKEY
REFDOCTYPE
Regards,
Sudhakar Reddy Arectified
-
Possible to Change the Order Status
Hai
When i am booking the sales order the status is showing the Booked is it possible to change the Booked status according to the customer requirement ....
thanks in advance
M.Meenashi SundaramHai its possible to change the order status from the
setup>quick codes>order management>
type --flow status
we can able to change it
thanks
M.Meenashi Sundaram -
Hi,
Can anybody tell me how to make a sales order status as 'unapproved'?
Thanks and Regards
SurabhiHi Surabhi,
Do you know how to change the status from unapproved to open for a sales orders please?
Thanks
best regards
Sarah -
Sales order status is not Closed when copy to AR Invoice
Hi,
Are there any known scenarios where sales order status is not changed to Closed and SO open qty not changed to zero after SO is fully copied to AR Invoice?
Please advise. Thanks.
Regards,
PriscillaHi Jitin,
1. For this case, the sales order line status is not closed and the open qty is also not zero although the SO qty are fully invoiced
2. Customer SBO version is 8.8 PL13.
3. There is no SP_TransactionNotification created in this customer environment.
FYI, there is no target entry shown in the sales order document as well. Hence, customer is not able to trace which open sales order has been copied to an AR Invoice target document.
Customer has a few scenarios for the above issue:
1. Multiple Sales orders copied to 1 AR Invoice.
2. One sales order to many AR Invoice.
Since there is no target entry updated in the sales order, is there any SQL query to check which sales order has been copied to a AR Invoice document to rectify the above issue.
Thanks.
Regards,
Priscilla -
Internal Sales order Status should remain Entered
Internal Sales order Status should remain Entered.
Here it is automatically getting BOOKED
1) I have created one PR -100
2) Approved it
3) Ran create internal orders
4) Login as Order Management responsibility.
5) Import orders
6) Searched for the ISO -200.
7) It’s status is in BOOKED
We want the status of Internal sales order to remain = Entered.
So that changes can be made to the sales order.
Is there any profile options?Hello,
I realize this is an old thread but it is exactly what I have encountered.
I am able to import an internal Sales Order with a Status of Entered. However, I need to import these orders with a Status of Booked (we have no process for Booking Internal Sales Orders).
We are on 11.5.10.2 EBS on 10.2.0.4 DB.
We have multiple inventory orgs but we have only processed Internal order between two of them P Org to F Org. those internal Sales orders are imported with a Status of Booked.
However we need to have Internal Sales Order from P Org to N Org. When I import these internal Sales Orders they import with a Status of Entered.
As it works as expected in one Org but not the other, I believe it must be a Org setup issue.
Any suggestions on where to look? -
Hi,
I have made a sales order status profile & assigned it. It is working fine. However, i am having difficulty in assigning authorisations to the particular users. The Basis consultant has advised that it is a purely functional issue. How do i go about authorising the particular users to status profiles.
Kindly help in this regards,
Thanks in advance,
HussainHello,
Use Tcode PFCG. Enter role and click on change button. Authorizations tab.
Click on authorization data .
Expand the Cross-application Authorization Objects tree. Expand Status Management:
Set/Delete User Status using Transaction.
Authorization key button, assign Authorization key.
status profile. Assign status profile.
Maintain authorization key (authorization code) in status profile with Basis help
To add authorization code use Tcode BS52.
Also, refer Status Profile Settings
Thanks & Regards
JP
Maybe you are looking for
-
How to Transfer Rows from one table to another in a different Page
Hi Friends, My problem is; I need to call a custom page as a popup using Java-Script. ( This is because our business users want the multi-select LOV to look and function differently ). I have a table in the popped-up page from where; upon a button ac
-
Safari quitting on me randomly
Safari keeps quiting unexpectedly, here is my report can anyone please help me?? Process: Safari [408] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.5 (6533.21.1) Build
-
Sql_text in Dba_audit_trail view
Hi everyone, We are using oracle 10g in windows platform. We have enabled auditing for the particular user. If we execute any Sp belongs that user, audit trail view shows the details. details of the Sp: CREATE OR REPLACE procedure test_proc myval in
-
How to convert the query to function
Please help to convert the below given query to a function : SELECT ITEM_CODE, ITEM_NAME, ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL, ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL, ROUND(OUTQTY/CNV/ML,2) OUTQTY,ROUND(OUTVAL,3)OUTVAL
-
I noticed today that when I am logged into my system as me "carlos", I get a different response between the following two commands: [carlos@tuna ~]$ groups audio users and [carlos@tuna ~]$ groups carlos audio optical users Aren't they the same thing?