Performance Incentives for Sales personnel
Dear Experts,
I am asked to capture the sales data of the sales personnel and give them the sales incentive as per the quantity of materials sold.
The client has an existing third party software which is keeping track of the sales data,need to pull that data to sap.
Plz help me on this .
Regards
Hi,
Actually HR /SD integration may come into picture.I intially thought of creating a Incentive/Bonus wagetype in infotype 0014 and manually uploading it to all the sales employees using LSMW taking into account of the bonus data captured per month in the third party software .But they dont want it this way round they want all the bonus data to be automatically cumulated in sap
Dont know if its possible??
Regards
Rachana
Similar Messages
-
Automatic determination for Sales personnel / Employee responsible in sales
Hi Gurus,
Help me out in automatic determination for Sales personnel / Employee responsible in sales order. I have tried in Partner determination, it is not working.
Regards,
sushilThere can be few options:
Option 1: In the customer master partner determination, add the Sales Person and Employee responsible partner functions and mark them as mandatory. In the Sales Order Header Partner Determination, add the same and mark them Mandatory. Then during order processing, the relevant Sales Person and Employee responsible will flow in the order header partners
Option 2: Mainatin a Z table based on Sales Area / any other specific parameter / Sales Person & employee responsible. You can improvise the table parameters as per your business needs and requirements.Then in the order user exit MV45AFZB in form_userexit_move_field_to_VBAK you can read this z table and get the sales person and employee responsible. May be you can add these two fields in Order Header- Additioanl Data B tab and populate them thru this program.
Hope this helps
Regards
Sai -
Performance tuning for Sales Order and its configuration data extraction
I write here the data fetching subroutine of an extract report.
This report takes 2.5 hours to extract 36000 records in the quality server.
Kindly provide me some suggestions for performance tuning it.
SELECT auart vkorg vtweg spart vkbur augru
kunnr yxinsto bstdk vbeln kvgr1 kvgr2 vdatu
gwldt audat knumv
FROM vbak
INTO TABLE it_vbak
WHERE vbeln IN s_vbeln
AND erdat IN s_erdat
AND auart IN s_auart
AND vkorg = p_vkorg
AND spart IN s_spart
AND vkbur IN s_vkbur
AND vtweg IN s_vtweg.
IF NOT it_vbak[] IS INITIAL.
SELECT mvgr1 mvgr2 mvgr3 mvgr4 mvgr5
yyequnr vbeln cuobj
FROM vbap
INTO TABLE it_vbap
FOR ALL ENTRIES IN it_vbak
WHERE vbeln = it_vbak-vbeln
AND posnr = '000010'.
SELECT bstkd inco1 zterm vbeln
prsdt
FROM vbkd
INTO TABLE it_vbkd
FOR ALL ENTRIES IN it_vbak
WHERE vbeln = it_vbak-vbeln.
SELECT kbetr kschl knumv
FROM konv
INTO TABLE it_konv
FOR ALL ENTRIES IN it_vbak
WHERE knumv = it_vbak-knumv
AND kschl = 'PN00'.
SELECT vbeln parvw kunnr
FROM vbpa
INTO TABLE it_vbpa
FOR ALL ENTRIES IN it_vbak
WHERE vbeln = it_vbak-vbeln
AND parvw IN ('PE', 'YU', 'RE').
ENDIF.
LOOP AT it_vbap INTO wa_vbap.
IF NOT wa_vbap-cuobj IS INITIAL.
CALL FUNCTION 'VC_I_GET_CONFIGURATION'
EXPORTING
instance = wa_vbap-cuobj
language = sy-langu
TABLES
configuration = it_config
EXCEPTIONS
instance_not_found = 1
internal_error = 2
no_class_allocation = 3
instance_not_valid = 4
OTHERS = 5.
IF sy-subrc = 0.
READ TABLE it_config WITH KEY atnam = 'IND_PRODUCT_LINES'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
READ TABLE it_config WITH KEY atnam = 'IND_GQ'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
READ TABLE it_config WITH KEY atnam = 'IND_VKN'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
READ TABLE it_config WITH KEY atnam = 'IND_ZE'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
READ TABLE it_config WITH KEY atnam = 'IND_HQ'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
READ TABLE it_config WITH KEY atnam = 'IND_CALCULATED_INST_HOURS'.
IF sy-subrc = 0.
wa_char-obj = wa_vbap-cuobj.
wa_char-atnam = it_config-atnam.
wa_char-atwrt = it_config-atwrt.
APPEND wa_char TO it_char.
CLEAR wa_char.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " End of loop on it_vbap
Edited by: jaya rangwani on May 11, 2010 12:50 PM
Edited by: jaya rangwani on May 11, 2010 12:52 PMHello Jaya,
Will provide some point which will increase the performance of the program:
1. VBAK & VBAP are header & item table. And so the relation will be 1 to many. In this case, you can use inner join instead multiple select statement.
2. If you are very much confident in handling the inner join, then you can do a single statement to get the data from VBAK, VBAP & VBKD using the inner join.
3. Before using for all entries, check whether the internal table is not initial.
And sort the internal table and delete adjacent duplicates.
4. Sort all the resultant internal table based on the required key fields and read always using the binary search.
You will get a number of documents where you can get a fair idea of what should be done and what should not be while doing a program related to performance issue.
Also you can have number of function module and BAPI where you can get the sales order details. You can try with u2018BAPISDORDER_GETDETAILEDLISTu2019.
Regards,
Selva K. -
Performing coding operation for sales order
Dear All,
I have project to code for sales order. I need to know about linked tables for respective field areas and also i need to know any standard report available for the same.Hi,
Just check this link..
http://www.sapgenie.com/abap/tables_sd.htm
Regards
vijay -
Meet a problem of data exchange for sale order from CRM to R3.
Dear Friends:
I do the data exchange for sale oder from to R3 today , the problem's detail is as follows:
When i save a sale order in CRM (Version is 5.0) . it can automatically generate a bdoc which bdoc type is BUS_TRANS_MSG. but the bdoc status alway is "Sent to receivers (not all have confirmed)". and the original order in CRM can not be change .it quote that "Document is being distributed - changes are not possible", so i check the order status analysis in detail .it presents two error messages ," Event 'BEFORE_CHANGE', attribute ' FINI': Error code for function module 'CRM_STATUS_BEFORE_COMPLETED_EC' , "Item is not yet completed in OLTP system". so i check the order in R/3 ,it has already been create and without any error messages.
Would like to tell me how to solve it . thanks your any idear..Hi Benjamin,
When performing uploads to R/3 from CRM there is a response from the OTLP system that is sent back to the CRM Middleware to confirm that the data records were received and processed correctly.
Here is a checklist you can run through to verfiy that the connections, systems and objects that are needed are all in place:
<b>On R/3 system:</b>
- Check R/3 outbound queue (transaction SMQ1) for any entries that are not reaching CRM.
- Check that all RFC destinations on R/3 are defined correctly and are pointing to CRM
- Check the CRMCONSUM table in R/3 to ensure CRM is registered as a consumer
- Check the CRMRFCPAR table in R/3 to ensure that order objects are valid for exchange between R/3 and CRM
- Check for any short dumps in R/3 (ST22/ST21)
<b>On CRM:</b>
- Are there entries stuck in the inbound queue (SMQ2) with R3AU* names?
- What does the CRM Middleware Trace show (SMWT)? Sometimes this has more detail than the specific BDoc overview (SMW01)
- Check for short dums in CRM (ST22)
Let us know what else you uncover and we can work from there.
Brad -
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. -
How to find out the Accounting document status for sales order
Hi
We have created the sales document by referring the billing document of contract no.Aftre that we have raised invoice for sales document. Now system is generated both invoice , accounting document and the value is appearing against the invoice document. However the status against the accounting document is showing as not cleared. I want to know where we could see this status in Table,
Normally we can see the status in FPLT for contracts since its having the billing plan no. Suppose if the billing plan is not available like S.O , How to check the status in table?
I have refered so many tables but not helping. Since i want to get the uncleared value of accouting document.
Please help me.
Regards
ThennaHi Thenna
The accounting document status in the document flow is determined dynamically when you display the document flow,
it's not saved in a specific table.
Here is the relevant logic:
LV05CF01 -> form BUCHHALTUNGSBELEG
IF vbrk-vbeln <> vbfa_tab-vbeln.
PERFORM vbrk_ermitteln USING vbfa_tab-vbeln.
REFRESH xbkpf.
CALL FUNCTION 'FI_DOCUMENT_READ'
LOOP AT xbseg WHERE bukrs EQ xbkpf-bukrs
AND belnr EQ xbkpf-belnr
AND gjahr EQ xbkpf-gjahr
AND ( koart EQ 'D' OR koart EQ 'K' ).
ENDLOOP.
IF NOT sy-subrc IS INITIAL.
SET STATUS TO 'No items are cleared'
l_xdoc_num-status = 'A'. <<<
ELSE.
LOOP AT xbseg WHERE augbl IS initial
AND umskz NE 'A'
AND vorgn NE 'AZUM'
AND ( koart EQ 'D' OR koart EQ 'K' ).
ENDLOOP.
IF NOT sy-subrc IS INITIAL.
Set status to 'All items are cleared'
l_xdoc_num-status = 'C'. <<<
ENDIF.
ENDIF.
Regards,
Alex -
Error thrown in BAPI for SALE order
Hi,
In BAPI_SALESORDER_CREATEFROMDAT1 i got one error
Personnel master record (some number) does not exist for sales
How to solve this issue. Please give the solution.
thanks,
Suresh.MHi,
Can you please mention the exact data you are passing to the bapi ?
Kindly, check the partners details you are passing in the bapi as well.
KR Jaideep, -
Sample script to insert into mtl_transactions_interface for sales order
Hi,
can any one provide me the script to insert into mtl_transactions_interface for sales order transactions. actually i have to create the transactions for all the assemblies/components of C* item (configured item). as per the standard functionality it will create only for the C* item.
Thanks in advance..
Regards,
SreenathIf I understood your question correctly, your requirement is as follows.
You have a sales order for a configured item - say C*123.
The components of C*123 are A and B.
A and B as well as C*123 appear on the sales order.
When you ship the sales order, Oracle will create sales order issue transaction for C*123.
You would like to use the transactions interface to create sales order issue transactions for A & B.
That is wrong thing to do.
You should not create a sales order issue for A & B.
You need to BUILD C*123 by creating a work order. You need to perform WIP component issue transaction for A & B.
Hope this helps,
Sandeep Gandhi -
How to delete and re-set sales personnel number
Hi gurus,
I have some problems on sales personnel
1. I created a new record using T-code VPE1 and it asked for a TR (transport request). I cancel so the TR is not generated. I will delete the record. Is creating sales personnel a master data or config?
I found although I cancelled, the sales personnel number has increased e.g. from 4 to 5. So how or where to reset the number back to 4? I can't find the config or function to reset. Any idea??
2. Can the record 5 be deleted? And if able to reset the number, can 5 be still re-use?
Regards
BernHi Zuzana,
Thanks for your valuable info.
Yes, I totally agreed with you on the unique id. However, as I mentioned earlier in my scenario I have created the record but cancel the transport request (TR) in development environment. Hence, this record will not be transported to QA n production eventually.
Therefore, I need to delete the record. Then reset the number back to 4. After that, create the record again and henceforth the rest of the sales personnel.
I wonder if it is correct that it will generate the TR i.e. if it's a master data in VPE1 after saving that's it. If it does generate the TR then it is a config. I am still puzzle if it is a config or something wrong with my development server.
Need your expertise advise.
Thanks.
Regards
Bernard -
Influence about system performance by RAL, SAL
Hi, Experts.
My team are going to use RAL(Read Access Log) and SAL(Security Audit Log)
for logging users access to sensitive data.
To meet the compliance, we have to log users' activity information
as 5W1H(WHO, WHAT, HOW, WHEN, WHERE, WHY) principle.
But I want to know that how much will system performance be affected by applying RAL and SAL.
Are there anyone who have the data or experience about that?
I understand it can be different by the level of log detail.
Best Regards.
Dongki.Hi,
I have been through measurement exercises in the past for SAL and have found no measurable performance influences. The only factor we could measure was log growth (which is very dependent on what you are logging) and that is arguably storage rather than performance related.
I can't say I have looked at RAL from a performance perspective yet so am also interested in hearing any answers to this.
Cheers -
Settlement for sales order TAB item
Hi Experts,
1. Is that only when the sales order item status change from " Not invoiced " to Invoiced ", the settlement can be performed ?
2. We have one sales order , which item category is TAB, we alreday GR for parts, GI for sales order, and invoiced to customer, when we run VA88, why there is no change on this item ?
Thanks and Regards
Shubinwhen u invoiced, then run VA88 (settlement).
kapil -
Dear All,
I want to generate alert when ever a sales order is added in the system by sales team (user) and send this alert to purchase team ( user).
how to perform this.
swapYou have posted duplicate threads for the same question. Please refer to the other thread and close this one:
Alerts for Sales Order
Thanks,
Gordon -
Error during material determination for sales document item - RRB
Hi
Iam getting following error when trying to create a billing request using DP91.
Error during material determination for sales document item 40001560/000010
Message no. AD01155
Diagnosis
An error occured during material determination for a dynamic item.
System Response
The system cannot perform the function.
Procedure
Check in the profile being used whether its characteristic allows the assignment of a material to each dynamic item.
I have checked my DIP profile using ODP02 there are no errors in it, I have created a Setid and assigned it to costing element in selection criteria and material determination criteria.
Material origin is checked in costing tab in material master.
Appreciate help in resolving this.
thanks,
VaishnaviHi Vaishnavi
The error which you are getting is related to costing.So kindly reach your FI Consultant
please check the following links which may help you.Also check the link that has been provided my Lakshmipathi
ERROR AT DP90 TRANSACTION
Regards
Srinath -
Business Package for Sales in SAP R/3 4.6C
Is it also possible to use some of the functions of the Business Package for Sales for connecting to an SAP system 4.6C? I want to use the standard ITS webgui and hope there are some developed templates which I can use.
Best Regards,
Alvaro<b>-> 46C is no longer in standard maintenance</b> (you could order extended maintenance at an extra price...)
-> so: you either order or you will not be able to dl r/3 46C
-> which database system do you plan to use?
-> i'd rather start with sap r/3 47x200 sr1 or sap erp
<b>standard installation procedure:</b>
- get instguide + relevant sapnotes
- check & apply prerequisites
- as for oracle: install database software oracle (using runInstaller) and apply patches
- install central instenace using r3setup and template r3central.r3s
- install database instance usind r3setup and template r3database.r3s
- perform post-installation actions..
GreetZ, AH
Maybe you are looking for
-
I am unable to delete whole texts from left-swipe. i click delete and they dissappear. But then i can't send or recieve texts. i reboot phone and deleted message reappear, but i am able to continue send/recieving texts.. i've synced, backup, everythi
-
I follow all the steps as listed on the screen, but when I get it set it reverts back to actual size. Had no problem on an older model, but no success on this one. Thanks This question was solved. View Solution.
-
Change default language in SU01 (CUA)
When starting transaction SU01 in the CUA (ECC 5.0) the language field is already filled in with EN. I want this field to be empty when starting thsi transaction OR I want to be able to change the default language to NL. Could anyone explain me how
-
RE-Acknowledgement without any changes in the log???
Hello Guyz, I am working on an issue where we have been receiving an excessive number of re-acknowledgments that are not as a result of a sales order change registering in the change log. This problem is creating a significant amount of additional wo
-
Release the camera software goodies from z2 to z1
Dear Sony z2 is amazing phone but its no different from z1 and z1s so please release all the camera feature and a good camera algorithm to take good quality low light pictures if u don't Sony will loose many customers i have seen some samples from z2