Restricting some sales orders in Report
hi i have a problem , i want to restrict some sales orders based one the following logic , can any one help me in coding this logic
if ( 0Doc_categ = k ( Credit memo request) or H (Returns))
get( Sales Documents )
for all these sales Documents get Reference sales Doucmens and the Refece Document Category )
case ( Reference Document category )
when ( 0 )credit memeos
inc = inc + 1 ,
when (s ) credit Memo cancelations
dec = dec + 1 ,
endcase.
if (inc > dec )
result = sales order
esle dont consider the record
i want to implement this login in the report while selecting the Orders , i cant do this in the start routine or update routine becasue other reports consider these sales orders . Thanks in advance.
Hi GSM ,
Thanks for ur reply , so is there no chance that i can implement this logic in Customer exit for the report , the probelm is we want to keep the number of ODS to minimus as integration will become a problem in the future in our project. Any one can u plz suggest a way .
Regards,
Abhiram
Similar Messages
-
Restriction for Sales orders due account category
Hi All
I want restrict some sales order types due type of account (individual or corporate). For example when i creating order of type A , it must can only been created with assignment of corporate account. Does anybody solved this problem? It's doesn't seem very complicated but i have no clue at all.
Regards,
ELHi Raghu
Thanks for the reply...I was looking to get a list of sales orders due for billing, rather than checking for the status of a single one.
Are you suggesting I do a query on VBUP table?
Cheers
/Arun -
Hi,
Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced.
Scenario is- I have to populate report columns like
0-25000 25001-50000 50001-100000 100001-200000 200001-500000 500000>
And analysis has to be shown in the report rows : Sales District. In Columns only number of sales order in each district would be entered as a number. Example- of for district ZMJT there are 3 order are in pending stage having quantities 35000 then entry 3 will come in first column and so on. Following are other columns for drill down purpose.
Input Fields:
Date Range
Company Code
Currency Type
Sales District
Sales Group
Analytical Fields-
Sales Org.
Distribution Ch.
Division
Sales Order No.
Sales Order Dt.
Sales District
Tube Dia
Tube Length
Laminate Structure
Application Category
Customer
Customer Group
Sales office
Sales region
Sales Order Qty
Sales order Value
Regards,
RitikaHi,
We have standard extractor 2LIS_11_VASTI (Sales Document Item Status) for getting the status.
Regards,
Vamsi Krishna -
Hi,
I have an issue in MCTG. For some sales offices the value of Orders: Cost is showing as zero and for some sales offices the report is showing value.
Why is it so?Any known reasons?
Also is there any standard report which will show sales orders cost per sales organisation for a particular period?
Regards,
AjitHi Rajkumar,
Analyse the report and read the documentation. It is not possible for sap also to give all in one report.
Regards,
Madhu. -
Open Balance on Sales Order Cost Report
Hi SAP Group -
I have a couple questions about the settlement of manufacturing variance to COPA.
When our settlement process is complete (production order and sales order both settled to COPA), there is a balance remaining on the sales order cost report which is equal to the manufacturing variance on the production order.
It seems that the manufacturing variance is posting from the production order to the sales order, but is not being assigned to the PSEG and flowing to COPA.
I am looking for advice in two areas:
First, how do we "clear" these balances on old orders that are already settled?
Second, how do we prevent this from happening on future orders?
Thanks !!!Refer to OSS 183250 and note 186485.
If you dont specify in the settlement profile for the production order that the variances are not transferred from the production order into CO-PA, you will settle the variances to <b>CO-PA twice</b>: once from the production order (broken down into variance categories), and once from the sales order item. The settlement rule still references the material and not the sales order item.
Special Features of Product Cost by Sales Order with Valuated Sales Order Stock
<a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/90/ba66cc446711d189420000e829fbbd/content.htm">Read the topic on 'Special Features of Product Cost by Sales Order with Valuated Sales Order Stock'</a>
You may want to check the period of the variance settlement from mfg order to sales order and ensure the settlement of sales order is also done the same period, if the type is PER. -
Dear Expert.
I want Sales Order Status report as below mentioned format required quarry base report from Date to To Date.
Location-OrderSeries-OrderNo-CardCode-CardName-ItemCode-Item Descripotion-Inv.UOM-Order Qty-Allocated Qty-DeliverQty-Peniding Qty adn Pending Order Value.Hi,
You can check this :
select t3.location as 'Location',t0.series as 'Order Series',
t0.docnum as 'Order No.',t0.cardcode as 'Business Partner Code',
t0.cardname as 'Business Partner Name', t1.itemcode as 'Item',
t1.dscription as 'Item Name', t2.invntryUom as 'Inventory UoM',t1.quantity as 'Order Qty',
t1.QtyToship as 'Allocated Qty- Qty to Ship', t1.delivrdQty as 'Delivered Qty',
t1.OrderedQty as 'Ordered Qty', t1.openCreQty as 'Pending Qty',
t1.Opensum as 'Pending Order Row Value'
from ORDR t0 inner join RDR1 t1 on t1.docentry = t0.docentry
inner join OITM t2 on t2.itemcode = t1.itemcode
inner join OLCT t3 on t3.code = t1.loccode
where t0.docdate >= '2011.01.01' and t0.docdate <= '2011.12.31'
Hope it helps.
Kind Regards,
Jitin
SAP Business One Forum Team -
Some Sales Orders are not replicating into CRM
Hi guys,
when I check SMQ2 in CRM, I find that some sales orders are not replicating into CRM, then check the error, its says check SMW01..
when I check the SMW01 it says validation error and BDOC status is F05 (information no processing). I tried to search the sales order in CRMD_Order transaction could not find the sales order...
*Error in SMW01*
Processing of document with Guid E01D11C71856C4F1AEBF0024E84DD0CE is canceled CRM_ORDER
Validation error occurred: Module CRM_DOWNLOAD_BTMBDOC_VAL, BDoc type BUS_TRANS_MSG. SMW3
It's not giving much clue what's the error is...
I tried to setup a request to replicate those sales orders.. those request also end up in the same error...
any help on this?
thanks,
KenHello Ken,
When reprocessing a BDoc(via SMW01) you might need to set a flag.
Goto trxn. SMW01. Start the debugger using command '/h' and reprocess the BDoc. After going into the debug mode press SHIFT+F7 and put a breakpoint at 2nd Tab in : class:cl_smw_flow and method 'restart_processing'. Keep debugging(F5 or F6 accordingly) until you find the requisite flag l_retry_allowed and set it as 'X'. This will allow you to reprocess the Bdoc.
Thanks,
Rohit -
Route not determing automatically at sales order level for some sales order
Dear All ,
Route not determing automatically at sales order level for some sales orders.We are using automatic route determination without wt group,eventhough we have configured the required settings
I have checked all the forums but didn't find any solution for the same.
Looking for your inputs .
Thanks inadvance
Regards
VenkatHi
1. Copare the Routes which are Automatically determined and which are not automatically determined
2. Have you mainted this route to be RELEVANT FOR TRANSPORTATION without this check route will not get picked up.
SPRO > Logistic General > Shipping > Basic Shipping Function > Routes > Define Routes > Define Routes and stages > Select the Route and check for it's settings > CHECK MARK Relevant for Transport. Without this check the route will not get picked up as of my understanding.
Thanks
RB -
Line items restriction in sales order
Hi,
how to restrict enduser to enter 10 line items if he enters more than 10 line items system has to restrict.What settings we have to done for this
Regards
Karthik.RHi,
There is no restriction in sales order level.SAP has given this facility for restriction in billing document
However you can use userexit SAVE_DOCUMENT_PREPARE in program MV45AFZZ in sales order creation creation program and write the desired code with help of ABAPer.
Reward Points if useful
Regards,
Amrish Purohit -
Need code for sales order create report using bapi's
need code for sales order create report using bapi's
Hi,
Go through below link
http://www.saptechies.com/bapi_salesorder_createfromdat2/
<b>Reward points if it helps,</b>
Satish -
I Need Sales Order Status Reports using ALV
Hi I Need Sales Order Status Reports using ALV.
HI!
For alv use REUSE_ALV_GRID_DSPLAY function module.
For the given report fetch data from the tables:
VBAK - sales order header
VBAP - sales order details
VBUK - sales order header status
VBUP - sales order items status
Regards
Tamá -
Restrict the Sales Order Quantity in Integer
Hi All,
our system need to restrict the Sales Order Quantity in having no decimal value.
We have got the OSS reply as:
"Unfortunately I regret to tell you that it is not possible to
restrict the order quantity number to integer in standard system.
The number of allowed decimals is defined in the system via SE12.
In SE12, you can see that for VBAP-KWMENG, the number of allowed decimals is 3. I'm sorry but this is the standard system behavior."
But we need to avoid programming. Can you anyone suggest any work around methods, like define rounding profile to do the restrictions.
Regards,
SimonHello All,
Thanks for the excellent answere.
Please anybody can provide us the SAP OSS Note for the same as the reply received from SAP Support.
We have got the OSS reply as:
"Unfortunately I regret to tell you that it is not possible to
restrict the order quantity number to integer in standard system.
The number of allowed decimals is defined in the system via SE12.
In SE12, you can see that for VBAP-KWMENG, the number of allowed decimals is 3. I'm sorry but this is the standard system behavior."
But we need to avoid programming. Can you anyone suggest any work around methods, like define rounding profile to do the restrictions.
Regards,
Farhan -
Sales Order Acknowledgement Reports
Has anyone had any problems printing Sales Order Acknowledgement Reports after upgrading to OE Patchset H?
Has anyone had any problems printing Sales Order Acknowledgement Reports after upgrading to OE Patchset H?
-
Duplicate records for Sale Order Cycle Report(excluding item level detail)
I have posted this issue in number of forums but till today no one is able to answer it correctly.Here it is:
I need to create a report which I think most of the sd consultants have also done it.It basically covers sales order cycle without item lvel detail such as:
Sale Order No -- Sales Order Date-- Delivery No-- Delivery Date
Now as we all know ,sales orders and deliveries are connected through item table which means in the output I will get duplicate rows for the report above.For Example, if a sales order share 3 items with the delivery then we will get 3 exact duplicate rows in the report.
What can be the best solution?connecting through VBFA has alos same result as it also has item level details.
I need a good solution.This a common report and there must be some solutionHiiii,
It is standard SAP rule that system will catch the document flow (document link history) at item level.
Now your problem that you dont want to show the line item based report because of duplicacy.
Try this.
Brows table VBFA -
In screen selection select the following......
1. Subsiquent document category
2. Preceding item
select "J" in Subsiquent document category
and "000010" in Preceding item then execute the table.
Now system will not show multple line item based delivery report. so No duplicacy will be there
Regards
Shambhu Sarkar -
Indent Sales Orders - PR Report
Hi Experts,
We already have a setup on Indent Sales Process however, we have some issues that some items are not copied from Sales Order to Purchase Requisition. And we like to have a report to know if all line items from Sales Order are copied to Purchase Requisition.
Is there such an existing report in SAP?
Thanks a lot!Solved: transaction code ALO1
Maybe you are looking for
-
How to remove a product from my Apple Support Profile
I want to sell a used computer. It is necessary to remove it from my Apple Support Profile at supportprofile.apple.com before doing that. I can see the machine in the list of products. I can click the link "remove" but the wheel turns forever and the
-
Can't get your Apple TV to show up in ITunes Devices? Try This!!!
I tried everything, even Applecare couldn't figure it out after 3 hrs. Try this (hope it works for you like it does me!) try resetting your NVRAM via the following process: Shut down your Mac, then start it back up while immediately holding the follo
-
Can I get Fat EQ for Logic Pro X?
Hello all, I've recently updated to Logic Pro X and have noticed that Fat EQ is not listed in my plug ins anymore. Is there anyway to download that as a plug in? Thanks, Todd AK
-
How to create a column that automatically creates a serial number?
How can I create a column that creates a serial number for each entry?
-
Implementing Search functionality on Database Table
Hi Experts, I am working with webcenter sites 11gR1. I would like to implement search functionality in our Site on a Specific DataBase table. could you please let us know the best solution. Thanks in Advance Rajendar Pilli.