Error in saving sales employee
Hi Experts,
I am trying to save sales employees in sap business one through DI API. However, after calling the Add method, it gives me this error: "Data is not available; modify selection criteria and re-enter:.
What does this mean?
Thanks.
Melvin Balingit
Sorry Guys,
I have tested the following code, and working perfect. So no problem with the usersfields.
Dim oSP As SAPbobsCOM.SalesPersons = oCompany.GetBusinessObject(BoObjectTypes.oSalesPersons)
oSP.SalesEmployeeName = "DEMO Sales Person2"
oSP.UserFields.Fields.Item("U_TEST").Value = "TEST"
If oSP.Add <> 0 Then
sbo_application.MessageBox(oCompany.GetLastErrorDescription)
End If
I have version 2007 SP 01 PL 09.
You may check what Vasu suggested....
regards
János
Similar Messages
-
Error while saving sales order
Hi I am encountering below error message while saving sales order:
Warehouse
Specify export data in material master
Then I go to material master to check foreign trade export tab, and I had maintained commodity code export group, country of origin and region of origin, what did I miss? Help.Hi,
Check whether you have activated legal control data for the Sales Order type configuration in Foreign Trade.
If the Order type is activated then the following error message can pop up unless you maintain in material master.
See whether export legal control data is activated or not for the order type.
In IMG Sales and Distribution>Foreign trade>Legal control section
Regards,
Saju.S -
Run Time Error on Saving Sales Order
Hello,
We are facing problem when saving sales order. When order is created and save button is pressed, it saves sales order and gives Order Number. But while saving the order during update it gives dump due to Data duplication in VBFA while inserting data to VBFA table
Looking at ST22 log this error is in form VBFA_BEARBEATEN
Kindly guide.
Thanx in advance.
RegardsCheck the Sales Order Number Range.
It seems either the Number Range is exhausted (completed) or a document with same number is already created in system in past...
Hope this helps,
Thanks,
Jignesh Mehta -
Mobile Sales - Error while Saving Sales Order
Hi,
When I try to create and save a sales order in the Mobile Sales, the error message UI_CONT_STATUSBAR_ICON_TT is displayed, blocking the saving process and the new order is not saved.
I tried to debug the SAP Mobile Application Studio(Visual Basic) side and I didn`t find any error there.
Does anyone knows what could be happening?
Thanks for any help.
Regards,
AndrewI reinstaled the Mobile studio and then it worked.
-
Run time error while saving sales order
Hi all,
i am working on IDES ECC 6.0, when i am saving an sales order(OR) i am getting run time error in the table CRMPAROLTP, program SAPMV45A.
i am using 4 GB RAM, still having a space of 30 GB for only IDES to save the data.
so, how to solve it.Hello,
I doubt the runtime error (I am assuming you mean that you got a short dump) you mentioned in your original post has anything to do with the warning messages you see when doing a check (Ctrl+F2) on table CRMPAROLTP and program SAPMV45A. These warnings should not cause a short dump or runtime error.
The warning message for the table has the following long text:
Table CRMPAROLTP: Key length > 120 (Restricted functionality)
Message no. DT214
Diagnosis
The key length, i.e. the sum of the field lengths of all the key fields of the table, is more than 120 bytes.
System response
This is a warning.
Procedure
Note the following restricted fuctionality for this table:
- Table contents cannot be transported by specifying key values, at
best by specifying generic key values with a maximum length of 120
bytes.
- The table may not be used as the base table of a lock object.
The warnings in SE38 for program SAPMV45A are mostly related to Unicode and have no reference to the table CRMPAROLTP.
If you haven't already done so, please check the SAP Note referenced in my first reply since this does provide a solution for short dumps related to table CRMPAROLTP.
Of course, since I don't know specifically what the short dump message is that you received, I could be basing my assessment on false assumptions. If you have those details it is better for the SDN community as a whole if you include the information in this thread instead of sending it to me offline.
Best Regards,
Jamie -
Error while saving sales order2
Hi expert:
I encountered below message when I am saving the sales order:
Missing data: Profitab. Segmt No.
What is segmt No.?
I just used ship to with country code CN, then I encountered above issue, but If I choose ship to or sold to with country DE , then everything is ok.Help.Try to input but I encountered below error message...
Error occurred in derivation rule. See long text
Message no. K/111
CO-PA Characteristic Derivation
Diagnosis
Step 0006 Country Ship-to --> Intern.Reg
No entry in a derivation rule was found for the specified source fields.
The derivation rule was set up so that an error message appears when this happens.
The required derivation rule entry would need the following source fields:
Country Ship-to
CN
Procedure
Create an entry in a derivation rule for these source field values. Make sure that entries exist for all the valid source field values. If the derivation should not always be carried out, you can also define a derivation rule so that no error message appears if a derivation rule entry does not exist.
Maintain entries
Maintain derivation strategy -
Prompt for Customizing request when saving Sales Employee (VPE1)
Hi,
When we try to create Sales Personnel through SD Menu path (VPE1), on saving the system prompts for customizing request. Since this transaction is a master data and we dont transport this data to our production system. Suggest me a way to avoid this transport request while creating Sales Personnel.
We are currently using version 3.1i and upgrading to ECC6.0. In 3.1i we use transaction PAL1 to create Sales Personnel However it will not prompt for Customizing request
Also checked the SAP Note Note 854390 - FAQ: Use of the sales representative in SD without HR
Help me on how to turn off this customizing request. Basis and Security team could not able to turn this off.
Regards,
Pradeep Maddihello, friend.
you have 2 choices:
1. create a transport request, save the data but do not release it for transport.
2. when the dialog asks you for transport request, just close this. the system will give you a message about links. just ignore it.
hope this helped. reward if so.
regards. -
CRM EmployeeResponsible of BP replicated to ECC Sales Employee error
Hi Experts,
We are integrating CRM 7.0 with ERP 6.0 and make CRM act as a leading system.
BP is created in CRM to have field Employee Responsible. And the relationship "Has the Employee Responsible" and its sales organization has been maintained with Partner Function = 'Sales Representative'. On saving this BP, it is supposed to have this customer created in ECC and have partner function 'PE' (Sales employee) to be the responsible employee.
However in CRM we get an error message for this BDOC,
Deletion not allowed: SP is mandatory function
(Error message: F2 609)
Any hint will be helpful.
Thanks in advanceHi Kai,
Thanks for your reply.
But we already have those mappings in both CRM and ECC side and all of them are standard, since we do not have any custom partner functions.
Fortunately, we have succeeded to solve this issue by removing the "unique" flag for "Sold-to party", and importing note 1392878 to solve the problem of changing and deleting issue of relationship/partner function in CRM.
To setting unique flag for "Sold-to party", it is in ECC, view V_TPAR.
By the way, we also have Note 497146 - Relationship remains in CRM aft downld partner functn deltn implemented in our CRM. But not sure whether it is working. -
Error while saving the Sales Order
Hi experts,
i am getting a runtime error while saving a sales order stating: SAPSQL_EMPTY_TABNAME. It says the field T681-KOTAB could be empty. I would give in more inputs. Someone plz help.
Thanks.I would expect that KOTN521 would be a Database table defined in the ABAP Dictionary that relates to the condition implemented in 521 for the usage specified in that record.
You should be able to go into the info system, SE84, and search under ABAP Dictionary / Database Tables to see what KOTN521 is.
Also, since the only Keys to T681 are KVEWE and KOTABNR, and there are two KOTABNR entries with a value of 521, then there must be two different usages (KVEWE) associated with that table.
If you see what they are, you can check to see what the usages represent. Based on a lookup, it appears that a usage of N is for Free Goods, A is for Pricing etc. In our system, we only have A entries.
What are the usages for the 521 entries? Do they relate to Free Goods/Pricing???
Does the table KOTN521 exist in the ABAP Dictionary?
Answering these questions may get you closer to the answer.
Can you compare the values in these entries to what you have in different SIDs?
Is this problem happening in Production, or is it still in a development or Quality Assurance client?
If it is still in development or Q, then it may be that a recent customization change was made.
Compare the entries across your systems, if possible.
Good luck
Brian -
RunTime Error while saving a Sales Order
Hi All,
When i am saving a Sales Order, the system is throwing a Runtime Error.
The ABAP Code in the Runtime Error screen as follows.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
Till these days, there was no such error while saving a Sales Order.
How to resolve this issue?
Regards
PavanHi,
The below piece of code is trying to get the contents of the table mentioned in T681-KOTAB.
select * from (t681-kotab) appending table <cond_tab>
up to 1 rows
where kappl = se_kappl
and kschl = se_kschl
and datbi >= se_date
and datab <= se_date
and (coding_tab).
The reason could be is someone has screwed up the entries in T681 table. Check that out.
Try to put a break point on this SELECT query and see what the value of T681-KOTAB holds before the SELECT query. Check whether such a table entry exists in DB.
Let me know if you are still stuck up.
If you can send me the ST22 dump of the run time error, i might be able to help you more on this.
Hope this helps.
Thanks,
Balaji -
Error while saving Employee Billrates through OAF page
Dear All,
I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
The Constraint definition on the table is :
create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violatedDear All,
I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
The Constraint definition on the table is :
create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violated -
How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice
Hi,
Kindly solve, How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice.
Regards,
Rajeev.Follow this step..
1. In SQL Server, go to the SAP B1 Database you're using.
2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
3. Try to paste this -> and click F5
If
@object_type ='13' and @transaction_type in ('A','U')
Begin
If EXISTS
select DocEntry from ONIV
Where DocEntry = @list_of_cols_val_tab_del
and SlpCode<>'-1'
Begin
set @error_message = 'Please select the Sales Employee'
set @error = 1
END
END
Regards
Kennedy -
Hi
I am getting an error while saving the scheduling agreement.
This is IS Auto related version.
After entering all the details required in the JIT related scheduling agreement; when i am trying to save it gives error "Call usages for xxxxand JIT customer xxxxxx do not match" and the system makes an exit. Cant save the agreement
what could be the reason.
PriyankaHello,
Go to JITV t-code input your Sold to Party and your JIT customer ID; select that line and click on view / display details.
Here you will have Call Type and "Usage". If the usage is E / S / M then it should be the same in your Sales Agreement.
Go to VA31 T-code input your Sold to Party (same as JITV) and then material and other details.
Then go to header "Sales" tab page. There you will find "Usage". This should be same as your JITV usage. E / S / M. Once this matches; then try saving the document.
Hope this will resolve your issue;
Regards,
Syed Nasir -
Error message in Sales Order entry
Hi All
I get the following error while saving the sales order. "Material 40 already exists"
It says that the material already exists and then it allows for further processing with out making any problems. Please let me know how I can get rid of this message.
RegardsHi
You could do the next:
1) Transaction V/30 -> there you select the interlocutor functions for your message (you could obtain the technical name of your message clicking F1 in the popup of the message)
2) Then delete the interlocutor functions related with your message.
Edited by: nidalap on Jun 15, 2010 6:44 PM -
Customer error message in sales order on save
Hi Friends,
as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
i have verified many posting in this SDN, but nothing is working out.
Please guide me, how to raise the error message and system should enable that filed.
My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis.... but not able to find the correct solution.
Thanks in Advance.
BalaHi
You need to use check for enahcement spot, which will be help to you.
Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
This is include name (Include:MV45AF0B_BELEG_SICHERN).
In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16 OI0_COMMON_SAPMV45A.)
write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
IF flag = 'X'.
fcode = fcode_gleiche_seite.
perform fcode_bearbeiten.
ch_subrc = 4.
exit.
ENDIF.
Maybe you are looking for
-
Home sharing questions....should I Share? Authorize?
A bit confused about Home Sharing (just bought a 2nd gen AppleTV). We have two Macs in the apt - mine and my girlfriends. I can start up Home Sharing on the AppleTV (I used my iTunes account as the Home Sharing account), so I can see my Library. Now
-
OBIEE 11g: Hierarchy Drills & Graph Scales
Hi eveyrone, I have a time-series graph with dates along the x-axis and my measure value along the y-axis. In the "Sections" portion of the graph I have a node based hierarchy. I have 4 columns in the report. Presentation hierarchy (node based hierar
-
HI, I have been importing videos clips from a SD card to iMovie 09. These clips are analyzed for animal behavior and the timing information for a specific event is critical for proper analyses. Most of the times, the imported clips display correct ti
-
i keep getting an error message ''dbghelp.dll is missing. please reinstall itunes'' did that 3 times and same results. i can't sync my iphone and i can't open itunes how do i resolve this issue?
-
[SOLVED] Upgraded to GRUB2, none of the menu choices are bootable
So I installed Arch a few days ago and I've been loving it so far... however, when it installed GRUB (not GRUB 2), it failed to detect my Windows 7 installation. I couldn't get GRUB (1) to detect it at all, so I decided to try installing GRUB 2. It i