How to retrieve sales order line type
Hello,
Maybe I found a workaround for the previous issue but I faced a new problem (matrix of form 139).
I tried to read the matrix column 257 but it's always blank even if the row is a text row (of type = T).
I need to exclude this type of line in a loop.
Is there a way to do this ?
Please help me.
Best regards.
Andrea
Hi Andrea,
Line Status field is not linked to the Type of row. Line status is O or C - Open or Closed. If all lines are closed then the document will close.
Try writing 2 queries like this
select * from RDR1 where DocEntry = '4'
select * from RDR10 where DocEntry = '4'
where 4 will be the doc entry of the Sales order which contains Sub types. In the Table RDR10, you'll find LineType which contains the types.
Can you tell me what do you need the line Type for so that i can give you a better solution?
Similar Messages
-
How to upload sales order line items?
SAPGurus,
For years my customer service department has been asking for a way to upload sales order line items into the VA01 sales order-entry screen.
Many of our customers submit PO's with huge amount of line items, up to 1,000 lines. Our CS reps need to key in the data line by line (or copy/paste
approx 17 lines at once from Excel into the VA01 screen), and we are looking for a way to make this process leaner. One idea we have is that user creates the order header, and then has a way to upload the material numbers and quantities in a separate (newly created Z-transaction) screen in one go.
Obviously rules then need to be built that deal with the various pop-up messages related to e.g. ATP, material status, etc.
Does anyone have any experience or thoughts on how we could achieve this? A way to make the sales order-entry process a bit less time-consuming? Any feedback would be greatly appreciated !
Thank you,
RVSTake the inputs from this Blog created by SUNIL PILLAI
Sales Documents upload using Standard Direct Input Program in LSMW
G. Lakshmipathi -
How to split Sales Order line as per partial availability of stocks?
During scheduling of Sales Order line, if ATP window shows onhand stocks less then required quantity and balance quantity is promised as per CTP on dates falling outside request dates.
1) Is there a functionality to split SO lines Automatically basis On Hand Availability?
2) Can we write a rule to split a line so that staggered shipments can be scheduled in future for quantities promised as per CTP ? (i.e rather than promising 1 date, if capacities permit line quantity is split to start shipments at the earliest).
Will appreciate for direct fitment or any workaround solution to resolve above issues.
ThanksHi,
Try this out. Go to Logistics Execution-Warehouse Management-Activities-Transfers-Processing Performance Data / TO Split
Step1:
Define Profiles-Sort profile for TO splitting
Here, create a new entry of sort profile for your warehouse with field "POSNR" as 1st sort field.
Step2:
Define Profiles-Profile for Transfer Order Splitting
Here, create a new entry of Profile for TO split for your warehouse & sort profile of step1.
Step3:
Control for Performance Data Processing / Define TO Split-Performance data control
Assign Profile for TO split of step2 to your warehouse, MVT, Source & Destn st. types. -
How to retrieve sales Order details from BAPI_SALESORDER_GETLIST
Hi Experts,
I am using Visual Studio 2003 and SAP.Net Connector for Microsoft .NET 1.0.3 .
I need to get the details of sales order.Following is the code snip.
protected ConnectorDemo2.BAPIRETURN bapireturn; /*Manually Added */
proxy.Connection = SAP.Connector.SAPLoginProvider.GetSAPConnection(this);
proxy.Bapi_Salesorder_Getlist("0000000006","","","","","","0001","0",
out bapireturn,ref bapiordersTable1);
I already check records in SAP R/3 system for data Cust No=00000006 and Sales Org=0001.
Please let me know about out parameter and if anyone is having correct list of ref and out parameter.
Help will appreciated and points will rewarded.
Thanks
Sunil Pawar
Edited by: Sunil Pawar on Nov 26, 2008 1:54 PMTo Solve the problem I created one custome RFC and call BAPI_SALESORDER_GETLIST in it and my problem get solved.
This is just work around but still not found why no data when using OUT parameter.
CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
EXPORTING
CUSTOMER_NUMBER = Z_CUSTOMER_NUMBER
SALES_ORGANIZATION = Z_SALES_ORGANIZATION
IMPORTING
RETURN =
TABLES
SALES_ORDERS = Z_SALES_ORDERS
Thanks
Sunil Pawar -
How to split cost allocations for sales order lines?
Has anyone here solved a requirement to split the cost of goods sold from a service request debrief.
The scenario is -
1. A debrief of a service request is completed.
2. Material is issued and technical labor used and expenses incurred.
3. I am hearing that in Oracle Service, the material is only costed but not the technical labor and expenses.
4. No splitting can occur in any of the cases through standard Oracle?
5. We have gone down the path of creating sales order line types for each department (unique code combination) and then splitting the COGS in SLA.
6. This way, we have to create items for labor and expenses.
Is this the only semi-standard way.
Thanks for your thoughts in advance.Hi
I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
Many thanks -
Error retrieving BOM type from sales order line matrix
Hi All
I have a problem with an add-on which works in SBO version 2007 but now fails in version 8.8. The fault occurs when the code attempts to retrieve the BOM type from the sales order line matix as follows:
objCombo = mtxOrder.Columns.Item("39").Cells.Item(intCount).Specific
strBomType = objCombo.Selected.Value
Where mtxOrder represents the sales order line marix extracted from form type 139
Under version 8.8 this code generates an error "unable to cast COM object ... to interface type SAPbouiCOM.ComboBox ....". If the code is replaced by the following, the error does not occur.
objEditBox = mtxOrder.Columns.Item("39").Cells.Item(intCount).Specific
strBomType = objEditBox.Value
Any assistance or explanation would be greatly appreciated.
Thanks
DavidIt just looks to me like it was a combo box in the 2007 version and has been changed to just be an edit text in 8.8... from what you have explained anyways, that seems to be what is happening. Sometimes there are small changes like this - it's better to directly access the datasource so you can avoid being hit with these sort of changes
so for example
strBomType = oForm.Datasources.DbDataSources.Item("RDR1").GetValue(TreeType, i);
//where i is the linenumber-1 in the matrix -
How to set Confrimed quantity as 0 in the sales order line item
hi all
i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
scenario is make to order.
i have set strategy group is 20 -make to order
MRP Type is PD
Lot size -
EX , still its showing confirmed quantity.
could pls any one tell me how to set 0 quantity in the sales order line item
thnxDear Sateesh,
If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
If you don't want to carry out the availability check,
To achieve this,
1. Remove the availability check in the transaction OVZG against your requirement class.
You can find the requirement type assigned to the sale order in the procurement tab.
In OVZH transaction, you can find the requirement class assigned to your requirement type.
2. Remove the availability check for your schedule line category in VOV6.
In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
Thanks,
Venkatesh.S.P -
How to save LIST_LINE_ID of Price List when create Sales Order Line
I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
I create with the following steps:
Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
Step 3: I update the Unit Price of Line 1 into 11.55.
Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
Please help me check this issue. Thanks for your supports.
BinhTC
Email: [email protected]Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
Regards,
Jon -
How to enter serial number for sale order line which is in shipped status
Hi All,
We have 2 different items which are defined as Serialized at Sale order issue at item definition.
In one sale order,User has forgot to add serial number to one of the item at Ship confirm stage.
He has entered serial number correctly to other item.
Now the both Sale order lines are in Shipped status if we view them through Shipping>transactions.
I am technical guy and new to OM.Could you please let me know the process to enter the serial number for the item to which user has missed it
Thanks,
SatyaHi Satya,
Since the item is already shipped, you cannot enter serial number for this line.
you have to enter serial numbers after pick confirm only.
check this note
How to Enter Serial Numbers in the Shipping Transactions Form [ID 1235403.1]
As a workaround for the previous lines do RMA and try to receive the goods back to your subinventory.
For all new transactions follow the above notes.
Thanks
-Arif. -
How to Find Out The Production Order Number For The Sales Order Line Items
Hi All,
I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK. or in table AFPO.
Regards,
Rich HEilman -
Sales order line item conditin type
hi experts
in pricing procedure determination we at lost we are giving condition type. it was displayed in sales order line item level
what is the purpose of this condition type.
thanks to every buddy who are trying to give answer this question.
narasimha
[email protected]Hi,
This is to avoid going into the line item and entering the value in the amount field.
When u assign it there in your pricing procedure determination you can enter the amount in the amount field for each line item and avoid drilling down to conditions tab for each item
Hope you find this helpful.
If you, please reward points for contribution.
Regards
Ravi -
How to unlock sales order number after changing its line item statuses.
hi all,
my requirement is i am changing the status of the double
clicked sales order which is showing in ALV grid display
before that i am locking that sales order using FM
CALL FUNCTION 'ENQUEUE_EVVBAKE' and for
changing the status i am using FM
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
which doesnt have commit statement inside this FM so
i have explictly written this commit statement if this FM
gives SY-SUBRC = 0 but with this statement it unlock my
sales order because of the commit functionality.
also this FM is in loop for all line items for that sales order
please help me with that!!!!Hi,
I have created delivery against sales order.
While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
Sales order (SO1) - Material (Mat1) - qty (15 ea)
Delivery against sales order (Del1) - batch split: batch1 - 10 ea
batch2 - 5 ea
In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
del no. Item No. Material Qty Batch no Sales Order no Sales Order Item no
1. DEL1 10 Mat1 10 ea batch1 SO1 10
2. DEL1 20 Mat1 5 ea batch2 ______ ____
Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
Hope this clarifies the issue faced.
Regards,
Ankush -
How to display delivery status on sales order line
Hi,
We're on R12.1.3
We have a requirement to display delivery status on sales order lines in quick sales order form. Is there a standard configuration available to achieve this? if not available, what would be the best way of achieving this?
I mean using, Forms personalization or Event based Alert etc?
Thanks,
RamThis is already available in the additional line information..though..
If you still want that at line level to be displayed..maybe you need to customize the form...not sure how u can handle that logic
Mahendra -
How to update UDF of sales order line of closed sales order header
Hello experts,
We are using SAP 8.81.313 PL 05 and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders, we can't update an user defined field on sales order line for a sales order with header closed.
calling the method Update() it returns 0 but actually the table field was not changed !
Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
I don't understand why.
Is it a bug or the expected behavior ?
Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
Please help me.
Many thanks for your time.
Best regards
AndreaHi Elio,
Yes from UI it's the expected behavior but through DI API I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
Regards
Andrea -
How to create multiple WIP jobs from a single Sales Order Line
Hi all,
I want to know if there's a standard way to create multiple single unit wip jobs from a sales order line which has 2 or more units, i mean...
I have a sales order line with item A with 3 units. If I progress the sales order, a single job is automatically created in WIP with 3 units to be created. What i want is to create 3 jobs with one unit each, all of them linked to the sales line order...
Thanks in advance!
Regards!Assuming simplest of scenarios....
In case of changes to Sales order qty, an unplanned order will simply disappear.
If a wip job has already been created, you will get a cancel message (in case the job is not needed) or a reschedule out message (if the quantity needs to be reduced).
ASCP will give you a reschedule in /out message if the dates change.
Sandeep Gandhi
Maybe you are looking for
-
Apex Essential application is not working in Apex 4.0
Hi, We recently upgrated from apex 3.2 to apex 4.0. After the upgrade the apex essentials (developed by Patrick Wolf and team) is not working. The application can be opened, but the pages look very odd as the icons are not displayed properly. The adv
-
IPhoto 6 and 8--I can't order a book because of an error message...
Please Help! I have a deadline to meet. Whenever I try to order a book, I get: "Please check your network connection and try again"...My network connection is fine. I am experiencing no other connection problems except with ordering books from iPhoto
-
I entered an invoice from a foreign vendor who billed in foreign currency but wants to get paid in US dollar by bank transfer. The system correctly converted the foreign currency to US dollar. But in automatic payment run, it did not pay the vendor.
-
There is no access to the photos to iCloud account...
Hi After the last OSX update i get this messege constandly. - There is no access to the photos to iCloud account "My@Email". Review your account information in System Preferences. But I havn't got a clue whats wrong. I have checked that I use the cor
-
I will be using FMS for a training application for a client. The app simulates a telephone conversation. Users hear audio which is pulled down from the FMS, then record themselves. The app streams the audio to the FMS using RTMP. My question: If ther