Mobile Sales: Volumes/Trade Spends planning (same as CRM_MKTPL transaction)
Hello
I am using Mobile Application Studio 4.0SR1 with SP8
I have some trouble with the modification of the Volumes/Trade Spends Planning.
- The first thing I don't understand, running the project step by step, is how a DLL can call back functions in the program, when the object is created with a CreateObject().
In the Business Objects project (sfabol), class PLANNINGMANAGER, the dll PlanSrvc.dll is used (version from Aug. 2006) :
Private PlanningManagerDLL As Variant
(Private Sub Loaded)
Set PlanningManagerDLL = CreateObject("SAP.PlanningService")
(Public Function ForecastPrepare)
ForecastPrepare = PlanningManagerDLL.Forecast_prepare(time_array, html_view, html_data)
If ForecastPrepare = False Then GoTo ErrHandler
(note that time_array, html_view, html_data are empty when the function is called)
So, during the execution of "PlanningManagerDLL.Forecast_prepare", my next step should be the line just after (I put a breakpoint on it to be sure that it cannot resume the execution), instead it goes back to my original class BOTSPPromotionPlanning, and calls several functions in it, then resumes to the True/False test
I searched the entire project and couldn't find any calls to these functions elsewhere.
My first deduction was that this PlanSrvc.dll somehow called its parent (or parent's parent) function, by i've just thought that it may have declared an object of BOTSPPromotionPlanning, or the dll of sfabol, but as I cannot access its code (standard SAP dll, it seems) I can't tell what happens.
- This leads to my 2nd problem :
As of the latest SP08 and patches we are working with (though I don't know what was the latest patch), the Volumes/Trades Spends planning is displayed as follow :
Product Group Material Sales Unit
</b>
Total # ST
P1 # ST
Product1 # ST
Product2 # ST
and I would want it displayed as in the crm_mktpl transaction :
Total # (or blank) ST
P1 # (or blank) ST
Product1 Id1 ST
Product2 Id2 ST
But the only result I can get is (by applying a modification in method PopularCharValues, similarly to note 787400)
Total Id1 ST
Id2 ST
P1 Id1 ST
Id2 ST
Product1 Id1 ST
Product2 Id2 ST
(and here in Total and P1, the key figures are displayed for each product instead of being calculated in the 1 line case)
I tried to play with variables during runtime, but I could only put one of the IDs to '#' so I still got the 2 lines with a '#' and the other Id.
These lines seem to be set in the dll PlanSrvc, unless I missed something.
So >>> Is there a way I could access the code in the dll, or is it only private to SAP so I would have to ask them for a change ?
(create a note ?)
Or maybe someone can tell me where to modify so as I get the right values ?
Thanks and Regards,
François
-edit-
I thought I had found a way around that problem by displaying the Product1 / Id1</b> line, and leaving the <b>#</b> in the 2nd column. The values were well calculated ; but while saving, only one product (on the 1st line) is saved. I think it is because the savin process checks the
Material column for distinct values.However with my original solution, both the 2 products were saved.
Message was edited by:
Francois Feugier
Hi !
Ok I managed to get this solution :
Total # ST
P1 # ST
Id1/Product1 # ST
Id2/Product2 # ST
My problem in the -edit- of the previous post came from a conversion function, as the products didn't have their reference loaded it didn't update well a counter, so the converted objects didn't have the same structures and one was discarded some functions later.
Now I have yet to see if it is ok when transferring the Campaign to the CRM Server (CRM_MKTPL transaction, which displays my original wanted solution), but as I only modified display variables and it seems that what is stored are the SQL Keys of the products, I think it will be OK.
I still didn't get the DLL thing but I should be able to continue without having to modify it.
Similar Messages
-
Volume/Trade Spends tab on Trade Promotion or Deal Master
Hi All,
When creating a trade promotion or deal master via CRM_MKTPL transaction, I have filled in the basic data tab, product tab and volumes/trade spends tab.
The volumes/trade spends tab is split into two parts, the products and key figure columns are displayed directly in SAP SEM in the lower part of the tab page.
I need to get these values so I can display in my smartform.
Does anyone know how to retrieve these values? Is there a BAPI, class or any function module I can use to get these values.
Your help will be highly appreciated.
Many Thanks!I can udnerstand that is going to take effect with the sales order with immediate effect.
I don't want to make any billback on this.
But here is my question.. what's the usage of claims management on this? Cause my discounts are in the sales orders.. why should i receive claims for an off invoice activity in my trade promtoion?
I know is very specific quesiton.. if you don't know is not a problem
Thanks. -
Starting AMT FailedI am facing the same issue while opening AMT/Mobile Sale
Hi All,
I am facing a issue while opening AMT/Mobile Sales Appl/System Maintenance. I am getting the error saying 'UI_CORE_APPL_LAUNCH_FAILED_STA'. Could anyone out there please tell me how to resolve this issue?
I checked the UID and PWD under HKEY_LOCAL_MACHINE\SOFWARE\SAP\MSA\MW\secutiry for IDES DB and they are consistent with the ODBC parameters for IDES.
Much appreciated,
Karuna.Hi All,
my issue is resolved. The problem with my issue was the missing entry in the table SMO_AUTH_SYS. I found the note 687679 and ran the report according to it. With that table SMO_AUTH_SYS was populated with the record. Later i was able to connect to AMT and gave the standard role SAP_AMT_USER and since then i am able to log into MSAA application and also MSY application
My issue is resolved. Thanks for everyone who tried to help me out.
Thanks,
Karuna. -
Price = Sales / Volume ... FOREACH not giving desired results
This should be easy but I am tearing my hair out... I want to use an IP formula to calculate Sales Price by Gross Sales / Sales Volume.
We use an account model where CMROW = '000030' means Sales Volume (stored in key figure A0QTYVAR0), CMROW = '000050' means Gross Sales (stored in key figure 0AMOUNT). The formula is:
FOREACH PLANVER.
IF PLANVER = '#'.
FOREACH CALYEAR.
IF CALYEAR = '2008'.
FOREACH SHIPTO.
SALES_VOL = 0.
GROSS_SALES = 0.
FOREACH CMROW.
FOREACH INFOPROV.
SALES_VOL = SALES_VOL + { A0QTYVAR0, '2008', INFOPROV, SHIPTO, '000030', '#' }.
GROSS_SALES = GROSS_SALES + { 0AMOUNT, '2008', INFOPROV, SHIPTO, '000050', '#'}.
ENDFOR.
ENDFOR.
MESSAGE I000(38) WITH 'SHIPTO = ' SHIPTO.
MESSAGE I000(38) WITH 'GROSS_SALES = ' GROSS_SALES 'SALES_VOL = ' SALES_VOL.
{ 0AMOUNT, V_TARGETYEAR, 'A2APSBUP1', SHIPTO, '002000', V_PLANVER } = GROSS_SALES / SALES_VOL.
ENDFOR.
ENDIF.
ENDFOR.
ENDIF.
ENDFOR.
When I run it I get output like:
SHIPTO = 0005000053
GROSS_SALES = 2,9 SALES_VOL = 0,0
GROSS_SALES = 0,0 SALES_VOL = 1,8
SHIPTO = 0005000149
GROSS_SALES = 2,9 SALES_VOL = 0,0
GROSS_SALES = 0,0 SALES_VOL = 2,1
etc. and the price written to the planning cube is always zero, since variables GROSS_SALES and SALES_VOL are never non-zero at the same time.
What am I doing wrong?!Hi,
Please try this, and let me know your outputs...
Supose the following: FTBCH {KF, 0CALYEAR, 0CMROW, 0INFOPROV, PLANVER}
V_TARGETYEAR as input from user
V_PLANVER as inpur from user.
SALES_VOL = 0.
GROSS_SALES = 0.
FOREACH CALYEAR, CMROW, INFOPROV.
IF CALYEAR = '2008'.
SALES_VOL = SALES_VOL + { A0QTYVAR0, CALYEAR, '000030', 'ZIC_SOURCE', #}.
GROSS_SALES = GROSS_SALES + { 0AMOUNT, CALYEAR, '000050', 'ZIC_SOURCE', #}.
ENDIF.
ENDFOR.
MESSAGE I000(38) WITH 'GROSS_SALES = ' GROSS_SALES 'SALES_VOL = ' SALES_VOL.
{ 0AMOUNT, V_TARGETYEAR, 'A2APSBUP1', '002000', V_PLANVER } = GROSS_SALES / SALES_VOL. -
Upgrade from CRM 4.0 to CRM 7.0 and disconnect mobile sales
Hi
With CRM 7.0 we want to utilize the web UI and stop using Mobile Sales. This means we will no longer need the comms station or workbench machines. Assuption is that with links to EEC6 from CRM 7.0 we no longer need to download sales orders and that CDB is redundant so mobile bridge can be turned off..
Has anyone done this before ? Do we need to be aare of anything ?
Best Regards
MHi,
we are also plan to do the same - replace CRM 4 MSA with CRM 7 Web UI. Technical Topics are more planning and checking: How does the User access the Solution (Netbook and UMTS), global availability, closing Mobile Bridge and deleting CDB Tables, check your Z Reports - some Developer used smo Tables which are not updated after the Upgrade. Plus Organizational challenges: With MSA you could do Rolloutwaves - Now for Example Frday Evening shut down all MSA User -> Monday morning All Users Go Live with CRM Web UI. This has to be handled (incl. deinstall/disable of TS Mobile) incl. Training and Support effort
Hope that helps for the Start
Andreas -
Crystal Report Error - Mobile Sales - 4.0 SP 12
Some of the users are getting the following error message while trying to open the Crystal Reports from Mobile Sales.
"This program is used to host and to initialize the UF F has encountered a problem and needs to close. We are sorry for the inconvenience."
Can you please let me know where can I find any update about these issues?
Has anyone ever come across this type of error?
Thanks in advance.
Regards,
PijushHi Pijush,
Can you ensure that the following Dlls in the machine are registered:
1. Register all the Dlls and ocx files available in
<<Installation directory>>\Sap\Mobile\bin directory.
2. Register the dlls and ocx files available in
<<Installation directory>>\Sap\Mobile\3rd_party directory.
3. Register the sfabol.dll and msa.dll. It will be available under
<<Installation directory>>\Sap\Mobile (or in the sub-directories
based on how settings are at your end.
But before doing the same, please ensure that you unregister the other Dll first.
As you are aware, the starting application is UFContainer.exe. The same
requires the following Dlls/OCX to be registered:
1. sfabof.dll
2. scrrun.dll in C:\winnt\system32 directory
3. ErrComp.dll
4. UFCore.dll (based on the IE Version)
5. ACTBAR.OCX
6. MSCOMCT2.OCX
7. comdlg32.ocx
8. SSLSTBAR.ocx
9. MSCOMCTL.ocx
Can you please ensure that the above are indeed registered in your case
Some of the above exists in C:\winnt\system32 directory.
If the problem remains it may be because of the IE version you use. Do you use IE7? iIf so did you face the same problems with IE 6 also?
Regards,
Gervase -
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. -
Error while generating the Business Object in Mobile Sales
Hi,
I made changes to the Business Object BOCAPGEN.
Now I am trying to generate the business object but it is giving out the error saying
Error intializing RT Generator !.RT Generator Failed for ".Error arsrep.dat is in use so Generation cannot be done
I am not a MSA Developer and have no clue regarding MAS(Mobile Application Studio)
So any one can please give me a clue regarding the issue
I have solved it by closng all other application other than client console
Thanks Guys
Message was edited by: zack taylorHi !
1 year later, I am facing the same problem.
I want to build MSA 4.0 SP8, everything runs fines until the end of the generation of the Tiles, the next step fails :
Error intializing RT Generator !.RT Generator Failed for ".Error arsrep.dat is in use so Generation cannot be done
Then around 10 thousands of error messages of that kind follow in the output window ; howeverin the end it says "Generation End" without telling whether it was successful or not (the first time the output window was too small, I thought all was OK )
Anyways, the Mobile Sales icon appeared on the desktop and when I try to launch it I get the error "Starting MobileSalesfailed".
During another attempt, I check with "Unlocker" the 2 arsrep.dat files I found under the BOL directory, it reported that none was used and locked at that moment.
Also I killed the vbagen.exe process before starting the build, but it was automatically launched after. (first build was launched after a reboot, the 2nd after the 1st failed + vbagen.exe process killed)
Does anyone have any clue ?
Another question is : what are the rights required ? I am a local administrator but I do not have full admin rights (the only thing I saw at the moment is I cannot access to Add/Delete Programs in the Control Panel)
Thanks & Regards,
François
-edit-
thanks to the one who moved it to the right forum
Message was edited by:
Francois Feugier -
Error message while closing mobile sales on a vpn-connected notebook
Hi!
We're working with Mobile Sales 4.0 on laptops with WinXP ...
When our field service stay connect via vpn with the central server sometimes it happens that an error-message pop up if Mobile Sales shall be closed. The text is "this program is used to host and to initialize the UF F found a problem ...". What does this text mean? What is "UF"? Why raises this error?
Thanks a lot in advance for your help!
Best regards,
IngoHi Paul!
Sorry. No note. It was a ...
0000000012 Individual solution without a specific SAP Note.
If you need the zip (1.6 mb) please call me at
ISchmoekel [at] nordIT [dot] de
Best regards,
Ingo
Here's the complete text from sap:
Dear Ingo,
Can you please ensure that the following Dlls in the machine are
registered:
1. Register all the Dlls and ocx files available in
<<Installation directory>>\Sap\Mobile\bin directory.
2. Register the dlls and ocx files available in
<<Installation directory>>\Sap\Mobile\3rd_party directory.
3. Register the sfabol.dll and msa.dll. It will be available under
<<Installation directory>>\Sap\Mobile (or in the sub-directories
based on how settings are at your end.
But before doing the same, please ensure that you
unregister the other Dll first.
As you are aware, the starting application is UFContainer.exe. The same
requires the following Dlls/OCX to be registered:
1. sfabof.dll
2. scrrun.dll in C:\winnt\system32 directory
3. ErrComp.dll
4. UFCore.dll (based on the IE Version)
5. ACTBAR.OCX
6. MSCOMCT2.OCX
7. comdlg32.ocx
8. SSLSTBAR.ocx
9. MSCOMCTL.ocx
Can you please ensure that the above are indeed registered in your case
Some of the above exists in C:\winnt\system32 directory.
Please test again, after you did the above!
If this could not help you, pls try the following:
This solution will only work with laptops/Tablet PC running IE6.0
Please check the IE version before trying to apply these changes
Here are the steps necessary to carry out the changes:
1. Download the zip file attached with the OSS and copy it into a
temporary folder Eg. C:\ForDelete
2. Unzip the contents in the same folder.
3. Locate the installed bin path of the Mobile application. Usually it
will be C:\Program File\SAP\Mobile\bin
This folder will have lots of dlls.
4. Copy
UnregisterUIF.bat
RegisterUIF.bat
in
C:\Program File\SAP\Mobile\bin and in
C:\Program File\SAP\Mobile\bin\IE60
run UnregisterUIF.bat from both the folders
5. Copy the following files
UFStorage.dll
UFIContainer.dll
UFIControls.dll
C:\Program File\SAP\Mobile\bin and in
C:\Program File\SAP\Mobile\bin\IE60
run UnregisterUIF.bat from both the folders
5. Copy the following files
UFStorage.dll
UFIContainer.dll
UFIControls.dll
UFICoreInt.dll
UFIPlugins.dll
UFITypes.dll
MobileClient.exe
UFTools.exe
into the folder C:\Program File\SAP\Mobile\bin\
Run RegisterUIF.bat
6. Copy the following files
UFCoreIE60.dll
UFControlsIE60.ocx
UFFrontendIE60.dll
into the folder C:\Program File\SAP\Mobile\bin\IE60
Run RegisterUIF.bat
7. Start the mobile client and verify if the crash at that scenario
is fixed.
8. If everything works fine delete the Temp folder with the Zip file. -
Install Mobile Sales on Windows 7 64-bit?
Hello,
I found note 1469507 today, which enables Mobile Sales 7.0 SP4 to work on Windows 7. However, it is not mentioned which bit-versions of Windows are supported. The documentation for this version of Mobile Sales hasn't yet been updated, so Windows 7 isn't mentioned in the compatibility list at all.
Has anyone installed MSA 7.0 on a 64-bit version of Windows 7 or can confirm that this is supported?
Thanks!
Kind regards,
AlexandraHi Naved,
Thanks for your quick response!
Do you happen to know if a 64-bit implementation is planned for future releases of MSA?
Thank you!
Best regards,
Alexandra -
Getting an Error in Rebate VBO2- "Sales volume is not current"
Hello Gurus,
I am working in ECC6.0 & my agreement type customer & Material rebate.
Have maintained records in VBO1 & in billing -condition tab the correct % get populated. But the same is not displaying in VBO2.
Also i executed VBOF, the sales volume is not getting updated in VBO2.But in the verification level of the rebates i can see the accruals, but not in sales volume.
Could any one help in this.
Regards,
Sunina AHi Sunina
Check the sales Volume group details in VB)2. Also check in OMO1 wheather the infostructure S060 is updated or not updated .If it is not updated then update it and then run VBOF and then check in VBO2 if the sales volume is getting updated or not
Regards
Srinath -
CRM Mobile Sales Application : HTTP Communication Failure ERROR
Hi All,
I am trying to build a CRM mobile application in the Windows mobile.
the steps that we have followed are:
1. Activated and generated the Standard CRM mobile software component MAS_SMARTPHONE_DMSCV
2. Created the same Users in the CRM and DOE system
3. Set up windows mobile simulator
4. Created data in the CRM backend and performed initial download in the DOE.
5. activated the distribution model rules in the Admin and monitoring portal
6. and finally installed CRM mobile sales App in the Windows mobile,connected it to a device,and logged in to the CRM app from the simulator using the user and password created in step 2.
A device is created on the Admin & monitorng portal as soon as we sync from the simulator but we are unable to see any data
in the outbound queue.
In the transaction SMQ2 we have found our device queue with an error saying *exception occured due to HTTP communication
failure*
Debuggin the queue we are able to find an error under the class CL_DOE_ESDMA_SOAP_HANDLER in the method
PUSH_TO_DEVICE.
As we are on new grounds we are not able to assess the problem. Does it have anything to do with ports.
We are able to get see all the messages and the data while debuggin but while pushing it to the device there is a glitch.
Please suggest with any solution to this or what might be theHi Siva,
Thank you for your reply.
We have checked the ports that is concerning SUP it is 2000 we find it is active and open.
We have also checked a subscription monitoring table as suggested in a previous post [/community [original link is broken]
threadID=1978692].
we are getting a HTTP 110 error while debugging the queue of the device.
While checking a monitoring we have found a log saying :
Receive failed: client host = 10.116.158.208: com.sybase.djc.SystemException: HTTP: Post Message - HIOP Version not specified\nProbable cause: unexpected failure or abnormal shutdown of client application or client host
Please suggest to us what might might be the problem.
Thanks,
Krutheeka. -
Error while opening Mobile Sales
Hi all
I have developed one application in MAS. Before Generating i tick make dll both UI and Businsslogic then generate. After that i open Mobile sales application "Starting Mobilesalesfailed". Context - UI_CORE_APPL_LAUNCH_FAILED_STA. Starting Mobile Sales Failed. Error
how can i solve this issue.HI Niranjan
I tried it. Everything is ok
but,
see after change properties for shortcut file, then i executed shortcut one small window (Analysse) came. In that
1. AuthadminTool(Amt) - its working fine
2. MobileSales(MSA) - Not working ie.can't logon - Record No. 3
3. MobileSystem(MSY) - Not working ie.can't logon - Record No. 3
4. MobileSales(LEA) - Not working ie.can't logon (Which one i mentioned in
(User Interface - > Run File name) Record No. 2
Last 3 applications same error occured. -
405 - ICM_HTTP_INTERNAL_ERROR in CRM Mobile Sales
Hi Experts,
We deployed a CRM Mobile Sales 1.2 in Windows Mobile simulator. When we try to login to CRM Mobile Application, it is keep on checking for initial data in the simulator, then we checked in the session monitoring for any errors, we found the error as"405 - ICM_HTTP_INTERNAL_ERROR -".
But we were able to get the all the data (Activities, Task, etc) previously. For the past two days, we were not getting any data in the mobile simulator due to this error.
Please let us know the solution for this issue at the earliest.
Thanks,
Mohan.Hi Siva,
I am having the same problem, while trying to connect through my Windows7 laptop, the SAP CRM Mobile App keeps on showing "Checking for Initial Load" on login screen after entering the PIN, Connection Information and SAP CRM credentials and never go to App's home page.
I also tried logging through iPhone but not able to see any data there also.
I checked and found the data in MAS_AUTH_CUST & MAS_CUSTOMIZATION and BP related objects (as we haven't downloaded the Products and Transaction related objects yet), but not sure where to check USER_DETAILAS & USER_AUTHORIZATION.
How can we trace and monitor that the data is flowing from NWM to Mobile device??
Quick inputs will be highly appreciated..
Cheers!!! -
Difference between Mobile sales and Mobile Service
Hi All
Can anybody help and explain me what are the major defferences between Mobile Sales and Mobile Service,What are the configuration settings required in Mobile Service,Because we have to start support project for Mobile Service.
Regards
KrishnaHi Krishna,
The difference is Mobile Service is used by field technicians who provide a service to customers. Eg: an engineer who goes out to customer site to fix machinery. They can fill out the deatils on the Mobile Service application. Time spent, parts used etc..
Sales is used by sales reps, who are selling a product.
The configuration is the same for both. In fact its possible to have bothe sales and service installed on the same machine.
Regards,
Gervase
Maybe you are looking for
-
Error 7 (Windows error 193) question
I have Vista Home Premium, SP2. After successfully installing using iTunes64setup.exe, when I try to open iTunes, I get 2 messages: 1. iTunes.exe - Bad Image: C:\Program Files (x86)\Common Files\Apple\Apple Application Support\CoreVideo.dll is eit
-
my little sister got an ipod mini today and we are having trouble getting it to connect with the PC.
-
Nano will not operate like the users guide says
I bought a new Nano for my wife and so far I cannot get it to work properly. I've been going by the users guide and nothing works like it say it should. Guide says to swipe right to go back to home screen, cursor goes up. Guide says to hold on touch
-
new to oracle and need advice, how to recover oracle when online redo log files are deleted. DB is in NOARCHIVE LOG Mode. Its been running for three months. No backups of any kind available. DB was "shutdown immediate" for server maintenance(all chan
-
An app to show battery use????
Hi. Recently I have noticed my phone getting rather hot and the battery going down faster than it used to. I haven't really added any apps, but i've noticed alot of apps (mainly googles) have had updates in the last week or so. Are there any apps tha