F4 for Sales Order No
Hi All
I am trying to put in a F4 functionality for Sales Order Document No in my BSP application. I developed the custom BSP extension and element as per Thomas's weblogs. I am able to get it working for Material No but not for Sales Order No.
I am trying to use the business object BUS2032 and/or a reference to the data type VBUK-VBELN but neither of them is working.
Has anyone got the F4 to work for sales orders?
Any suggestions would be appreciated.
Thanks in Advance
Shawn
What exactly isn't working? I don't have a system with that BSP exentions running directly on ERP, so I can't test the direct data reference. I did try the BUS2032 object remotely. At first I got a not authorized message. This is common for many BAPIs. They need an authorization function module. This must be configured in table BAPIF4T. I created a single generic function module to do authorization checks by data type and then just assign them to the object (in this case VBELN_VA) in this config table.
You may also find that it is easier to create your own custom BOR object. I created one generic BOR object where I can add my own Key Fields and Attributes to, in order to quickly link to any Search Help I want.
Similar Messages
-
Query for Sales Order Analysis
Dear Experts
I have written a Query for Sales Order Analysis and would like to have help on this.
The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
where U_Total_GP is a UDF for storing the GP of each order.
After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
Thank you
Regards
EltonHi Elton,
Try this:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
Union ALL
SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0]
ORDER BY T0.[DocNum]
Thanks,
Gordon -
Workflow for Sales Order Release via Status Profile
Dear all,
i want to make a workflow for sales order which have 4 User Status in One status profile.
Once Event triggered for sales order
1. Mail should go to main authority with sales order number.
2. Once authority will do some changes in the required field then he/she changes
the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
3. Once again same changes in sales order but now user status-2 from user status-1
as per line Item and mail should go to department no-2 (Head authority).
4. Once again same changes in sales order but now user status-3 from user status-2
as per line Item and mail should go to department no-3 (Head authority).
5. Once again same changes in sales order but now user status-4 from user status-3
as per line Item and mail should go to department no-4 (Head authority) .
and parrally for each changes of Status mail should also go to User (Event Creator).
6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
please help me out.
Thank YouHi Neeraj,
First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
Just go with these things and let me know if you get stuck up somewhere.
Regards,
Guddan -
hi,
i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.Hi, Krishna!
With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
Regards,
Maxim. -
RBA GATP check is not getting invoked for Sales Order
Hi Everyone,
RBA GATP check is not getting invoked for Sales order.
I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
I would expect that system would propose the same material in an alternate location where we have stock through RBA.
Request you to share ideas on this.
Regards,
Avijit DuttaHi Avijit,
You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
Thanks,
Bala. -
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 -
Report for Sales Order Change History CDPOS and CDHDR
How to take a report of the data for the Sales Order Change history for a particular period of time. It is required to take a report of all the Sales Orders for which the basic price has been changed. Please let me know the procedure. I could not get the data from the table CDPOS and CDHDR
Helpful answer would be rewarded.
Regards
PraveenDear Praveen Kumar
Have you tried with VBAP where sale order details at item level would be stored.
Moreover, to my knowledge, there won't be any changes as for as pricing is concerned at sale order level but there is at billing level. Normally, any price increase / decrease would reflect in billing. So why dont you to table join through SQVI VBAP (for sale order details) and VBRP (for billing details) so that you can compare the selling price in sale order with billing.
Thanks
G. Lakshmipathi -
How to look for sales order number if I know outbound delivery number?
How to look for sales order number if I know outbound delivery number?
Hi ,
If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
You will get a window,there you can see the Sales order Number before your outbound delivery Number
With Thanks and Regards,
Priya -
WBS element for Sales Order Item level
Hi gurus,
I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
Regards,
Satyajit
Edited by: Satyajit Saha on Feb 22, 2008 1:24 AMHi gurus,
I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
Regards,
Satyajit
Edited by: Satyajit Saha on Feb 22, 2008 1:24 AM -
Requisitions for sale order stock
Requisitions for sale order stock that are generated directly from the
sales order are not passed to SRM but requisitions that are created
manually for sales order stock are passed to SRM.
Why is the sourcing of a requisition for sales order stock where the
requisition was created directly from the sales order not supported?Hi,
We need same requirement, we found only PR's with item category "5"(Third party ) created from sales are transfered to SRM.( It is hard coaded in ECC).
Let us know if you are able to resolve your issue.
Thank you
Sreedhar Vetcha -
In which table,i could find order quantity for sales order..??
In which table, i could find order quantity for sales order..??
and also in which table i could find delivery for sales order..
need help..??
Moderator message: please search.
Edited by: Thomas Zloch on Feb 23, 2012Check the table AUFM.
Give the order number in AUFNR.
For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS). -
How to get the back order quantity for sales Order
Hi Friends,
I want to get the back order quantity for sales order . in MD04 t-code,
there is a field(MDEZ-MNG01) for Received Qty/ Required qty. But MDEZ is a structure.
I tried from MDTB table, but the table is not updated with the values in MD04.
Please guide me from which table I can get the back order Qty for sales Order
(ref: t-code MD04, MRP element = CusOrd).
Thanks,
Sagar>
VIdya Sagar wrote:
> Hi,
>
> Isn't there any difference b/n Open Sales Order and Back order??
Yes Quite Difference.
Read:
http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm -
SAP Mobile Sales 2.0 delta load issue for Sales Orders
Hello,
we have used Mobile Sales 2.0 with a Windows app for a while now. Our current issue is that sales reps won't see any historical sales order data on their devices.
Background
Due customer requirements, we need to make small changes to customer master data attributes and reload all customers from ERP to CRM. Then we ran delta loads (MAS_PARTNER followed by all other objects) to DOE, in which virtually all 5000+ customer accounts were compared. The delta load ran for about 3 days (some performance bottleneck we haven't located yet).
During the delta load, data on devices was inconsistent. Accounts were missing and all transaction data disappeared. After the delta loads, all accounts and contacts are OK, save for a few. Data from activities (appointments, tasks) have reappeared, as they should. Only sales orders won't reappear. The sales orders exist in the backend and belong to active accounts and sales reps.
Settings and troubleshooting so far
We don't have any limitations for sales orders in CRM Sales Mobile configuration.
We've run delta loads for all objects in transaction SDOE_LOAD.
MAS_CUSTOMIZATION etc seem fine.
We've re-run initial load for sales orders from CRM.
In the test system, we've even reinitialized the whole CDS database on DOE and on the devices, then re-ran the loads.
Checked steps suggested in discussion
SAP CRM 2.0 initial load issue
Historical sales orders (those created before the master data reload) exist in the backend, but don't show up on the device.
If I change one of those historical sales orders in the backend, it gets sent to the device.
If I create a new sales order in the backend or on the device, it is saved and replicated just fine.
To sum it up, it seems DOE is unable to identify the sales orders relevant for replication.First Doubt i got clarify by my self as we can go with Unwired Runtime option .
But i still have doubt in :
2. How can i Modifying the Main Menu for iOS.
i am able to customize the same for windows using files SybaseCRM.Configuration.xml file.
Same how can i do for iphone/ipad. -
Dynamic Credit Checks - Different Horizon for Sales Order & Delivery
Hi Experts ,
had a query . I am testing a scenario for Dynamic credit Check where the Horizon is ZERO for Sales Order & 3 Months Horizon for deliveries. How should the system behave in such a case. What would be the best way to test whether system behaviour is ok as per this expectations.
Also I would like to know whether "0" horizon for sales order means that system looks into the entiire list of open sales orders or the horizon of check is only upto the end of the current month . In FD32 the curent date is indiacted as the horizon date. While creating sales orders today I found dynamic block for 0 horizon is only working for sales orders with availabilty date upto 7th July '10 which neither covers the existing month-June & neither full of July. Beyond that there is no dynamic block soccuring.That made me a bit confused .
Please advice with you valuable inputs.
Thanking You.Hello Sai ,
thank you for the response. Had already checked note . But this does not speak about the implication "0" M horizon of dynamic credit check . What is coverage for that ? -
Copy 0CO_OM_WBS_5 to get variances for Sale Order / Item
Hi ,
I copied the existing 0CO_OM_WBS_5 extractor and modified it with a logic to bring the Result Analysis numbers for Sales Orders. But when trying to create a normal generic datasource with the FM it is not allowing and giving me an error "E_T_DATA is not present in the the Function Module " The same is not available in standard datasource FM as well for 0CO_OM_WBS_5 .Do we need to maintain any table for mapping the datasource with FM and Extract Structure specific to the CO-OM Extractors.
Help will be greatly appreciated.
Regards,
VSKThanks.
-
Error reading material cost estimate for sales order (KE292)
Dear All,
I have an issue with billing. we are posting july month transactions, the material cost is maintained through MR21. When releasing billing document for accounting we are getting error message like"Error reading the material cost estimate for sales order "11"
Message no. KE292
Diagnosis
In Profitability Analysis (CO-PA), the system tried to valuate item 000010 of sales order 11 by reading the corresponding product cost estimate.
However, no product cost estimate could be found for this sales order item.
The system accessed product costing for product AMLFP011011XX00P using costing key YB3 as defined in the
CO-PA Customizing settings.
System Response
The system cannot process the document any further.
Procedure
Check your Customizing settings."
We cross checked with other client as a current date and we ran cost estimate through CK40N with same material. and we posted entries. Here it is working fine. but in above process it is not working. Can you pls guide me where i missed.
Regards,
Nagaraju,Hi,
When the Costing Key is assigned to the material types in the COPA customizing, then system expects Cost estimation when billing is released to Accounts.
If you dont run cost estimation but update the material master through MR21, system will not accept as in the Costing key configuration you must have selected the Current Standard price field for the valuation.
Hence, try to run cost estimation and then do releasing.
Thanks & Regards
Ravi Kumar
Maybe you are looking for
-
Can I use my Japanese keyboard while using English language?
Hi I'm a complete noob when it comes to Mac's as this is my first. I purchased a Mac with a Japanese keyboard as i'm half Japanese and use Japanese quite alot. I'm wondering if I can use the Japanese keyboard whilst in English language mode. I can ge
-
hi All, Our Browser based Infopath forms have slowed down drastically after applying SharePoint 2010 SP2. Prior to this, we had SharePoint 2010 SP1 and the timings was around 10 seconds (single user) for the entire infopath form to be displayed which
-
Bug on installing Version 1.5.1
After downloaded new version and started (without any previous settings) it return errors messages like this: Exception Processing Message c0000013 Parameters 5ffa1d6c 5ffa1d6c 5ffa1d6c Message was edited by: LordMax
-
Hi, I am working on one web dynpro application where I am using function module : Bapi_Employee_Getdata . In this i need to get the user id from portal and need send that as input parameter to RFC, I did everything but when i see output i c
-
Please help!!! Blank input in JSP
Hi all, What should I do when I get blank input from a form into JSP i.e the user do not enters anything in the textbox ? I want to store it as NULL in my database file.Can anybody help how should i do that ? Thanks for any help in advance. regards,