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 solution
Hiiii,
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
Similar Messages
-
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 -
Difference between sales order schedule line and item level data
Hi All,
Could you please let me know what is the difference between sales order schedule line and item level data?
Thanks,
RamyaHi Ramya,
Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc., ie It contains the full details of sales order data with respect to the scheduled line of delivery. The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
contains the full details of item irrespective of scheduled line.
Regards,
R. Senthil Mareeswaran. -
Sales Order - user exit at item level
I am new in writing user-exits. Pls do share your exp !
When creating a sales order I encounter error, system says "Enter batch number".
We basically create batch when doing GoodsReceive for Production Orders. At this time the Material Revision is copied as Batch into MCHB table.
For example:
Material ABC has the below,
Rev Batch
A A
B B
C blank
If I create a SO for part ABC for Rev C, it does not allow me becos batch does not exists. But my SO should be allowed to be copy C into the batch field in VBAP.
Pls let me know if we must create custom user-exit rather than modifying std.SAP user-exit for Sales Order processing (MV45AFZZ).
Is there any contraints using the batch field in SO? As I came to know that the problem is when creating a Purchase Order it allows to enter free text in batch field but SO doesnt allow. Is't?
Is there any standard way to config the system such that SO will bypass the existence checking of the batch
Pls share !
PriHi, but inplace of Batch we only enter the Revision of the material. Becos rev-batch relationship is 1-1, meaning is rev is A, the batch will be A too.
We just use the batch field to represent the revision
Rev Batch
A A
B B
C blank
I can enter A in SO item batch field because system check that batch A exists
I can enter B in SO item batch field because system check that batch B exists
But I cant enter C in SO item batch field because system check that batch C doesnt exist
Wondering how the system might know the batch is actually my revision. Not sure if I use User EXIT to move C into VBAP-CHARG, will it give me error message because it will find out that there is no C batch
Your views ! -
VA01 user exit to manually insert condition record for sales order
Hello Experts,
I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
Thanks in anticipation.
VipulHi,
What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX' & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
I hope this helps,
Regards
Raju Chitale -
Reason for rejection for sale order stock existing line item
Hi,
I am giving reason for rejection for a line item where there is already sale order stock. Then I am getting a warning message like " there is sale order stock assigned". I want this message to be as error message. Any customisation (SPRO) is there for this?
Kindly update.
RatnaDear Rama Rao
I think, there is no problem you can ignore the warning message and go ahead give reason of rejection and close the order
There wont be any problem absolutely
The reason of warning message is, (it is sales order created with item category with special stock indicator as E ) that means the system tells you that it is extra special stock which you have created and now you are trying to reject hence it alerts you by giving a warning message
The item category of the items which you are trying to reject is marked or should have been marked with special stock indicator (you can check that in VOV7)
By double clicking warning message if it is of V4 message class in t code OVAH you can make that as no message
But i doubt that this is available in OVAH
Regards
Raja -
Sales Order: confirmation status at item level
Hi,
I am trying to locate a status field in sales order tables which truly reflects the item level quantity confirmation. I have checked table VBUP. In some cases field BESTA, COSTA shows the status correctly. But I am not able to find a table which is true in all cases. I can do it by checking confirmed quantity at schedule line level, but trying to avoid that since it involves addition of schedule line confirmed quantities etc.
Any ideas?
Thanks
AnilHi ,
Check VBUK-GBSTK , and also VBFA for individual status check for sales , delivery and pick up...
Regards,
Vind. -
Create Sales Order with reference at item level to contract
Within the sales order config you can specify that the system can copy a contract at the item level into the sales order if it finds a one to one match.
Is there any exit functionality around this that would enable us to change the way in which it searches for contracts. For example we might have contracts set up for a customer hierarchy node and customer level.
We would want it to take the customer specific contract as a reference first and ignore the hierarchy node.
If you have any ideas then let me know.
Many Thanks
Tim ParsonsHi,
In Item category of the contract(KMN in Standard), as u said u need to maintain the Completion Rule as "C", since in contract the quantity is maintained as Target Quantity.
It should throw an error if the quantity exceeds that of the contract.
Regards
Vamsi Javaji. -
Open sales order indicator / field at Item level
Is there any field at sales order item level to tell the order is Opened (open order Item)?. Will anyone share your expertise pl.
Hi,
Yes you can find at the sales item -> status tab field Overall status.
Regards, -
VD05 - Customer master record blocked for sales orders and billing
Hi,
I have a scenario whereby I have blocked a customer master record for sales orders and billing using transaction VD05, but it still allows you to create sales orders and post billing documents.
What is the reason for this?
Regards
GandiHi,
Block the customer for the sales order, delivery and Billing for the specific sales area in vd05
and try out,
Regards
Pradeep BV. -
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 -
Tables for Sales Order,Delivery Doc, Billing Doc
Hello All,
Can anyone list the tables that are relevant for Sales Order,Delivery, Billing-Header,Item,Schedule line level as applicable.
Regards,
RajHi Raja Sekhar,
Customers
KNA1 General Data
KNB1 Customer Master Co. Code Data (payment method, reconciliation acct)
KNB4 Customer Payment History
KNB5 Customer Master Dunning info
KNBK Customer Master Bank Data
KNKA Customer Master Credit Mgmt.
KNKK Customer Master Credit Control Area Data (credit limits)
KNVV Sales Area Data (terms, order probability)
KNVI Customer Master Tax Indicator
KNVP Partner Function key
KNVD Output type
KNVS Customer Master Ship Data
KLPA Customer/Vendor Link
Sales Documents
VBAKUK VBAK + VBUK
VBUK Header Status and Administrative Data
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBBE Sales Requirements: Individual Records
SD Delivery Documets
LIPS Delivery Document item data, includes referencing PO
LIKP Delivery Document Header data
Billing Document
VBRK Billing Document Header
VBRP Billing Document Item
SD Shipping Unit
VEKP Shipping Unit Item (Content)
VEPO Shipping Unit Header
REWARD POINTS IF HELPFUL
Regards
Sai -
How to mark up the price for sales order entry?
Hi Gurus,
How to Mark up the price for sales order entry?
Example: Item Price: $10, Adding 20% Margin
Selliing price of the item is $12
we are giving many typs discounts like festival Discount, customerwise, Order value wise etc..
After giving above discounts, if discount falls below $10 system should not allow to book the order, Trigger should go to respective person or sales person saying that item price falling below cost, system should not allow to book the sales order.
How to configure this scenarios in Order management Module, appreciate your inputs, advise.
Regards
AKThanks for your response,
can you please guide me step to achieve this requirement.
Regards
AK -
How to create a daily report for sales order
hi
how to create a daily report for sales order. what fields it must consists of. what are the tables it need?Hi
You have to use the sales order tables VBAK,VBAP and VBEP
So keep date field on selection screen
and treat this date as Order creation data audat field in VBAK.
based on this fetch the data from VBAK and VBAP with the following fields like
VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS etc and display in the report
<b>Reward points for useful Answers</b>
Regards
Anji -
I need to create a report for all sales order that have line items with a Material Tax Class '2' - One time exemption. Tax will require a report that identifies/displays all line items with Tax Classification = '2'.
Report layout specifics:
Bill-To
Ship-To
Order No.
Tax classification
Internal Item Notice Text.
For bill-to, ship-to, order no are all fields of structure KOMK, but I need to know which table it comes from so I retrieve the data by a select statement to display this. Can anyone guide me on this ? Thanks in advance !!!
NimeshI dont know where that tab is either. I will have to find out and let you know. For now I just left it out and I have written the following code - please let me know if this looks right according to the requirement.
REPORT ZMAT_TAX_REPORT .
TABLES: VBAK, VBPA, VBAP, MLAN, KOMK.
DATA: begin of jtab occurs 0,
kunnr like vbak-kunnr,
vbeln like vbak-vbeln,
parvw like vbpa-parvw,
end of jtab,
wa_vbak like vbak occurs 0 with header line,
wa_vbpa like vbpa occurs 0 with header line,
wa_vbap like vbap occurs 0 with header line.
PARAMETERS: TAXM1 like MLAN-TAXM1 default '2'.
select single taxm1 from vbap into vbap-taxm1 where TAXM1 = MLAN-TAXM1.
if sy-subrc eq 0.
if vbap-taxm1 = '2'.
select single * from vbak into wa_vbak
where kunnr = komk-kunre.
select single * from vbpa into wa_vbpa
where parvw = komk-kunwe.
select single * from vbap into wa_vbap
where taxm1 = mlan-taxm1.
move wa_vbak-kunnr to jtab-kunnr.
move wa_vbak-vbeln to jtab-vbeln.
move wa_vbpa-parvw to jtab-parvw.
endif.
if sy-subrc eq 0.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Bill-To',
21 sy-vline,
3 'Ship-To',
21 sy-vline,
4 'Order No.',
21 sy-vline.
write:/(95) sy-uline.
loop at jtab.
write:/1 sy-vline,
2 jtab-kunnr,
21 sy-vline,
3 jtab-parvw,
21 sy-vline,
4 jtab-vbeln,
21 sy-vline,
95 sy-vline.
endloop.
endif.
endif.
endif.
Maybe you are looking for
-
Hi, I need to dynamicaly instantiate classes at runtime, that is multiple instances, with different reference variables. I can easily intantiate a number of classes with different object variables, but i need to do it dynamically at runtime. anyone?
-
java.lang.NoSuchMethodError: com.sun.xml.ws.util.JAXWSUtils.getEncodedURL(Ljava/lang/String;)Ljava/net/URL. Gettin exception while trying to execute clientGen from build.xml from eclipse using Oracle weblogic 10.3 server. I tried with both jars jaxws
-
Jumpstart: Disable user registration in Solaris 10 x86 8/07
Earlier Solaris version let you disable the user registration screen by adding DISABLE=1 to /etc/default/solregis or not installing SUNWsregu. That doesn't work with Solaris 10 x86 8/07. There is no SUNWsregu package. Can this still be disabled?
-
Hello, I am a bit lost on where to download the 64bit version when it comes to glassfish. Can anyone point me to the URL that will give me 64bit linux ? The link I usually use to down load ... http://java.sun.com/javaee/downloads/index.jsp and I use
-
Are all the materials and videos going to be removed after July 13th?
Hello, I would like to know if the whole lessons' material (videos, tutorials, homework, ecc.) will be removed from the course pages after the quiz deadline (July 13th). It would be great to have it accessible in the future for further learning. Than