Link sales order with the PO
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 SAP
Hello,
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
Similar Messages
-
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
-
Link sales Order with contract
Hi,
We have created a sales orders using va01,but without referencing to contract.
is there any way to link these sales order to the old contracts.
Pls help,
ThanksHi,
If your sales order has subsequent documents then it is not possible to link to your old contracts.For such orders this option will be disabled.
For those order that don't have subsequent orders:
Goto VA02 T.Code.
Enter the order number.
Enter.
Ensure that the customer numbers are same in both.If not change the custoemr numebr in order.After that Click on Sales document-->Create with reference.While changing the customer the taxes will be redetermined.
Enter your contract number.
Click on copy.
New material will be added here to your old one.If you want then you can keep this or delete the material of your order and then save.
Or you can assign your sales order to contract also.
Goto VA02,Enter your order number.Edit-->Assign contract.Her you can assign either Header or item also.
Regards,
Krishna. -
Dear All,
I am having a scenerio, where I would like to link Sales Order Document Number with Stock Transport Order.
Can anybody advise me , plsease.
Rgds,
Indrajithi-
in STO we started from PO(purchase order).NO Req. of sales order in that scenario.
I f u want to envolve the sales order then do one thing creat sales doc for STO then in sales order you can put the PO number in PO feld in sales order as a text then you can do having no problem also.
thanks
sunil -
How-to extend the Sales Order with the Project ID?
Hello ByD Community,
My problem is the following:
I want to add an extension field to the Sales Order Header, which would be the Project ID assigned to this Sales Order.
My use case only involve one Project ID per Sales Order, and the task will be the same from a Line Item to another. So I can only use the GetFirst() to retrieve only the first Line Item.
Past week, I asked a similar question for the Purchase Orders and I succeeded to do it after a hint from Dan!
As for the Purchase Order, I thought the Project Assignment was built through the SalesOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectReference, but it seems that it is different.
So as soon as I try to check if this Association IsSet() it just returns me that it is not!
I succeeded to bluntly push the TaskUUID in my Extension field for testing purpose, without any check and verification, but not the Project ID neither with good validations.
I also tried to see with the SalesItem Association instead of the Item Node, but it is the same. Any time I try a different check it returns me the N/A for my field, which is my last condition if the association is not set! What is driving me crazy is that you have the Project ID is shown on the top of the Sales Order, but I just cannot find how to retrieve it in the Studio!!!
Here is my sample code in my After-Modify event (I also tried with a On-Save) where the ProjectIDSalesOrder is my extension field in the Cloud Solution:
import ABSL;
if (this.Item.GetFirst().ItemAccountingCodingBlockDistribution.IsSet())
if (this.SalesItem.GetFirst().ItemProduct.ProductCategoryHierarchyProductCategoryIDKey.ProductCategoryInternalID.Matches("130"))
this.ProjectIDSalesOrder = this.SalesItem.GetFirst().ItemServiceTerms.ProjectTaskUUID.content.ToString();
/*what I need actually is : this.ProjectIDSalesOrder = this.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.GetFirst().ProjectReference.ProjectID.content;*/
else {this.ProjectIDSalesOrder = "No project assigned";}
else {this.ProjectIDSalesOrder = "N/A";}
If anybody could help me on this, it would be greatly appreciated.
Thank you community!
Best regards.
Jacques-AntoineHello all,
To follow up on this issue, I found that a QueryByElements is available in the SalesOrderOverview node. And we can Query the SalesOrder by ProjectID.
Fine! However, we cannot retrieve the ProjectID. It is never proposed as a result in the Query. We can query againt a ProjectID but not retrieve it.
As the ItemAccountingblockDistribution association seems to never be set, we can't retrieve the ProjectID from it neither.
I will post an incident to see if the ProjectID can be released as an entity in the SalesOrderOverview. QueryByElements results, so as to be able to use it.
Thanks for your attention.
Jacques-Antoine -
How to link Sales Order with Service Contract and then with Install Base?
Hi Friends,
1) I would like to know the integeration process from sales order to Service Contract and then with Install Base.
2) I couldn't see anything enabled in Service Tab in Order Lines, its grayed out. Is there any set up/profile option to get it enabled?
3) How can we create AR invoice from Service Contract?
Please let me know if anyone has idea on this.
Thanks in Adavance,
VaraDear Sid,
Thanks for your promt response.
Let me explain you what I did.
1) I have booked a Bill Only sales order which has one order line, mentioned it as Service Item and provided the same details in Service Tab in Order lines. Now Line status is "Fulfilled"
2) Then Submitted Workflow Back Ground Process for OM Order Lines and it has created an AR Invoice and closed the line
3) And then submitted "Service Contracts Order Capture Integration Program" from SErvice Contracts Responsibility and it completed normal.
4) Now I went in to Launch Contracts Window and queried with the sales order but couldn't see any contract created
5) Then I went in to Reprocess Order Window and found this order shows an error message as "Referenced Product not present in the Installed Base", then I tried to reprocessed it, but the same error message again.
Here I have few doubts:
1) Are the AR invoice and Service Contract Billing Invoices same?
2) In above scenario AR Invoice has been created, I would like to do the billing from SErvice Contracts and need to create an Invoice in AR? how can I do that?
because as you explained in one of my questions earlier, A Single Invoice can be created for the whole duration of the contract. I want to do that and trying for the same.
3) Regarding the above error message, how can I resolve it and create the service contract against that Order?
Thank you so much for your helpful answers.
Regards,
Vara -
Report for Sales orders with the consumed credit limit value
Dear Gurus,
In my company, the credit check is at sales order level. We want a report which shows up the credit value consumed from the credit master by Sales order.
Going into the details, Say Credit limt is setup for a customer at Credit master for 10000 $.
I want a report showing Sales order 59235 has consumed 500 $, Sales order 59277 has consumed 1500 $, Sales order 59333 has consumed 2500 $.
Is their a report in standard SAP for the above functionality. If not, any ideas of how to achieve it?
Thank you for your responses.
Regards,Hi,
Try the following transaction codes
S_ALR_87012218
FDK43
F.31
But if you want to a report like what you explained in thread i think in standard not available we need to develop a customized one.
Regards -
Create a purchase order linked to sale order with DI
Hello all,
I tried to create a purchase order based on a sale order with the DI but I get an error message "the business partner selected in base document is different than the target document"
As you understand, this is normal to have a different business partner. So my question is : is it possible to create with the DI a purchase order linked to a sale order or is this a missing functionality ?
Thank you
SebastienHi sébastien,
oDoc.Lines.ItemCode = "A00001"
oDoc.Lines.Quantity = 1
oDoc.Lines.BaseType = 17
oDoc.Lines.BaseEntry = 213
A Purchase document's BaseType can only be a Purchase document itself.
A Sales document's BaseType can only be a Sales documento itself.
To create a Purchase Order based on a Sales Order you must go through each row of the Sales Order and copy the values (ItemCode, Quantity, Discounts, VatGroup, etc.) to the Purchase Order. And remember the VATCode used in a Sales document cannot be the same as the one used in a Purchase document.
Best Regards,
Vítor Vieira -
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 -
Replication of Sales order with Credit Card data from CRM to R/3
Hi,
We are on CRM 4.0 version.
We are getting the sales order management system implemented in CRM 4.0.
Simulation for credit card authorization has been set up CRM system.
When we maintain the credit card in the sales order,the replication does not take place.The outbound Queue in the R/3 system is getting stuck with the error 'VBERROR'.
Can you please advice if we can replicate the sales order with the credit card maintained on them to R/3 system.
thanks
MerajHi Bokhal,
Please consider my answer from your recent thread dealing with apparently the same issue :
Hi Bhokal,
For filters in uploads please consider below:
For Filtering the BP-upload, use the Administration Console
(tx. SMOEAC) in the corresponding subscription of the "All Business
Partners (MESG)" publication assigned to the R/3 site.
Some publications (and the replication objects they are based on) are
delivered as type "Simple bulk" which does not give you the opportunity
to assign criteria values for filtering.
You might have to re-create the publication. To do that:
1) First delete the subscriptions "All Business Partners (MESG)" and its
publications & the replication object.
2) Recreate the replication object as type "Simple intelligent".
3) Afterwards you can create a new publication via wizard of type
"Simple intelligent (msg)" assigned to the BDOC-Type BUPA_MAIN. Then,
you will be able to select some "filter criteria".
The reason for deleting the "old" publication is, that you
are not allowed to assign a BDOC-Type to more than one publication.
4) But please keep in mind that there is no realignment supported. So
you should only use fields for filtering, which cannot be changed
afterwards.
This is the "simple" solution for filtering on fields. This
will not provide complex filter criteria.
If you need this, you shall create a filter function in R/3- and/or
CRM-Inbound and -outbound.
If you want to keep the control about the upload trigger, you can add an
additional module in transaction CRMC_BUT_CALL_FU, position > 200000.
BUPA_MWX_BDOC_BPS_FILL_CENTRAL. Within this new module, you can delete
all partners within the complex structure that you don't want to upload.
Hoping that above will be helpful.
Best regards
Christophe Sturzel -
Query in creating Sales Order with BAPI_SALESORDER_CREATEFROMDAT2?
Hi,
I am trying to create a Sales Order with the BAPI and have a contract as a reference. Do I need to explicity mention the line item details in case I need the data from Contract to be copied here. If not how do I acheive this functionality.
P.S: I am able to create the Sales Order with the reference and I can see the Sales Order in the contracts workflow but not the line items in the Sales Order.
Any suggestions?
Regards,
KarthikHello, Karthik,
By reading the documentation of BAPI
BAPI_SALESORDER_CREATEFROMDAT2
the mandatory data to be supplied to the BAPI, in order to succesfuly create the the Sales Order are:
"1. ORDER_HEADER_IN :
DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
2. ORDER_PARTNERS..:
PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
3. ORDER_ITEMS_IN..: MATERIAL Material number"
The OSS note 93091 basically re-states the same thing.
After studying this BAPI's source code, the conclusion seems to be the one the documentation points to: <b>the BAPI can only be used to create a sales order by supplying (manually) all the necessary data.</b>
BTW: How did you manage to create the empty Sales Order with reference, you mentioned in your mail? Just by providing a reference document number? <b>And nothing more?</b>
Bye,
Bogdan -
No. of sales order with open quantity in a month
Hello experts,
I have a requirement to calculate open sales order quantity and
the number of sales order with open quantity for current month.
Please advise which tables can give this logic. I have the idea
of calculating open SO quantity from VBAP and LIPS table but how
to compile the number of sales order with the open quantity
Thanks
RahulHI
can you please try in VBUK table.
Hope this helps
Thanks
Madhav -
Creating sales order with BAPI_SALESORDER_CREATEFROMDAT2
Hi,
I´m creating sale orders with the function BAPI_SALESORDER_CREATEFROMDAT2. If you create sales order manually over the transaction, the system will find the right delivery date for you, if you are typing a date too early, for example.
The same I need to do the BAPI. But if I´m running the BAPI without a date, it is creating a sales order without a BAPI.
How can I get the date, SAP finds out automatically, when creating sales orders over the transaction?
Thank you!Really no advices to that?
-
Sales order with a minus-signs
Hi Experts,
I am trying to creat a sales order in SCM 5.0 with the '/SAPAPO/SJKTST04' program, but this is generated (and shown in the Planning Book (/SAPAPO/SNP94)) with a minus-sign, that should not be so.
Someone pleas help me with this!
Thanks a lot in advance for your answers!!
Best Regards,
Hristina Ivanova
Edited by: Hristina Ivanova on Apr 8, 2008 7:36 PMHi Bijal,
The Problem is in the minus sign. I don't want this, but every time, when i create a sales order with the '/SAPAPO/SJKTST04' program, the sales order is automatically generated (and shown in the Planning Book SNP94) with a minus-sign, although i didn't input any signs !
The Problem occur in SCM APO 5.0. I have´t that Issue in SCM APO 4.1.
Can somebody help me to solve the problem? Have someone idea, where from does the minus sign came, or is it any program/system error available? Do you have a solution-suggestion?
Thanks a lot in advance!!
Best Regards,
Hristina Ivanova -
Listing sales order with va05 transaction code
Hi friends,
I have updated partner function 'SH' in va05. For partner function 'SH' I can list only new orders i.e orders created after making this changes. How do i view older sales orders with the above Partner function. Please advise
Regards,
UdayDear freind,
If you give no date in the VA05 transaction it will show you all the order for that particlular Customer.
If you want to filter you can do it by further seclectiuon crietera...
Hope this helps you ...
award points if helpful.,
regards,
Amlan
Maybe you are looking for
-
My friend has this ipod touch 4gen and she no longer has the laptop itunes was on. So she sent me on a mission to reset the ipod she has now forgotten the password to. When i plug it into my computer it says "itunes cannot connect while device is loc
-
Problems with I/O on Unix Server
HAllo I have a Problem with reading/writing on the Server my Tomcat is running. My Application does not find the properties file allthough i tried to get my path with System.getProperty("user.dir"), and also tried to set an absolute path too. It is a
-
Block Property (Query Data Source Type)
Hello Friends I am using Forms 6i.oracle 9i. in the Block Property Pallete under Query Data Source Type there are 4 Type is mentioned.i have used Table,From Clause Query but yet to use Transactional Trigger and Procedure.How to use this two and it wi
-
Hi I created pie chart using CFCHART tag. In the chart display, data values overlap on one another in the display. How to rectify this error. Kindly help me in this regard. Advance thanks
-
How do you set depth of XY Graph? After a while I cannot scroll to the first measurement. On Chart you can change "Chart History Length" but I didn't find something like it for XY Graph. Thanks