Duplicate vendor creation blocking in XK01 Transaction
Hi all,
I want to block the duplicate vendor creation in the vendor creation transaction
XK01.If any solution kindly reply to this message.
Jyoti
hI
So u can use the exit EXIT_SAPMF02D_001, here insert the code you need to check the duplicate vendor.
Perhaps the problem you can have is this exit is triggered at the end only.
U can try to use the BTE 1360 (it's to check the account group), but I believe here those fields are not filled yet.
Max
Similar Messages
-
Hi ,
We are Creating Vendors through LSMW using Standard/Direct input Method.but a problem is that some vendors are created twice for a single previous account number(ALTKN) FROM database for some records.
Can anyone Tell me the reason why this happened and what needs to be done to rectify it?
also,any pointers to avoid it from next time will be highly appreciated.How can we avoid it?
Regards,
RahulHi Jurgen,
I agree with you on this front and i am aware of this fact that ALTKN is there in LFB1.
The point is that for one ALTKN there are two SAP vendors Created for Same company code.
But,Second one is not needed.
What i have done right now is that i have marked the duplicate SAP vendors for Deletion so that it is not Used for Further procurement.
Is there a better way?
Edited by: Rahul Kumar Sinha on Sep 28, 2010 7:55 AM -
Hi Experts,
I am purposing vendor master to be created centrally to the client. How can I make it sure the same vendor is not created duplicate. What are the primary fields which i maintain so that system pops up a message for duplicate vendor entering. I checked with VAT number, Tax number nothing works. even the same name you can enter with all details same. What is the mechanism to prevent the creation of duplicate vendor other than the Zprogram or any exit.
Thanks in Advance,
Lekhramhi lekhram
there is no need for a z program for duplicate vendor creation check.
add these 2 message control for vendor master data
goto financial accounting - accounts receivable and accounts payable - vendor accounts-master data - preparation for creating vendor master data - change message control for vendor master data
add message no 144 i i for both online and batch
add message no 272 i i for both online and batch
kind regards
Arman
SAP FICO -
TransNotif block duplicate vendor ref
Hi experts,
Im using this TransNotif to block duplicate Vendor Ref in the sales order but i only want it for doc series 1 and 6, how can i achieve this.
if @object_type = '17' and (@transaction_type in ('A' ,'U'))
begin
declare @RefNo as varchar (100)
declare @CardCode as varchar (100)
declare @Series smallint
if (@object_type = '17')
begin
select @RefNo = NumAtCard, @CardCode = CardCode from ORDR T0 where docentry = @list_of_cols_Val_tab_del
begin
if (@RefNo is not null)
begin
if 1!= (select count (docentry) from ORDR where (NumatCard = @RefNo) and (cardcode = @CardCode))
begin
select @error = 10
select @error_message = 'Conduce Duplicado'
End
End
End
End
EndHi Leonardo E. Martinez
Try This you can include the series in the where condition
If @object_type = '17' and (@transaction_type in ('A' ,'U'))
begin
declare @RefNo as varchar (100)
declare @CardCode as varchar (100)
declare @Series smallint
if (@object_type = '17')
begin
select @RefNo = NumAtCard, @CardCode = CardCode from ORDR T0
where docentry = @list_of_cols_Val_tab_del and T0.Series IN (1,6)
begin
if (@RefNo is not null)
begin
if 1!= (select count (docentry) from ORDR where (NumatCard = @RefNo) and (cardcode = @CardCode))
begin
select @error = 10
select @error_message = 'Conduce Duplicado'
End
End
End
End
End
Hope Helpful
Regards
Kennedy -
Hi,
Want to configure e a warning message for Duplicate Vendor master creation.
I can see a message F2144 configred, but this is only applicable if we create Vendor from FK01.
In spro>Logistics general>Business partner>Vendor> message control for Vendor master ....can we configure a message here, which will be applicable if I create duplicate Vendor master from transaction XK01.
Regards,
Rajesh Satope.For normal vendor you can maintain duplicate check in OBA5
Application Area F2
Message No.144 for Vendor and 145 for customer, making it as information.
Reference : [Duplicate vendor check??????|Duplicate vendor check??????] -
Hi,
Is there any efficient way to prevent the duplicate creation of vendor via FK01 or XK01?
I know we can incorporate a system check via user exit. However, the problem is that this check is only activated upon saving and not on the screen where user enters the vendor name and address.
Best regards.The best thing is keeping the message a error in OBA5.
Application area is F2
Message no Message description Online Batch split
144
Vendors found with same address; check E E
You can also restrict to one each user by specifying the user name
Thanks -
Vendor Creation Via OAWD using workflow
Hi,
We are currently using SAP Archvelink for attaching vendor invoices to FI docuemnt via FB60 and MIRO using a basic workflow function
We want to be able to use the same process ie OAWD to be able to initiate the process of creating a vendor via XK01. The user woudl receive an authorised vendor creation PDF form that they woudl then attach to the vendor when cretaing
I have tried to configure a new document type and have assigned to object type LFA1 in transaction SOA0. However, when I try to maintain the workflow parameters to link to transaction code XK01 in transaction OACA I get the following message
Parameter TRANSACTIONCODE does not exist for method CREATE of object type LFA1
I dont know what to do (or if it is possible) to enable the "CREATE" method for object type LFA1
Thanks in advanceI solved my own problem.
I had to configure OAWS first then it allowed me to add create in SOA0
Edited by: Tracee on Sep 14, 2010 7:43 AM -
I've created a BCD program for vendor creation and I just realized that I now need to use multiple street address fields. When I run the XK01 transaction in SAP directly I can access those field by clicking on the more fields button and expanding the screen. When I use the BDC recorder function, the more fields button isn't available. Has anyone else experienced this and found a solution?
Thanks!
SybilLike this:
'X' 'SAPMF02K' '0105', "Create Vendor: Initial Screen
' ' 'RF02K-BUKRS' '0000',
' ' 'RF02K-KTOKK' 'Y000',
' ' 'USE_ZAV' 'X'. "<========
Rob
Message was edited by:
Rob Burbank -
Duplicate Invoice Creation MIRO
Hi All,
Our client has an special requirement. Currently we have an issue with duplicate invoice creation with MIRO transaction. The 'Check doub inv' check box in the vendor master data is already checked. For MM, there are three configurable check boxes i.e. T-Code OMRDC (Co.Cd, Ref. No. and Check Inv. Date.). Per our system configuration, we have the first two boxes checked and the 'Check Inv. Date' unchecked. The Ref. No. field is used to capture the invoice number. This way, if a vendor invoice has already been entered, when trying to enter another vendor invoice with same invoice number, amount, currency, company code and vendor number, irrespective of the date, the system displays a message as "Check if the invoice has already been entered...". As per our requirement, the client basically wants to distinguish between the two invoices purely based on Invoice Number (Reference Number-XBLNR). That is if an invoice has already been entered with a 'Reference Number = 123' for example, the user should not be able to post another invoice with same 'Reference Number = 123', for same vendor, same company code, irrespective of the invoice date and invoice amount. I really appreciate if someone could help me ASAP.
Thank you,
JiteshDear
Please set the following in MM Logistics Invoice Config so that when MIRO/MIR7 is done twice then qty of MIGO exceeds then you get an error message.
T.Code : OMRM
Material Management>Logistics Invoice Verification>Define Attribute of System Messages
In the above node keep message number 504 Quantity invoiced greater than goods receipt quantity and keep online and batch as error and standard as W.
Hope this solves your problem.
Regards -
Problem with a view in XK01 transaction
Hi All,
I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
ThanksHi Ben,
I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
if you are calculating index in your program then i think it should be configuration problem as you said.
Thanks,
Ganesh. -
How do i check ensure that SAP checks for duplicate vendor invoice numbers?
Hi Experts -
How do I verify that SAP checks for duplicate vendor invoice numbers and blocks duplicate invoices from being paid?
Thanks!Hi
Pls chek the settigs by following the path
IMG>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoice.
Here you make the settings for creating a duplicate invoice check.
Moreever, in the vendor master, you need to tick the check box for duplicate invoice check.
I suggest you search the Forums before posting a query. There are lots of postings on this issue.
Thanks & regards
Sanil K Bhandari -
Need Sample Code for Vendor creation using JAVA API
Hi,
I have a scenario like Vendor creation using <b>Java API</b>.
1.I have Vendors (Main) Table.
2.I have <b>look up</b> tables like Account Group.
3.Also <b>Qualifier table</b>(Phone numbers) too.
Could you please give me the sample code which helps me to create Vendor records using Java API?
<b>I need Code samples which should cover all of the above scenario.</b>
<b>Marks will be given for the relevent answers.</b>
Best Regards
PK DevarajHi Devraj,
I hope the below code might solve all your problem:-
//Adding Qualified field
//Creating empty record in Qualifed table
//Adding No Qualifiers
Record qualified_record = RecordFactory.createEmptyRecord(new TableId(<TableId>));
try {
qualified_record.setFieldValue(new FieldId(<fieldId of NoQualifier), new StringValue(<StringValue>));//Adding No Qualifier
catch (IllegalArgumentException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
catch (MdmValueTypeException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
//Creating Record in Qualified table
CreateRecordCommand create_command = new CreateRecordCommand(connections);
create_command.setSession(sessionId);
create_command.setRecord(qualified_record);
try
create_command.execute();
catch(Exception e)
System.out.println(e.toString());
RecordId record_id = create_command.getRecord().getId();
//Adding the new record to Qualifed Lookup value and setting the Yes Qualifiers
QualifiedLookupValue lookup_value = new QualifiedLookupValue();
int link = lookup_value.createQualifiedLink(new QualifiedLinkValue(record_id));
//Adding Yes Qualifiers
lookup_value.setQualifierFieldValue(0 , new FieldId(<FieldID of Yes Qualifier>) , new StringValue(<StringValue>));
//Now adding LookUP values
//Fetch the RecordID of the value selected by user using the following function
public RecordId getRecordID(ConnectionPool connections , String sessionID , String value , String Fieldid , String tableid)
ResultDefinition rsd = new ResultDefinition(new TableId(tableid));
rsd.addSelectField(new FieldId(Fieldid));
StringValue [] val = new StringValue[1];
val[0] = new StringValue(value);
RetrieveRecordsByValueCommand val_command = new RetrieveRecordsByValueCommand(connections);
val_command.setSession(sessionID);
val_command.setResultDefinition(rsd);
val_command.setFieldId(new FieldId(Fieldid));
val_command.setFieldValues(val);
try
val_command.execute();
catch(Exception e)
RecordResultSet result_set = val_command.getRecords();
RecordId id = null;
if(result_set.getCount()>0)
for(int i = 0 ; i < result_set.getCount() ; i++)
id = result_set.getRecord(i).getId();
return id;
//Finally creating the record in Main table
com.sap.mdm.data.Record empty_record = RecordFactory.createEmptyRecord(new TableId("T1"));
try {
empty_record.setFieldValue(new FieldId(<FieldId of text field in Main table>),new StringValue(<StringValue>));
empty_record.setFieldValue(new FieldId(<FieldId of lookup field in Main table>), new LookupValue(<RecordID of the value retrieved using the above getRecordID function>));
empty_record.setFieldValue(new FieldId(<FieldId of Qualified field in Main table>), new QualifiedLookupValue(<lookup_value>));//QualifiedLookUp value Retrieved above
} catch (IllegalArgumentException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (MdmValueTypeException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//Actually creating the record in Main table
CreateRecordCommand create_main_command = new CreateRecordCommand(connections);
create_main_command.setSession(sessionId);
create_main_command.setRecord(empty_record);
try
create_main_command.execute();
catch(Exception e)
System.out.println(e.toString());
Thanks
Namrata -
Duplicate Vendor ref no in A/P Invoice
Dear Experts,
Kindly suggest the SP Notification to block the duplicate Vendor ref no in A/P Invoice for a Vendor Specific.
SAP has this setting to Block duplicate Vendor ref no in Document setting, but it is for all vendor for same ref no. and not vendor specific.
Regards,
Datta kharatHi Datta...........
Please try this........
IF (@object_type = '18' AND @transaction_type IN ('A','U'))
BEGIN
DECLARE @VendorRefNo AS VarChar (20)
DECLARE @BPCode AS VarChar (20)
SELECT @VendorRefNo = NumAtCard FROM dbo.OPCH
WHERE DocEntry = @list_of_cols_val_tab_del
SELECT @BPCode = CardCode FROM dbo.OPCH
WHERE DocEntry = @list_of_cols_val_tab_del
IF 1 != (SELECT COUNT(DocEntry) FROM OPCH WITH(NOLOCK) WHERE NumAtCard = @VendorRefNo AND CardCode = @BPCode) AND (@VendorRefNo IS NOT NULL OR @VendorRefNo <> '')
BEGIN
SELECT @ERROR = 1
SELECT @ERROR_MESSAGE = 'Vendor Reference No. Already Exist'
END
end
Or check this.....
Blocking A/P Invoice
Regards,
Rahul -
Return PO for a Blocked Vendor (Purchasing Block)
Hi,
We have an advanced returns functionality activated in our system. We have a requirement that we need to create a return PO (To be able to return goods) for a vendor for which we have a purchasing block. Means, We do not want to create any regular PO's. But, need to return goods with return PO.
Currently system is not allowing to create a Ret PO (Or any PO) if Vendor is blocked. But, we want to block other than Return PO.
Any suggession will be appreciated.
Regards,
DevJurgen,
Are u the one telling this!!!!!. You are my big fan in SDN. Common, our client turn over is $B 60. We have 1 million inventory transactions/ day. Any how, manual work is difficult. Any, user exit or BADI ??
Infact, we want to use block at source level. But, have other complications.
Regards,
Dev. -
LSMW for Vendor Master (t-code XK01)
Hi guys,
I'm creating a LSMW for Vendor Master (t-code XK01) using direct input but the following error message appears:
In the step "Create batch input session", I get the following error:
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDOR was opened
FB112 Trans. 1 : No transaction code was transferred
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE /
FB014 ... BLF00-LIFNR DETES998
FB014 ... BLF00-BUKRS /
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK 0001
FB013 ....Editing was terminated
I mapped the TCODE filed using xk01 and the same error still displays; in the first step I select Object 0040, method 0002 and the program is RFBIKR00, is this correct?
Some of the fields are stored ina different table; How can I mapped this fileds?
Any you can provide will be great......Hi,
Are you getting this error immediatly or later half?
1. This could be with same Vendor number which would be existing in the system.
2. Data inconsistencies.
What are the flat files that you have is it a single file or more than one?
Thanks,
Prashanth
Maybe you are looking for
-
Creative Cloud Market and Photography plan
I am CC Photography subscriber. from the FAQ: "Creative Cloud Photography plan members are not eligible to access Market through Creative Cloud for desktop." then why I have access to it?
-
I'm looking for some good diagnostics freeware that could possibly tell me what's wrong with my mac pro. I redid my system with 10.6 but it is still rebooting alot maybe even more then it was with 10.5 which leads me to believe that it's a hard ware
-
Url links in ical not working -- what ami doing wrong, if anything?
I'm using ical right now to track my daily activites/to do items, and when i enter a url/web address in the appropriate section, it turns blue, and the i beam pointer changes to a hand. I assumed I could click on it to go to he appropriate site, thin
-
Change print settings in iphoto
I have owned a Mac for about 4 years and i still can't get my head arround printing in iPhoto. I have the latest Operating system and the latest version of iPhoto. I want to print 4 x 6x4 inch prints per A4 sheet. I use an Epson printer. With Windows
-
Error when running Application Manager
I keep getting this error " Extension Manager 6.0.5 Update Installation failed. Error Code: U44M1P7 "