Sales Orders with CO-PA characteristics
Hello,
We are using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders. According to the project specifications, we need to fill the Profitability Segment data, found in the Account Assignment tab of the item screen in transaction VA01. So far, we have not found a way to enter the CO-PA characteristics in the BAPI, just like we would do entering the SO manually through VA01.
I believe that this task may be performed by another BAPI, that is called after the sales order creation, but I'm not sure. If so, what is the BAPI to use, and how do we link CO-PA data to the sales order items?
Please let me know if you find that this question would fit better in another forum - it has been some weeks in the SD forum, with no results.
Regards,
Joao
Hello Richard,
So far I didn't follow Christophe's suggestion - I believe that, if I don't need the user exit to enter the characteristics manually, I should not need it to enter the characteristics via BAPI.
Apart from that, I do not know the answer to your question. Please follow another post that I have in the FI-CO section, perhaps it can help - but I'm beginning to believe that I will have to build a batch-input function module to call after the sales order creatiing BAPI
Regards
Joao
Similar Messages
-
Sales Order with Variant Configuration
I´m trying to create a Sales Order with Variant Configuration.
First, I tried to create the order with the BAPI SD_SALESDOCUMENT_CREATE but It would not let me update characteristics.
Then I separated into two BAPI's:
SD_SALESDOCUMENT_CREATE to create Sales Order and BAPI_SALESORDER_CHANGE to modify the characteristics.
I run the two SAP BAPI's from SAP and create the Sales Order and make the characteristics correctly, but when I try to invoke from The Middleware the message V1 555 The sales document is not yeat complete is displayed and does not update the characteristics.
Both functions are such as Remote-enabled Module.
The remote user profile is SAP ALL
Reviewing where the message is used, I see that the message is in the include MV45AF0B_BELEG_BEARBEITEN_ENDE
IF DA_LINES> 0 AND
SY-NE SPACE AND BINPT
CTU_AMODUS BI_INFO-NA 'A' AND
CATTAKTIV IS INITIAL.
MESSAGE I555.
ENDIF.
Do you have any idea why since Middleware is not working?.
Best Regards.
Blanca Segovia.Hi Diwakar
I changed the creation of Sales Order using only SD_SALESDOCUMENT_CREATE and using Commit Work and it is the same, running the function from se37 create the Sales Order and make the characteristics correctly, but when I try to invoke from The Middleware the message V1 555 The sales document is not yeat complete is displayed and does not update the characteristics.
I Open that Sales order in VA02 and check 'Incompletion Log' the screen show 1 Configuration, I Open the tab of the characteristics without changing the characteristics and only save, then the status changes to Complete document.
You give me another idea that could be happening?
Thank you very much.
Blanca Segovia. -
COPA - Multiple Sales Order with one wbs element. COPA does not reference
COPA - Multiple Sales Order with one wbs element. COPA does not reference of reference of sales order.
Hi All
Currently we are in process of implementation of project related to Club Service for one of the client.
Concept of this project is - there is "X" company engaged in supporting the different shared services for their client e.g. Client IBM - Shared Support Services of IBM is
u2022 IDM
u2022 Software Installation
u2022 Help Desk
u2022 Maintenance
Co.. "X' is performing these services for IBM. So for Co. "X" - IBM is one engagement. Like this way Co. X is performing such activities for many companies e.g. microsoft, HP, ABN AMRO etc.
Objective - Get the consolidate report from COPA (Customer wise/services wise/sales order wise e.g. IBM/HelpDesk/10002/10).
We propose a solution to create a project for each engagement and with WBS element. Each WBS element of different services e.g.
Project IBM Inc. 100.100
WBS Element 100.100.IDM
WBS Element 100.100.SoftIns
WBS Element 100.100.HelpDesk
WBS Element 100.100.Maintainance
For this engagement (IBM), we are creating a sales order with line items (for services) and account assignment is WBS element. In a sales order, there may be two lines for one services. In a particular period, there are many such sales orders for this engagement... Milestone billing/period billing is used depending upon the services rendered.
Now Cost Object will be WBS Element. So cost and revenue will posted to WBS and from this it goes to COPA. In a month of May 2009 two - sales order is booked with three different line items with account assignment is WBS element.
Sales Order Line Item No.....Item Account Assignment Revenue
10000 100 IDM 100.100.IDM 1000
10000 200 HELPDESK 100.100.HelpDesk 2000
10000 100 Maintenance 100.100.Maintainance 3000
Another Sales order booked with two different line items
10000 100 IDM 100.100.IDM 3000
10000 200 HELPDESK 100.100.HelpDesk 4000
Cost will be booked directly against WBS element.
In sales order level, there is no profitability segment, as cost object is WBS element.
Billing, revenue will be posted directly to wbs element, from this revenue and cost of sales goes to COPA.
Now in COPA,
1.There is only one line for WBS element ex. 100.100.IDM with revenue 4000 (combing both the sales order)
2.There is only one line for WBS element ex. 100.100.HelpDesk with revenue 6000 (combing both the sales order)
3.There is only one line for WBS element ex. 100.100.Maintainance with revenue 4000
In above case 1 & 2 we will not have reference of sales order and sales order line item in COPA table. There is only one line for this. So we can not have reporting to sales order level.
Is there any way by this the reference of sales order and sales order line will come in COPA for case 1 & 2.
Please help in this issue.
Regards
Abhay Dev
Ph:- 91-22-67782229
Cell:- 91-9819175185Hi,
For these case (multiple materials with different characteristics); have you consider going to next level of WBS Elements. Meaning; lets say currently you are assigning WBS "Engineering (which is a level 2 WBS)" to all the items in SO. Instead under "Engineering" create 2 or 3 level 3 WBS Elements as E1, E2 etc and assign them 1:1 to your sales order line items. This would eliminate the exit as welll as complex development option. And also will let you get all the data in COPA and in turn you can pull to BW as well for reporting. Just a thought.
Regards
Sreekanth -
HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?
Dear All,
I want to contol on creation of Sales order with reference to earlier SO? While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
NikhilNikhil Deshpande,
If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
Thanks,
Mariano. -
Restrict manual change in sales order with respect to quotation
Hi All,
The user use to create sales order with respect to quotation. The user can able to change pricing as well as some header and item fields. How can I restrict user for manual change in sales order expect some specific fields.
Thanks.Hi Sunil,
It is possible through configuration better you can post in sd forums.
For the condition type settings , ensure that the manual entries is 'D'. it wont allow any changes in the order.
Regards,
Madhu.
Edited by: madhurao123 on Aug 1, 2011 1:08 PM -
Report for sales orders with abnormal discounts
Hi
We have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
How do i get this report..Kindly provide me the table names&logic ...
Reg
JJWe have a discount condition type say ZDIS with 10% which is not changeable manually in sales order..But incase if the user has changed the condition master to 12% and created the sales order with 12%disc...Hence i need a report, the list of sales orders with the abnormal discounts..(the sales orders with the discount value more or less than 10%)..
How do i get this report..Kindly provide me the table names&logic ...
Select KNUMH where KONP-KSCHL EQ ZDIS ( Condition record number)
Select KONV-KNUMV Where KONV-KNUMH EQ KONP-KNUMH
Select VBAK-KNUMV where VBAK-KNUMV EQ KONV-KNUMV
Then with the help of ABAPER hard code the condition amount (KBERT>10%)
Regards
Rohit -
Link Sale Order with Delivery through DTW
Hi All
While importing Deliveries through DTW, is it possible to Link a Sale Order with Delivery?
If it is possible then can any one tell me the procedure.
Thanks in Advance
Chakrapani BandaruIn the template for the document lines, you will find fields for base entry, base type and base line . Fill these with the object type for sales orders, the line number and the doc entry (not doc num) of the relevant linked document
-
Sale order with item category TAN not getting displayed in md04
Hi,
We have a sale order with item category TAN, Schedule line category CP, MRP type ND and availability check as 07. This is not getting reflected in md04. But item category TAB gets displayed under the PR number.
Please let me know what checks to be made or changes to be done for the sale order with item category TAN to get displayed in md04 screen
Thanks & RegardsHi all,
I changed the MRP type to PD, and from the next sale order, line item onwards, it was getting displayed in md04 screen. The already created one anyway dint get reflected. So I had to delete the line item and create a new one.
Thanks all for the help
Regards,
Jegashree -
Sales orders with credit issues taking availability stock
Hi,
I am doing confirmation using Global ATP in APO. The confirmation is well done, but the confirmed quantity for sales orders with clients that have credit issues is taken the available sotck for other sales orders with ok clients that I want to confirm the quantity they ordered.
For example:
Stock: 10 PC
Client A order 15 PC and 10 are confirmed, but the ordered is retained becuse of credit issues with client A.
Then client B order 3 PC, but nothing is confirmed because the ordered for client A is reserving the stock (note: this would be ok if client A had not credit issues).
So, I want that the 3 PC for client B are confirmed and the 10 PC not reserved for the cient A while client A has credit issues.
How could I configured, so that the orders with credit issues do not reserve stock for the incoming orders?
Thanks a lot.Hi DB49,
thanks for the quick answer.
I checked the configuration in the R3 and seems to be fine. To prove it, I disconnect APO and did the availability check in the R3 system and it is working fine; the orders quantities that are blocked because of credit issues, do not reserve stock for incoming orders.........son new incoming orders are well confirmed.
But after connecting APO the problem continues. I checked the next points.
In R3 transaction CO09: takes to the APO screen and you see the ATP available quantity OK (do not consider the quantities of the credit issues orders). But at the moment that you make the order (VA01) it does not confirm any stock and if you select the line and go to the ATP screen (the same you get from the CO09) the quantities of credit issues orders are taken into account..the ATP availability quantity changes from the first going directly from the CO09.
What could it be?
Note: it was working fine with APO, I started to have the issue after implementing note 1262475 in APO. This note was becuase the BAPI_APOATP_CHECK was not brigning any value for the ATPQTY_***.
Thanks a lot!!! -
List of sales order with only open qty
Hello sap gurus,I am working in a support project for a leading cement manufacturer,I am facing a issue related to list of sales order only with remaining open quantities.In va05 transaction it gives the list of open sales orders,but if none of the line items is delivered,but according to the clients reqiurement they want the list of open sales order ,means say if a sales order has 5 line items and 3 are delivered but 2 are remaining, the list should give the list in such a way that the sales order with only 2 open items should also appear.
please guide me if there is any t-code for the same other than va05,else any developement work needs to be done.
Regards,
AnshumanDear Anshuman,
T. Code: VL10C
This is the Best-suited Report, for your requirement.
Best Regards,
Amit -
How to Restrict Return Sales Order with reference to a cancelled invoice
SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
Kindly share your possible solutions.Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
Kindly go through at Copy Controls
T.CODE:VTAF
in that some body might have maintained between S1 invoice to RE Sales Document.
Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
Rewards if Usefull
B.Shyam Sunder
SAP SD Consultant -
Load a sales order with delivery date in the past
Hi,
We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
How can I have these dates informed with dates in the past?
Thanks in advance,You can control this using the "Message Control" in the SAP IMG.
Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
Using this you convert Error to Warning or even swith off this message.
Please refer this thread for complete steps:
Re: How to change an error message to a warning message in SRM
Note: you need to suppress the messages relevant to your case here.
Regards
Kathirvel -
Create a Sales Order with Reference to Contract using IDoc / LSMW ( AFS )
Hi Gurus,
I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
The Details of the IDoc which is been created via LSMW are as follows;
Message Type: ORDERS
Basic Type : /AFS/ORDERS05
Process Code : ORDE / DELO
( Tried with both process codes. But the Identification is the same for both: IDOC_INPUT_ORDERS )
*_In Header;_
Segment : E1EDK02 - IDoc: Document header reference data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped for field BELNR
*_In Item;_
Segment : E1EDP02 - IDoc: Document Item Reference Data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped to field BELNR
Line Item of the Contract is mapped to field ZEILE
I also tried passing the Schedule line of Contract in Segment : E1J3P01 AFS IDoc: Doc.item general data
to following fields;
J_3AETENV
J_3AVGETE
/AFS/UETENR
Still its not getting updated in the VBEP also..
Please help me with regard to this. Points will be awarded for your valuable contribution.
Thanks.Hi,
This issue is been resolved.
One of my friend helped me with resolving this issue..
Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
u2022 SPRO --> SD -->Sales --> Sales Documents --> Sales Document Header --> Define Sales Document Types --> Field : Outline agreement message; from blank to u201CBu201D.
u2022 SPRO -->SD -->Sales --> Sales Documents --> Sales Document Header --> Maintain Sales Document Types for AFS --> Field : Outline agreement message; from blank to u201CAu201D -
A s per my business requirement, we create a sales order and according to this sales order if the material is not available in stock we want to create purchase order to the vendor for the materials which not available, How I link the sales order with the purchase order?
Can you please any one help and advise me how this scenario can be handled in SAPHello,
Are you looking to map cross docking or third party sales in your system. In both of these cases, purchase order is created which is link to sales order via purchase requistion. The only difference, here in these scenario's is that goods movement doesn't take place within the plant.
If this is so, then, you have customize, item categories and schedule lines used for them accordingly.
Ideally , in the aabove mentioned scenario (cross docking, third party sales) material are not kept in stock.
Br,
Tushar -
How can I create multiple sales orders with reference to one contract?
Hello Gurus,
Can you please how can I create multiple sales orders with reference to one contract?
thanks!
Rakeshhi
Lets consider example
In your contract for line item 1 you have entered qty 100
You careated sales order with 70 quantity, and now you want to creat another sales order for 30
For this first you need to check what is your item category in contract (VA42)
Goto VOV7
SPRO - IMG - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
Make the completion rule = B Item is completed after full quantity has been referenced
Maybe you are looking for
-
Can you add extra margins to a PDF?
Hi, I am curently in the process of printing my PhD thesis, which includes a range of published manuscripts in PDF format. To bind the thesis, each page needs a 2.5cm left margin. I was wondering if there is a way to add a 2.5cm margin to each page o
-
Hi from Belgium, I've a problem in synchronization between a ipad and a MacBookPro. some iphoto albums is missing in the itunes photo synchro list, so I can't tell itunes that i want to send those albums in my ipad. Any suggestions? By advance Thanks
-
Runtime Errors: CONVT_OVERFLOW while executing transaction sm66
Hello Everyone, There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine. Please suggest Runtime Erro
-
<p><br>i am using shared services system 9.2<br>i have 200 users in a group. i am wondering whether there is a wayto search for a particular user<br>in a group, as we do search in native user directory/NT userdirectory.<br><br>thanks and regards<br><
-
A best-efforts session with identifying, in ActionScript, an image placed in a TextArea and identified with id, leads me to wonder whether the id attribute is supported. I have on disk a jpeg file of the amazom.com logo, a small image. In a scene, I