Header net value different in display and change mode in Sales Order.
Hi All,
I am facing a strange problem. When I check an order in display mode, I can see the header net value as 120047 Euro. However, If I open the order in change mode, it shows value as 133099.
Do not understand why?
Please help me to solve the issue.
Regards,
Neha
Dear Neha
Can you please clarify as to whether any header condition type is flowing in the sale order, so that I will try to give a suitable solution accordingly.
thanks
G. Lakshmipathi
Similar Messages
-
Tcode for displaying the changes made to sales order
hi,
i want to know is dere any tcode which displays how many times and by whom and what are the changes made to sales order.hiii
use VA03 for display..
also refer to following link
Regarding 'display of changes in the sales order'.
regards
twinkal -
User Exit in the change mode of Sales Order
Dear Guru's
In my requirement I want to stop the user from editing the status of Delivery block and Billing Block into the change view of Sales Order.
I have 2 users for them whenever they may see the change mode of sales order they should see Delivery and Billing Block in gray
that they should not be able to remove the block or change the block.
But I have two other users also who can release and change the Blocks.
Therefore I think mine is the User Exit case but I dont know which is the User Exit I have to give to the ABAPer
Please suggest me the User Exit, Thanks in advance for answer and Suggestions.
regards,
VojasDear Vojas,
As per me User exit will be used, as there are check about the users in your requirement. Please try with in MV45AFZZ, there are seceral user exit, I guess in USEREXIT_READ_DOCUMENT may be used, ask your abaper to put a check on the current user and if the user which is not in your list of authorized one then change the Blocks in Display mode, or uneditable mode.
Thanks,
Raja -
Net value in billing doc not matching as in sales order
Hi,
I have a scenario wherein the net value in billing document does not match as in the sales order for 2 item categories maintained in the sales order. The net value in sales order has one line item category as 10 and the other as 20 but the same is not picked in billing document.
Any pointers?1. Check the copy control setting at item level for Pricing type.
2. Check the pricing procedure in sales order type & Billing type. Is it same or different.
3. Possibily the condition valuemay have been changed manually in Sales order or Billing Document type.
4. Check Document Pricing procedure in sales order type & Billing type. is it same or Different. If it is blank in Billing type, then it will consider the one maintained in sales order type.
The above are the possibilities,
Regards,
Rajesh Banka
Hope it help to resolve your issue. -
Create and Change functionality for Sales order
Hii All,
Can any one please suggest me any Standard program or BAPI or IDOC for Sales order, it should cover create as well as change fuctionality of Sales order.
this is very urgent to me.
Suitable Answer will be Rewarded.
Thankyou,
Shobha.For change you can use:
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
For create you have the following choices:
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESDOCU_CREATEFROMDATA with business object 'BUS2032'
The difference between the create ones is the functionality you get e.g. create_from_data2 is the 'most powerful' but you also have to provide the most data. It just depends on what you want it to do.
In terms of IDOCS:
message type:
SALESORDER_CREATEFROMDAT201 or
SALESORDER_CREATEFROMDAT202 or
ORDERS05
Hope that helps,
Michael
Here is an example we use, you might want to populate additional fields or leave fields out in case you want different data to be transferred to the IDOC - however some fields are mandatory.
create the order header structure
ls_header-doc_type = ls_screen-order_type.
ls_header-sales_org = gc_vkorg_aa01.
ls_header-distr_chan = gc_distr_aa.
ls_header-division = gc_divis_aa.
ls_header-purch_no = ls_screen-po_num.
ls_header-po_method = ls_screen-po_source.
ls_header-ship_cond = ls_screen-ship_cond.
create partner input table (sold to)
ls_partner-partn_role = gc_role_sold.
ls_partner-partn_numb = ls_screen-sold_to.
APPEND ls_partner TO lt_partner.
create partner input table (ship to)
ls_partner-partn_role = gc_role_ship.
ls_partner-partn_numb = ls_screen-ship_to.
APPEND ls_partner TO lt_partner.
items are added by looping at a table
ls_item-material = <fs_upload>-matnr.
ls_item-req_qty = <fs_upload>-quantity.
process the quantity, it needs to be three decimals, because it
will be moved into a string in the BAPI and divided by 1000 before
it is moved back into a number field (1.500 => 001500 => 1.5)
ls_item-req_qty = ls_item-req_qty * 1000.
truncate remaining decimal places if exist (1.2525 => 1252.5 => 1252 => 1.252)
ls_item-req_qty = trunc( ls_item-req_qty ).
price is taken from the file
ls_item-cond_type = gc_cond_so_upld_price.
ls_item-cond_val1 = <fs_upload>-price.
condition one (price) is multiplied by 10 in the BAPI
ls_item-cond_val1 = ls_item-cond_val1 / 10.
no discount
ls_item-cd_type2 = gc_cond_so_upld_disc.
ls_item-cd_value2 = 0.
ls_item-item_categ = ls_screen-item_cat.
APPEND ls_item TO lt_item.
then BAPI is called
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
EXPORTING
order_header_in = ls_header
business_object = gc_bus_obj
IMPORTING
SALESDOCUMENT = lv_vbeln
RETURN = ls_return
tables
order_items_in = lt_item
order_partners = lt_partner.
IF ls_return-type NE gc_msgty_error AND
ls_return-type NE gc_msgty_abend.
No errors where found
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ELSE.
There was an error or abend
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
ENDIF. -
SO Header DFF values to be passed to PO in Dropship Sales Order Process
Hi Friends,
In the Dropship sales Order process, after booking the Sales Order we run the Requisition Import to get the requisition in approved status and subsequently PO is autocreated.
Problem Statement:
(1) In the SO, we have defined DFF wherein we are capturing few values, the requirement is to replicate those values to the auto-created PO. Requesting for some hint/solution preferably from front end.
(2) In case, we are able to replicate the values. Can we exclude few attributes from being replicated. Ex. I have 7 attributes in SO's header level DFF and only 5 out of 7 to be replicated on PO header level DFF.
Thanks.
With Best Regards,
Nirabh NayanThere is no seeded functionality to transfer the DFF info from drop ship SO to PO.
You will have to write a customization. (That is what we ended up doing at one client). In the customization, you can write the logic to exclude certain attributes.
Sandeep Gandhi -
Condition tab Change mode in Sales Order
Hi,
If i want to create a sales order with manual condition record. it appears in display mode not in change mode. If i select from the list of conditions types its not getting selected and its not coming in the condition type list. I put the check mark as manual in v/08 ad put the manually in v/06 also.. please give me right feed back so that i can handle it. and please tell me. were is the controls for a sales document.
thanks and regards,
NeoSorry, i could not follow your issue. Please explain in detail.
You have a pricing procedure with 2 condition types, PR00 and FD00. When you create a sales order do you want both condition values to be given manually or only one of them?
What is your issue here? Are you able to see both the condition types in the Conditions tab or not? If you cannot see, are you able to create them through New Entry or not?
Are you working on a client project with a large team or are you working on a practice client? -
Userexit to Restrict the VIEW and MODIFY of the Sales Order
Hello Everybody,
I need to do the following task.
I want to restrict to VIEW and MODIFY the sales order for particular sales office or sales group.
I need user exit for that.
Please help me by providing brief information.
Thanks
M RahmanHi Rahman
Instead of changing the DISPLAY and CHANGE status of Sales Order,
i think it would be better if u make a check at the time of SAVE.
When the SO is being saved in VA02,check the sales office or sales group
and then give a error message to the user, saying that he is not authorised to make changes to the
SO for this particular sales office or sales group.
For this you can use the inckude MV45AFZZ,and USER EXIT userexit_save_document.
Sample Code:
IF SALES_OFFICE EQ 'XYZ'.
MESSAGE 'Change not possible for this Sales Office' type 'E'.
ENDIF.
Regards
Hareesh Menon -
Free goods by header net value not Quantity
Regards
My client wants to make a sales promotions as the free goods SD. The difference is that free goods should not be given by the bought quantity of certain material, they should be given from the header net value of an order.
For example:
If a customer have an order with header net value of 100$ from only materials that has certain material pricin group, it should receive one free good.( All the materials in the order have the same material pricing group)
If a customer have an order with header net value of 200$ from only materials that has certain material pricin group, it should receive two free goods.
If there are ways to make this happen please let me know i would really appreciate it.
Thanks
Edited by: Ronald Caroli on Feb 13, 2008 9:13 PMHi ronald,
The userexit option is very tough to do.
You are using a right userexit, but how are you coding it? Whats your design and flow?
The BDC are programmable recordings of a standard transaction. Hence you will be able to record the way in which you add a line item to sales order. Ths recording is automatically converted into lines of code by SAP. Then you insert your checks and balances between these lines of code to make it behave the way you want the sequence of transactions to work.
My thought was to make a recording of adding a new line item, in change sales order transaction(va02), with item category as Free of Charge(FOC). Then in the code, I wanted to check for material pricing group, if found correct, then would go finding the net value of sales document. If the value is above the limit, calculate the target quantity. Then follow the rest of the recording and add a new line with FOC as item category.
But this was a seperate transaction, which could be applied seperately and not to be done automatically in sales order. This was becuase say if you switch off the promotion tomorrow, then you will not have to worry abt removing the same functionality from sales order, you just need to de-activate the transaction.
Then there would be issues of doing hardcoding the net value limits, free good quantity in the user exit which is not at all recommended.
Hope this helps.
Abhishek -
PLMD_AUDIT - Toggle between Display and Change - Important!!
Hello all,
I've a problem when I work on PLMD_AUDIT.
Pre-requisite for replicating the issue.
1> Change the settings in PLMD_AUDIT (a face like icon) to Display mode
When I run PLMD_AUDIT for an Audit with Action, it displays me the "Grouping" field and the "Involved Persons" tab values correctly.
But when I toggle from Display to Change, the value in "Grouping" and the "Involved Persons" tab vanishes.
Can you please check in your system and let me know if you also face this issue?
Thank you in advance,
VaishnaviHello Keerthi,
Thanks for your reply.
Please follow the below mentioned steps.
1) Change your time zone to a different time zone other than the created time zone of the action.
say if action has been created in London time zone, change system zone to some other than London.
2) Change the Settings in PLMD_AUDIT tcode (face like icon) to Display
3) Open any audit WITH ACTION.
4) When you double click on Action inside the audit, the action will be opened in Display mode.
5) Now toggle between Display and Change.
6) Kindly check if the values in the "Grouping field" and BUPA roles in "Involved Persons" tab are present now after toggling?
Please let me know at the earliest.
Your assistance is highly appreciated in this regard.
Thanks in advance,
Vaishnavi -
Line item Net value is not coming in Header Net Value
Hi All,
I have four conditions
1) A condition with condition cat.Price this is annual price condition and condition value comes from condition record.
2) B condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes from condition record.
3) C condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine(formula value).
4) D condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes by USER EXIT (this value is basically pervious month condition C Net value) .
5) E condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine (formula is condition C - D and resultant value should come in condition E)
When i am creating sales order for Jan month sales order
condition A , B, C is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header matches.
But When i creating sales order for Feb month sales order header net value
condition A , B, C, D is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header does not match. In net value of header system is considering only Condition value C.
So my query is why system is considering condition C value and why not the Net value of line item.
My PP is as follow:
Step Cond.type From to Man Reg St subtotal Req Caltype Bastype
10 A X 2
20 B X 2
30 C X 2 601
40 D X 2
50 Net value 30 40 X 1
60 E 50 2 25 5
70 Total 60
Please help me where is going wrong.
Thanks & regards
SreeHi Sanjay
Just go to V/06 and check wheather header data has been checked or not. That could be the reason it has not copied to header data
Regards
Srinath -
Purchase Order header Net Value
HI ,
Can anyone advise how to get the net value from Purchase Order Header..
The header net value is not the one from EKPO-NETWR ,, BUT it is showing from KOMP-NETWR , so is there any function module or any tables links where we can get the purchase order net value.
thanks
-sureshHi,
Try with folowings:
KONH Conditions (Header)
KONP Conditions (Item)
Regards,
Biju K -
Discount Condn Type changeable in Quotation and Display Mode in Sales Order
Hi Friends,
There is requirement of having a Discount Condition Type to be in Changeable mode in Quotation and must not be in Changeable mode in Sales Order. That no user is allowed to change the discount value in Sales Order and whatever maintained in QT must be applcable for Sales Order till billing.
Would like to have functional possibilities. Guide me gurus.
Surya.Hi
Would you like your user who is making the sales order to view the pricing conditions or you would also like him to change certain conditions/values (Except for discount conditions) ?
If the above is applicable then in my suggestion you should go in for a Transaction Variant wherein you can either completely hide or make the pricing conditions in display only.
R/Sanjeev -
How can we revise the pricing both at header and item level of sales order?
Dear All,
Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.Dear Lakshmipathi,
Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot. -
Difference B/W Delivery plant and item plant in Sales Order
HI,
May i know Difference between Delivery plant and item plant in Sales order and what is the use of those fields.What is the process of raising sales order for different plants.
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:10 AMHI G. Lakshmipathi,
Thnks for the reply.Yes i am comparing (DWERK (at header level) and WERKS (at item level)) these two fields.
Any how we can give only one plant in Customer Master, we are not maintaining Customer/mtrl regard (Not required in our company scenario) and we have extended MMR to different plants.
So as per ur answer u went me to change only WERKS (at item level) while raising sales order for different plants.Is it enough?
Thnks&Rgds
NAG
Edited by: NAGA SUDHIR on Apr 3, 2009 6:46 AM
Maybe you are looking for
-
Deploy business workflow in CRM 7.0 webUI
Hi experts, before i have configured sap business workflow in SAP GUI and also know with portal it will be possible to migrate worklow from GUI to web. But CRM 7.0 is based on BSP application, so i want to know how could i migrate workflow fr
-
All, Hi, my name is hoss and I am a newby for itunes and would like to organise my Itunes. In Itunes I have two the same albums of which number 1 to 6 is on one album and 7 to 13 is on the second. I would like to join them so I have only one album wi
-
Icloud application does not load
I have been using two lap tops.. one running windows 7 and the other windows XP. Regularly I can not access my icloud account - 1. It does not load the application and 2. Unable to access the server I've looked at all the control panel settings and
-
Newbie question - how to concatenate in EQL?
Sorry for such a simple question but the answer is eluding me in the documentation and samples. How do you concatenate two attributes in EQL? I have looked at https://wikis.oracle.com/display/endecainformationdiscovery/Endeca+Query+Language+%28EQL%29
-
JSPs, UTF-8 & multibyte characters
In our project we have a situation where we must output some multibyte characters to a JSP page. The data is retrieved from an Oracle database using BEA ELink and XML (don't ask why). The XML-data is UTF-8 encoded, and t