Problem in enhancing "Sales Order Tracking" Fiori App
Hi,
I need to enhance Sales Order Tracking Fiori App. My scenario is to add Sales Order Count to Customer EntitySet/List.
In package P_SRA018_ODATA, which refers to this app, I can not see any standard enhancement possibility where I can add enhancement for my Model and Data Provider classes.
So I am now trying class based enhancements for my model and data provider classes.
a) When I try to enhance MPC_EXT, I can not because methods are inherited not redefined ones and I can enhance only redefined methods.
b) When I try to enhance my MPC class I am not able to create a post exit. I get following error when adding a post exit:
The class has not yet been converted to the new class-local types
When I try to do so from utilities->Convert class-local types, system asks for an object key.
c) As opposed to this, I am able to add a post exit in DPC_EXT class sucessfully!
Whats the best way to enhance this app?
Tags edited by: Michael Appleby
Hi Saumil,
This is help document.
http://help.sap.com/saphelp_fiori_erp_100/helpdata/en/38/265c5273066f2de10000000a44176d/content.htm?frameset=/en/fb/b34f52f10a5c64e10000000a423f68/frameset.htm
Regards,
Masa
SAP Customer Experience Group - CEG
Similar Messages
-
Problem in importing Sales Order with udf in the rows
Dear All,
I am having problem in importing Sales Order with udf in the rows. I mean it is getting imported but the udf values in the rows is not getting updated. But the udf values in the header is getting updated. I am using SAP 8.8 Pl 10.
Can anyone guide me what to do in this scenario?
Regards,
GarySo , Login to DTW .
with the Desired Database and Login Credentials.
Goto - > Templates - > Customized Templates
Select The Object .
Right Click on the object needed and choose Create Template for the Structure .
Then use this template for import .
Hope it helps
Thanks
Ashish Ranjan -
Problem in Creating Sales Order PL/SQL API
Hey,
I've to create a Sales Order 'n BPEL by using Apps Adapter. In Module Browser, I've chosen the OE_ORDER_PUB.PROCESS_HEADER and given the correct details.
I passed the new ORDER_NUMBER and HEADER_ID as blank. I'm getting the response RETURN_STATUS as 'S' ( I mean which is success) and it is not throwing any error message.
But while checking in the OE_ORDER_HEADERS_ALL table, I am not finding any created Sales Order record.
Please help.
-- Eric.Hi,
After giving some parameters, I am facing different problem as shown in below.
FND FND_AS_UNEXPECTED_ERROR N PKG_NAME OE_Delayed_Requests_PVT N PROCEDURE_NAME LOGREQUEST N ERROR_TEXT ORA-06502: PL/SQL: numeric or value error: NULL index table key value
This error I am getting as Response while executing from BPEL.
Please help.
-- Eric. -
Facing the problem while creating sales order
Hi,
I am facing the problem while saving the sales order.
Error in system xxx/400 while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors occurred while transferring the document into another system. To view the error messages, see the enclosed log.
Transmission log
u2022Product cannot be recoded for ERP System xxx/400(Notification E CRM_ORDER_MISC 015)
u2022Product cannot be recoded for ERP System xxx/400 (Notification E CRM_ORDER_MISC 015)
Kindly assist me.
MadhuHi Madhusadan,
Can you check whether the product exists in the ERP System or not? You can take the product names and can check the same using the Tcode: MM03 in ECC System. Also, it would be good if you have a look at the product from the CRM System if there are any errors or the product is already archived.
Is the Sales Order you are creating from a Preceding Transaction ?
Hope this helps.
Thanks,
Samantak. -
Problem in creating sales order in Make TO Order
Hi all,
We are trying to test the strategy 50 (Make to Order strategy) . To begin with we are trying to create the Sales order. However , we are getting the message "NO availibity check can be carried out for Material " we have assigned the checking group and checking rule .
What can be the possible causes for this problem . Please help me . I will be very grateful . Thanking you.
Kind Regards
AyazDear ,
Planning startegy 50 , Requirement Type of Customer KEV , in -OVZG -can you please chek the following : Select the Requirement Class for Planning Startgey 50 based on the Requirement Type : KEV
1.Did you mark the Indicator Requirement Transfer in Requiremet Tab
2.Did you mark the Availablity Check marked ?
Goto SPRO-Define Planning Statgey and Comapre the same because it will be copied from OVZG
Hope it is clear
Regards
JH -
Order type Personalization Problem in Standard Sales Order Form
Hi All,
We have a problem in personalization of Sales order form.Here we are trying to personalize three field based on order type
Scenario 1:_
_Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->order type-->standard_
In this type if we are navigating to lines it should ask the following fields as mandatory
(Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->others form)
1.Shipping Method
2.Freight Terms
3.Shipment priority
Scenario 2:_
_Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->order type-->Bill only & Internal & RMA_
then it should navigate to line items without asking those three mandatory fields.
For that we did the following Personalization through Help-->Diagnostics-->Custom Code-->Personalize
Level--> Form level
Enabled-->Yes
Condition_
Trigger Event: When-Validate-Record
Trigger Object: Order
Condition : +(:ORDER.ORDER_TYPE not like '%INTERNAL') and (:ORDER.ORDER_TYPE not like '%BILL%') and (:ORDER.ORDER_TYPE not like '%RMA')+
Processing mode : both
level:site
Actions_
seq:10
type:property
description:Make field mandatory
language:all
enabled:yes
object type:item
target object :ORDER.SHIPPING_METHOD
property name:REQUIRED
value:TRUE
Problem+_
The problem we are facing is when we first select the ordar type as Bill only or Internal or RMA it is working as expected. But first if we are select the order type as standard then we navigiting to lines it is not allowing us without entering those three mandatory fields as expected. Hence the problem is without closing the form we changed the order type as Bill only now also those fields remains as mandatory this is issue .
So hope the problem is clear to you all and we have to move this in production on tomorrow.
If somone helps to resolve this ASAP we would thankful to you.
Thanks in advance
Regards,
CSKHi Sandeep,
Thanks for your quick response.
you might not have getting the our problem sorry. let me explain you clearly
If the ordre type is standard the following fields should be mandatory without those fields it should not navigate to line items_
1.Shipping Method
2.Freight Terms
3.Shipment priority
If the ordar type as Bill only or Internal or RMA_
1.Shipping Method
2.Freight Terms
3.Shipment priority
non mandatory should navigate to line items
for that we did three personalization for those three fields as in the previous post
but the problem is
when we first select the ordar type as Bill only or Internal or RMA it is working as expected the fiel sare non mandatory the without closing the form if we select order type as standard then if i try to navigate lines it is not allowing me without entering the three fields. But incase first we are select the order type as standard then we navigiting to lines it is not allowing us without entering those three mandatory fields as expected. Hence the problem is without closing the form now we changed the order type as Bill only or internal or RMA now also those fields remains as mandatory this is issue .
hope now the problem is clear to you .
Thanks in advance
Regards,
CSK -
Problem in cs61 sales order bom
Dear sir
i created sale order for item 100 x matrial and item 200 y material ,sales order no 1234.for this sales
order i want to create sales order bom by cs61 . when i create this the system should allows item 100 for x matrial and item 200 for y material for same sales order . but if i give material y for item 100 and material x for .200also the system allowing to create the sales order bom.this will effict the bom .
so system should not allow to create the sales order bom when i give wrong material to item .
pl give me correct solution for above problem
regrds
BaswaBaswa,
when you create sales order BOM through CS61 its all together new BOM specialy meant for that sales order - material combination.
To create it you can take referance of Material BOM , but there is no such functionality to restrict the componet changes or quantity changes.
The CS61 its self is meant for creating customer specific BOM , which can be all together different from Material BOM. as in many business its required that , we need to modify our existing BOM on customer request to incorporate that customer specific changes. For all other things standard BOM is there in system and its not affected by this new customer specific BOM.
If you need further help , discribe your need of creation of sales order BOM.
Hope it helps you.
Regards
Ritesh -
Problem in lock Sales order create with BAPI BAPI_SALESORDER_CREATEFROMDAT2
Hi All,
i have the z program to create the sales order with reff quotation in SD With BAPI BAPI_SALESORDER_CREATEFROMDAT2.
this program will excute every 30 mins .
Problem: Some times if i excute the program in background it is taking morethan 30mins so second batch excution also gets starting to create the sales order for same quotation then it is creating 2 sales orders at atime with 1 quotation.
here i am getting duplicate sales orders so i want to lock the creation of duplicate sales order.Some solutions
- Just lock (ENQUEUE) any object at the start of the job(*), if not locked, you can exit or wait in a loop, will be released at end of job (use a _SCOPE '3' so commit work wont release the lock)
-> This will insure the job runs only once at a time
- Lock the quotation before calling the BAPI, will be released by the COMMIT_WORK (from where do you fetch the quotation, if it is a customer Z_table, you can use the lock object that you have surely created ?) (use a _scope '2')
-> This will insure that at most one job will convert a quotation (i suppose you set a "done" flag or status in the quotation record)
Read [SAP Locks |http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm] if you are not familiar with the concept of lock in SAP.
Regards,
Raymond
(*) E_TABLEE for table, E_TRDIR for program, anything not required by another process -
Problem creating a sales order for configurable material in SAP ECC
I have a Variant Configurable material named X.
The structure of this VC material is
Material X has charatcertics CHARCTERISTIC1 and CHARCTERISTIC2.
CHARCTERISTIC1 has values VALUE1
CHARCTERISTIC2 has values VALUE2
I created a sales order manually from VA01 using configurable material and read the values of all configuration tables to be filled from BAPISDORDER_GETDETAILEDLIST. With the help of this data i got an idea how to fill the tables of BAPI BAPI_SALESORDER_CREATEFROMDAT2. But still i am able to create a sales order but the configuration data that i give is not getting populated in the sales order.
Where am i missing. please some body suggest. I am unable to debug and searched the forums
for this information but dint find solution for my problem. some body please tell me where am i missing?
Any help would be highly appreciated
Edited by: jessica sam on Jan 12, 2009 2:59 PMEven after maintaining the item category MTAC(Mills Make to order config at mat level), the configurable material is not getting replaced in the sales order (va02). It is just showing material variant exists for the configurable material.
The setting in item category for configuration is.
Config. Strategy 01(Sales Order Strategy (TAC, TAM))
Mat. Variant Action 4 (Replace configurable material (Append and change))
ATP material variant 2 (Do not substitute if not completely available)
Structure scope D (Configuration, poss. with BOM explosion)
I have maintained the stock for material variant as well to take care of ATP material varinat setting shown above.
Please suggest if missing something. -
Problem in Uploading sales order text data using LSMW
Hi All,
I am facing Problem in uploading open sales order data from legacy to SAP using LSMW.
We are trying to upload sales order data using LSMW Standard Batch/Direct input using program name RVINVB10 and program type D. We are not able to upload item text but have no problem in uploading remaining data.
the details we are passing to BTEXHKOM structure are......
BTEXHKOM-OLDNR = IHEADER-OLDORD_NO.
BTEXHKOM-LAISO = 'EN'.
BTEXHKOM-TDID = 'Z009'.
and the for structure BTEXLKOM
BTEXLKOM-OLDNR = IHEADER-OLDORD_NO.
BTEXLKOM-TXPARGRAPH = '/'.
CONCATENATE LITEM-DEPTID LITEM-DEPTNAME
INTO BTEXLKOM-TXLINE SEPARATED BY ' '.
we have three input source structures.
IHEADER Header structure
LITEM Line item structure ( Material data )
IPARTN Partners structure
The structure relationships are
BTEXHKOM <<< IHEADER.
BTEXLKOM <<< IHEADER.
Please let me know if I am doing some thing wrong or some thing else need to be done.
Thanks,
Chindam.you can pass below values also
OLDNR : order number and item nuber
TXPARGRAPH : VBBK
TXLINE : your text..... -
A problem about create sales order with reference to contract.
Hello,everyone,
when I create sales order va01,there is user exit in MV45AFZB to check the vbkd-bstkd,unique and fixed length.
but there is no such in contract creation va41.
when I create a contract and copy the data to sales order ,the check code is prevent me from copying
message error:the vbkd-bstkd check is wrong.
how to solve the problem, if I have to use the check in sales order.The Simple thing may be put a check at contract stage it self, then whatever data is in contract will copy in sales order. So you wont face this problem.
Thanks,
Raja -
HEllo Experts
I require help for following situation.
My scenario is
SOURCE ODS1: <b>ZMB_CR.</b>
Objects:
<b>1.ZQUALITY</b> (Its an indicator that consists of "S" and "X".
<b>2. ZTRPOST</b> (Its an indicator that consists of "S" and "X").
Target ODS: <b>ZFIN_ODS.</b>To the target ods the data is coming for 4 different ODS.
including ZMB_CR. We have two different infoobjects in
Target.
1. Microhold quantity: Its based on condition where (For the sales order in ods ZMB_CR. if ZQUALITY="S" Accept the BOX QTY.
2. PFD Quantity: Its based on condition where (For the sales order in ods ZMB_CR. if ZQUALITY="X" and TRPOST="S" Accept the BOX QTY.
Now my problem is the status of ZQUALITY and TRPOST keeps on changing when the goods move from one location to other. After i upload the data into target i get the correct figures where as after the status changes in the R/3, then i upload into BW the results are not displayed correctly..
Example:
Total Qty is 100.
Initial quantity(100) is considered as "Microhold QTY" because the ZQUALITY is "S".
If Quantity (50) is moved from one location to other location the ZQUALITY is "X" and TRPOST is "S". Its "PFD QTY"
Now my requirement is when ever the "X" comes into BW. The "Pfd qty" should be subtracted from "Microhold qty"
AT the first schedule the follwing will be displayed.
<b>Total Qty =100
Quality="S"
Trpost="S"
Microhold qty=100
PFD qty= -
</b>
When from the total qty 100. 50 is delivered. Now in the next schedule
<b>Total Qty=100
Quality="X"
Trpost="S"
Microhold qty=100
PFD qty=50</b>
Here i want Microhold Qty to be 50. How can i accomplish this. plz let me know for further clarification. Thanks in advance
Regards
Srikanth.
Message was edited by: SrikanthHi,
If PFD QTY is the quantity which is always to be taken from the Total Qty .I.e if there is some qty under TOTAL QTY for a plant , then only there is a chance in the system to make movement with PFD QTY from that Plant.
then, I hope, the formula will solve your problem.
In query :
1) Take the Microhold quantity in to one column and hide it.
2) Take the PFD Quantity in to another column and hide it.
3) take the formula as column1-column2.And name it as 'Microhold quantity'
With rgds,
Anil Kumar Sharma .P -
Problem while creating sales order
Hi
We are facing a problem while creating a sales order in R/3. The sales order number is getting generated. But we are not able to view the same in the backend meaning it is not there in the database. Any inputs would be of help.
regs
SteveHi everybody,
I've got a problem with this too. I use the BAPI_SALESORDER_CREATEFROMDAT2 with BAPI_TRANSACTION_COMMIT and the webdynpro shows me the document number created in R3 with a Success message. But when I go to R3 and try to display the created sales order, it doesn't exists. So... Maybe I'm doing something wrong with the BAPI_TRANSACTION_COMMIT. ¿Can anybody help me with this?
The code I use is this:
When the user pushes the SAVE button in the WebDynpro, this code executes:
//@@begin onActionSave(ServerEvent)
wdThis.wdGetSOCreaCustController().executeBapi_Salesorder_Createfromdat2();
wdThis.wdGetSOCreaCustController().executeBapi_Transaction_Commit();
//@@end
In the custom Controller I've got the code for those executions:
public void executeBapi_Salesorder_Createfromdat2( )
//@@begin executeBapi_Salesorder_Createfromdat2()
try {
wdContext.currentBapi_Salesorder_Createfromdat2Element().modelObject().execute();
catch (Exception ex) {
wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
wdContext.nodeOutput().invalidate();
//@@end
public void executeBapi_Transaction_Commit( )
try {
wdContext.currentBapi_Transaction_CommitElement().modelObject().execute();
catch (Exception ex) {
wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
wdContext.nodeOutput().invalidate();
//@@end
¿Is something wrong? ¿Is something missing? -
Problem in Creating Sales Order From One DB to another DB
Hello All,
I am trying to create a Sales Order in another database from the current database based on the Purchase Order but while creating the sales order system is throwing an error " In "To Whse" enter valid values [ZAPp 0] "
My Code for Creating Sales Order in another DB are as follows :-
'==== Connect To another SAP Company ====='
'=====================================
Dim oCompany_DB As New SAPbobsCOM.Company
oCompany_DB.Server = "OSL_SERVER"
oCompany_DB.LicenseServer = "OSL_SERVER"
oCompany_DB.UseTrusted = False
oCompany_DB.CompanyDB = Database_Name
oCompany_DB.UserName = SAPUserName
oCompany_DB.Password = SAPPassword
oCompany_DB.DbUserName = DBUserName
oCompany_DB.DbPassword = DBPassword
oCompany_DB.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005
lRetCode = oCompany_DB.Connect()
If lRetCode <> 0 Then
oCompany_DB.GetLastError(lErrCode, sErrMsg)
If (lErrCode <> -4006) Then
Class_InterCmp_Main.SBO_Application.MessageBox(sErrMsg)
End If
End If
'===== Creating the Sales Order ====='
'================================
Dim oOrder As SAPbobsCOM.Documents = oCompany_DB.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
Dim DocDueDate As String = oRecord.Fields.Item("DocDueDate").Value
oOrder.DocDueDate = DocDueDate
oOrder.CardCode = Customer
While Not oRecord.EoF
Dim ItemCode As String = oRecord.Fields.Item("ItemCode").Value
Dim WhsCode As String = oRecord.Fields.Item("WhsCode").Value
Dim Quantity As Double = oRecord.Fields.Item("Quantity").Value
Dim Price As Double = oRecord.Fields.Item("Price").Value
Dim Discnt As Double = oRecord.Fields.Item("DiscPrcnt").Value
Dim TaxCode As String = oRecord.Fields.Item("TaxCode").Value
oOrder.Lines.ItemCode = ItemCode
oOrder.Lines.WarehouseCode = WhsCode
oOrder.Lines.Quantity = Quantity
oOrder.Lines.Price = Price
oOrder.Lines.DiscountPercent = Discnt
oOrder.Lines.TaxCode = TaxCode
oOrder.Lines.Add()
oRecord.MoveNext()
End While
lRetCode = oOrder.Add
'=== Check For Error if any ===='
If lRetCode <> 0 Then
oCompany_DB.GetLastError(lErrCode, sErrMsg)
If (lErrCode <> -4006) Then
Class_InterCmp_Main.SBO_Application.MessageBox(sErrMsg)
End If
End If
oCompany_DB.Disconnect()
When i execute the above code company gets connected but sales order not getting added in another company.
Thanks,
AmitYou can not do it the alternate way Kevin suggests, direct DB inserts are prohibited by SAP and can corrupt your DB, particularly because unlike what most people think, all SAP documents affect more than just their own tables (e.g. the numbering table, the history tables).
Are you getting any error message, or is it returning 0?
If it is returning 0, then check is the document actually going to the newly created database or maybe somehow going to old one.
If it isn't returning 0, what is the error code and message.
Edit:
Also I do see an error in your code. As it stands, you are adding an empty line to the end of every order. This can cause problems for SAP.
Dim counter As Integer = 0
If counter <> 0 Then 'Not equals 0, forum hides lt & gt symbols.
oOrder.Lines.Add()
End If
counter = counter + 1
oOrder.Lines.ItemCode = ItemCode
oOrder.Lines.WarehouseCode = WhsCode
oOrder.Lines.Quantity = Quantity
oOrder.Lines.Price = Price
oOrder.Lines.DiscountPercent = Discnt
oOrder.Lines.TaxCode = TaxCode
Edited by: njmog1 on May 9, 2011 10:14 AM -
Shipping point problem in Cash sale order
Hi friends
Hi friends.
I am creating Cash sale order, when i saved it, system display error display u201C Shipping Data/Receiving missingu201D and order can not be saved. But when i create standard order OR, it's no problem.
When we click on Error, another screen open:
Shipping point should come automatically and when we click on Combo box on shipping, there is no entry. I have check CS order type, Item category and all configuration. Can any one suggest me what i should do.
Thanks
Rajhi
for cash sales shipping conditions are different check in VOV8 for your cash sales order type shipping conditions.
and assign them in OVL2
shipping conditionsloading groupplant. like
100001plant
regards
Maybe you are looking for
-
Hi, In mssql i am using following things. I have two database D1 and D2, i am using snapshot isolation (ALTER DATABASE MyDatabase SET ALLOW_SNAPSHOT_ISOLATION ON) in both database. Following is the situation. 1) There is one SP sp1 (
-
For the last 15 days I haver been struggling to get information whether the PPX1020 projector is compatible with macs. Having downloaded the Drivers for Philips - without any support or advise - I resorted to try the product before returning it to Am
-
Default presentation numbers??
Hi, am I missing something obvious - or is there no way to apply a default for the number of decimal places that a field has in the presentation layer of OBIEE 10.1.3.4 i.e. for a STAT figure I want to apply 3 d.p. as default thanks, Robert.
-
Can´t reinstall or uninstall NAM (Firewall)
I had a problem with nvidia´s nic, it dissapeared but i had recovered it. Now i can´t open the web page of the firewall, it send me to a nonaccesspermlocal page. I can´t uninstall it and I can´t repair or reinstall over it other version, newer, same
-
I cannot update iPad to newer s/w iOS 8.0.2
I am trying to help my parents with an iPad that is probably a couple of years old. I was trying to update to a newer s/w push to 8.0.2 and it says it needs 1.8 GB to upload. I tried to update an app that needed 915 MB and both of them would not up