PAN validation for creating vendor in userexit
Hi experts,
I am validating few fields like name,address,city,PAN etc. while creating a vendor using Tcode XK01.The PAN field and tables are J_1IPANNO and J_1IMOVEND respectively.
Now I need to check the screen-input of PAN already exists in the database or not.If Yes,display an error message.
The user-exit I am using is EXIT_SAPMF02K_001.
The structures for name,address and city are i_lfa1-name1, i_lfa1-ort01 and i_lfa1-stras. These screen-input fields are checked with the database table LFA1.Similarily I need to check for PAN entered in XK01.But could not find the screen-input structure of the tables in user-exit SAPMF02K.
Requirements:
1. Where can we find the PAN entry in XK01.
2. What could be the screen-input structure for PAN?
3. Is there any other possibility of checking the PAN with the database in the userexit(if any).
Regards,
Raj.
Hi,
Iam aslo facing same problem,
can u suggest if got any information regarding that exits,
i
please try to reply as soon as possible,
regards
Hemanth
Similar Messages
-
ABAP Functions for creating vendor
Hello,
I would like to create a program for creating vendor automatically by uploading a text file, where the text file contain the vendor information.
Can I ask are there any ABAP function for creating vendor? I have searched a function BAPI_VENDOR_CREATE, but I don't know how to use it.
Can anyone give me some ideas?
Many thanks
SunnyHi,
BAPI_VENDOR_CREATE is a online BAPI which calls the XK01 screen internally. There wont be any import or export parameters for this BAPI. If you have to upload from a text file, you can try with either of the options
1) Use the standard program RFBIKR00 to upload the vendor from the flat file. check the documentation of the report for details
2) Create a BDC recording on XK01 and upload the vendor from the flat file
Vikranth -
Default values for creating vendor master data
Hi.
Is it possible to set default value for payment term and planning group when creating vendor master data of a specific account group?
Thanks in advance.HI,
1, Create a vendor in your Account group as the reference vendor account
2, By t-code:XK01, create new vendor with reference vendor of step 1,
then the system will transfer the value from your reference vendor.
Regards
Ravinagh Boni -
Validation for creating check in T-code FCH5
Hi All,
I have created payment docuemnt t-code F-48.
Then for creating check in T-code FCH5, system allows me to assign different House Bank and Account ID.
How can this be controlled through validation, kindly guide on creating validation for the same.
ThanksHi,
In FS00 for bank gl accounts give house bank and account id. By giving this the problem will be solved.
and also check
In OBVCU for bank accounts check combination of house bank,payment method,currency,accoun id and bank subaccount.
Hope it solve your problem
Regards,
Sankar -
Integration for Create Vendor Invoice
Hi to all
I have the following scenario:
I have a legacy system. This system create vendor Incoming Invoice, and I want that SAP ECC create the respect invoice.
Then, if this invoice is cancelled in SAP ECC, I want that this status was update in the other system.
I want that this integration is using PI.
I want to hear suggestions of what the best way to make this integration.
Thank you very much
Regards
DarioThen, if this invoice is cancelled in SAP ECC, I want that this status was update in the other system.
I want that this integration is using PI.
So if the invoice is not cancelled you dont want to upadte in legacy system?
SAP PI will come into picture only during sending the details in case of failure and you should not be worried about other details like creating invoice in SAP ECC.
If you get answers to below Qs, you will have most of the doubts cleared:
1) How are you planning to send the cancellation details from SAP ECC (will it be through IDOC/ RFC/ PROXY.....if no restriction and if the SAP system is above 6.40 then go for PROXY)?
2) What is the legacy system to which you want to send the data (FILE/ JDBC)?
If you want to pass only cancellation details (and if you are not sure that each time SAP will send only cancellation details) then in PI you can implement the condition to check if it is a cancellation message or otherwise.
Regards,
Abhishek. -
Wich user-exit for Creating Vendor I must use?
Hi, experts
I have a requiriment on T/C XK01 & XK02 when customer is creating or modifying Vendor; it is when user put value on screen field <i>"Payment Terms"</i> (<b>LFB1-ZTERM</b>) this values must be same on next screen "PURCHASING DATA" on screen field "<i>Terms of paymnt</i>" (<b>LFM1-ZTERM</b>).
Which user exit do I use for this ( RFKRRANZ/SAPMF02K )?
Where to check value on screen field "Payment Terms" ( RFKRRANZ/SAPMF02K ) ?
I will appreciate any helpfull information, as soon as possible, thanks in advance.
Regards,
mgg
P.D. Points rewardHi,
Why do you need user to input if you can copy automatically the value ZTERM from screen purchasing data into ZTERM in accounting screen? You can also pop up a message if user's selected value in accounting screen is different from purchasing data.
DATA: WA_STRUC(100) TYPE C,
WA_LFB1 TYPE LFB1,
WA_LFM1 TYPE LFM1.
FIELD-SYMBOLS: <FS_LFB1>, <FS_LFM1>.
WA_STRUC = '(SAPMF02K)LFB1'.
ASSIGN (WA_STRUC) TO <FS_LFB1>.
WA_LFB1 = <FS_LFB1>.
WA_STRUC = '(SAPMF02K)LFM1'.
ASSIGN (WA_STRUC) TO <FS_LFM1>.
WA_LFM1 = <FS_LFM1>.
WA_LFB1-ZTERM = WA_LFM1-ZTERM. "<-- change here
or
IF WA_LFB1-ZTERM <> WA_LFM1-ZTERM.
* pop up message
ENDIF.
<FS_LFB1> = WA_LFB1. "<-- change here
UNASSIGN <FS_LFB1>. "<-- change here
Regards,
Ferry Lianto -
Standard Function module for Creating Vendor?
hi ppl
i want to know that which function module gets call when we create a vendor from trans. code XK01, i.e. the standard function module SAP uses.
Regards,Ravi,
What you can do is that you can debug the normal working of the standard webdynpo. This will be helpful in solving the problem.
Incase you need further clarifications, please let me know.
Thanks
Atul -
I want" Bussines area & Section Code "
So i created the validation for all vendor transaction ie. FB60,F-43,F-48 & MIRO.
Validation is based on
Tcode & Account type
But i m not getting the compulsory field for MIRO.
For all other transation i m getting the right validation.
Then Why it doesnt take for MIRO?
What will be the sollution for that?
Plz tell me.Hi,
Do you want to subsittute the GSBER in tax line item in MIRO?
if yes, then it works as design.In general taxes should not be
posted with business area as per note 199886. Therefore GSBER
is coded to be deleted when postings do not happen directly in FI.
Due to technical reasons the logic for postings directly in FI
(such as FB60) differs: There would be no deletion.
I recommend not to substitute the business area for tax items
(to be conform with note 199886) but if you really want to do this in
general you can implement the following modification on your own risk:
function FI_SUBST_GSBER
ELSE.
If GSBER differs -> mark as not unique
IF gsber_tab-gsber <> t_accit-gsber.
CLEAR gsber_tab-flg_unique.
MODIFY gsber_tab INDEX sy-tabix.
ENDIF.
ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>START-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
IF t_accit-taxit = xon AND t_accit-xbilk = xon.
IF brazil IS INITIAL. "do not clear for brazil "note 436374
CLEAR t_accit-gsber.
MODIFY t_accit.
ENDIF. "note 436374
ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>END-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ENDIF.
ENDLOOP.
Hope the above informations can help to you!
Best Regards, -
Information message for duplicate vendor check( message 144)
Hello everyone, i am trying to configure information warning message in vendors. The configuration for this is SPRO-IMG-FA-AR/AP-vendor accounts-master data-preprations for creating vendor master data-change message control for vendor master data.
I need to configure
message: 144
message text: vendors with the same address:check
online: I information message
When i enter the new entry, i can see MsgNo 144 under the MsgNo but under "online" i need to use I: informational message but i dont see that option under there. I think i need to configure that message ( I: information message) under "online". Does why one know how to configure that? Any suggestions will be appreciated.
RegardsHi there ,
By default it will show Information message only.
Why there is any need of changing anything? -
Hi, All
When I create vendor invoice on transaction code FB60 or something specific on One-Time Vendor, the program will pop up an address and Bank data to fill in but its show only one street line, but I need more than one, so how should I do to create more?
Many thanks.Hi
You just go to
SPRO-FINANCIAL ACCOUNTINGACCTS RECEIVABLE/ ACCTS PAYABLE--VENDOR ACCTS - MASTER DATA-PREP FOR CREATING VENDOR MASTER DATA-----DEFINE ACCT GROUP WITH SCREEN LAYOUT VENDOR
Select the account group of one time vendors (double click it).
double click Genral data & then double click address and last make the fields required or optional from supressed.
please confirm.
regards
Meenakshi -
Warning message for PI vendor change
Is there an existing warning message that I can use for when a PI vendor partner is changed in a PO?
Hi,
If you define a field in the vendor master record as "sensitive", the corresponding vendor account is blocked for the payment run if the entry is changed. The block is removed when a second person with authorization checks the change and confirms or rejects it.
Example
The alternative payee field has been defined as sensitive in the Customizing table. If the accounting clerk responsible changes the entry in this field in the customer/vendor master record, the account is blocked for the payment run until a second person with authorization confirms the change to the master data.
Please go through the customizing activity at:
SPRO--> SAP Reference IMG --> Financial Accounting --> Accounts Receivable and Accounts Payable > Vendor Accounts> Master Data> Preparations for Creating Vendor Master Data> Define Sensitive Fields for Dual Control (Vendors)
Regards,
Narayana. -
Why I cannot input Recon. acount when I create vendor master in XK01
The field of Recon. acount is greyed out when I create vendor master in XK01. Can any expert help?
BR, EdaHi Eda,
in the vendor account group, the field selection is guided by three different config.
The path is IMG>Financial Accounting(New)>Accounts Receivable and Accounts Payable>Vendor Accounts>Master Data-->Preparations for Creating Vendor Master Data........
1 Define Account Groups with Screen Layout (Vendors)
2 Define Screen Layout per Company Code (Vendors)
3 Define Screen Layout per Activity (Vendors).
Please check at the given following 3 places, in any one of them it must be defined in the display mode.
Hope it helps.
Regards,
Yawar Khan
Edited by: 1234_abcd on Jun 10, 2011 7:33 AM -
Hi all ,
My requirement is to add an alphabet 'H' at the start of vendor number that is posted
from xk01 .
I have to implement a badi for this
can any tell me how to go about this
Thanx in advance - HariHi,
Use the BADI
VENDOR_ADD_DATA
VENDOR_ADD_DATA_CS and the Method
CHECK_ADD_ON_ACTIVE for this
See the following in the SPRO and do accordingly from there
FInancial Accounting->Accounts receivables and Account Payable->Vendor Accounts-> Master Data->Preparations for Creating Vendor Master data->Adoption of Customer Own Master data fields..
Regards -
Validation for Company code for a vendor in LFB1 TABLE.
Hi Experts,
New to ABAP Objects!! I need to write a method which will have two input parameters Vendor number and company code. and i have check wether company code exist for given vendor number.
Can any one send the code for the above validation.
Thanks in advance for your help.
-Chris.Hello Chris
I have checked on ERP 6.0 and there is no standard class available for checking vendors.
However, within your method simply call BAPI_VENDOR_EXISTENCECHECK.
If the vendor exists but not for the company code the BAPI returns the message E522(FN):
Vendor &1 exists, but is not created in company code &2
You may have a look at classes beginning with CL_REEX..., e.g.:
CL_REEXC_COMPANY_CODE Company Code (T001)
CL_REEXC_CONTROLLING_AREA Controlling Area (TKA01)
Regards
Uwe -
Pan number compulsory field while creating vendor code
is it possible to make pan number compulsory field while creating vendor code
Dear Sanjeev
you can make PAN number mandatory use t.code shd0 in that first give transaction code than give screen variant detail for screen variant program go to xk01 and then go to pan field here click on f1 then click on technical specification u can copy the program and screen name after that click on create tab the xk01 screen field comes again go to pan field double click on that field and then select this as required field and save . then go to transaction variants give the transaction name and add a row in which insert row and gives screen variant , program and screen then save it now move to standard variant give your screen variant name and activate now your pan field is mandatory . if you have any problem in understanding i can provide you the screen shot also on your mail. provide your email id
Award points .
Regards
Maybe you are looking for
-
How can i get a refund for photoshop element
I don't know why it's taking so long to get a refund on my photoshop element
-
Hello, anyone owned the new Geforce FX5300 PCI-X graphics card ? How good is it for Gaming and General softwares usage ?
-
During GRN Error 001_____1000_4000 Account not Maintain
Dear Experts, When we are activating Purchase Accounting During GRN we are receiving this error message when we fright condition type in PO. We had checked OBYC setting also even though I am not able to solve this problem. Please suggest me rega
-
Hi, a couple of weeks ago, I installed Itunes in my laptop and it seemd OK. All of a sudden this week, I try to open it and I can't. It shows an error message saying "Itunes has generated errors and will be closed by Windows. You will need to restart
-
"where can I download an Acrobat Pro Users Manual?"
I know duh,.....I have always used Acrobat for basic PDFs and I now want to know how I can create more robust PDFs with multiple pages and reduced size,.........need a manual........