Badi for xk01 vendor master
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 - Hari
Hi,
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
Similar Messages
-
Hi,
I have a situation wherein I have to change the tab strip heading of the screen that has been added by using the badi <b>VENDOR_ADD_DATA_CS</b> and <b>VENDOR_ADD_DA</b>TA.
Can any one suggest from where and how can I get the names of the tab strip control on the subscreen no.4000?
Regards,
RupeshHi
You do it in customizing for Vendors, transaction SPRO:
Financial Accounting->Accounts Recevaible and Account Paybles->Vendor Account->Master data->Preparations for Creating Vendor Master Data->Adoption of Customer's Own Master Data->Prepare Modification...
Max
Message was edited by: max bianchi -
User-exit BADI for XK01/XK02
Hi Gurus,
There is a requirement that when we create and change 'PAN No' in vendor master through tcode 'XK02', we want to have some check on it.
Is there any user-exit or BADI for create/change in vendor master through tcode XK01/XK02.
Thanx in advance
RRHi Rajiv,
For your requirement, there is an enhancement "SAPMF02K" . You can create an enhancement project with this to solve your requirement .
Regards,
Kumaar.S -
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 -
BADI for XK01 (Urgent)
Hi all,
There is a need of the business to copy the withholding tax code field whenever a particular vendor is created by copying from other company codes (Copy of withholding tax code field when copying the vendor in other company codes. . ). Vendor master can be created in one company code based on the reference from the other vendor master from other company codes.
For this i found the BADI called VENDOR_ADD_DATA in that interface is PRESET_VALUES_CCODE this will trigger exactly when ever i want but my problem is there is no fileds for reference data in that interface there is a importing parameter I_LFA1 and E_LFB1 is the exporting parameter but i want to fectch the data ( or copy the data ) based on reference vendor number and company code. how to recognize the reference vendor number and company code for that.
Note : There is no user exit for this requirment all are trigger when the user click on save button only but i want to copy the data initially with out clicking the save button.
I will definetly reward for useful answer.
Mahi.Hi Mahi,
There is a USEREXIT for your requirement and the
Enhancement is SAPMF02K and the
Function module is :EXIT_SAPMF02K_001 : Vendors: User Exit for Checks prior to saving.
Hope you find the solution to your issue.
Thanks & Regards
Abdul Samee -
In ME21N,User Exit/BADI for Defaulting Vendor number at item level.
Hi Experts.
In ME21N, for every purchase order, we have condtion tab for each line item.
Many condition typesot taxes are listed based on the config for the materials.
My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
I need a user exit/BADI for defaulting the Vendor number.
Regards
Balaji RHi,
check with below link,
fo this one you will find both user exit and badis
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
Regards,
Madhu -
User-Exit or Badi for dangerous goods - master data
Is there any user-exit or BADI we can use while changing or saving dangerous goods?
We want to do a copy on other dangerous goods immediately after the change or creation of the dangerous goods master data.
But I can't find an user-exit which can be used before the changes are saved.
Can anybody help?
Thanks!Hi,
Please check SAP enhancement DG100001
You can use this SAP enhancement to define a customer exit to write change documents for dangerous goods master data and packaging data.
The customer exit is in the function group XD10. It is called from the function DG10_CHANGE_DOC_USER_EXIT.
If the system does not find a customer exit, a standard document description is called. This is stored in the include LDG1NU03
Hope this will solve your problem
Regards,
Keshav -
Job Scheduling for Employee Vendor master creation
Hi,
We want to automate the activity of creating the employee vendor master.
If an employee is hired today, a job should run tonight and create his vendor master based on the no range set.
I believe we need to use program PRAA.
We have 5 company codes with 5 different no ranges.
Please suggest with steps on how to do this?
Thanks
P909922Hi
The reference vendor is given correctly so that it comes under the company code for which the employee is hired....
the problem is that the system picks up the first pernr (first employee in the system), reference vendor and matches these together and throws the error message
"Reference vendor 0000pernr , company code XXXX do not exist"
So I understand that if the employee is hired for the same company code of first pernr, this will become successful....
But, how do we do this this activity for remaining 4 company codes? for remaining 4 company codes, we will get the same error message.
Any suggestions? -
BADI For XK01 and MK01('bout STCD1)
Hi, i need a badi for this transactions XK01 and MK01, what i need to do is to validate that the input for STCD1 exists into LFA1-STCD1
Tks
ttorresGood day,
I want to add customer define screen or subscreen in subscreen area for xko1 tcode, there is Badi avialable vendor_add_data and vendor_add_data_cs but
how adjuctly i have to attach screen using this.
if u can help me.
regards. -
User Eixts / BADI for the cutomer master IDOC (DEBMAS06)
Hi All,
We have requirement to extend the customer master IDOC 'DEBMAS06' to add the address fields i.e (ADRC-STR_SUPPL3,STR_SUPPL4,STR_SUPPL5). Can any one tell me the suitable EXITs or BADI's to populate street3, street4 and stree5 to the customer master. Otherwise can any one tell me how to over come this problem.
Thanks in advance
K N CHi Naveena,
Create a segment with the fields you have hased for and thenextend it and write the code
Create the project in the enhancement" VSV00001 User exit Customer and vendor distribution Receipt/issue
Crearte the code as follows in the function exit( EXIT_SAPLVV01_001) under tthe include as follows:
I have create a zcustomer as the segment so wrote the code according to that.
DATA: WA_ZCUSTOMER TYPE ZCUSTOMER.
DATA: LS_DATA TYPE EDIDD,
LS_E1KNA1M TYPE EDIDD,
LS_SEGMENT TYPE ZCUSTOMER,
LV_COUNT TYPE I.
DATA: L_KUNNR TYPE CHAR10.
DATA: L_ADRNR TYPE KNA1-ADRNR.
CHECK MESSAGE_TYPE = 'DEBMAS'.
CHECK IDOC_TYPE = 'DEBMAS06'.
*IDOC_CIMTYPE = 'ZCUSTOMER'.
READ TABLE IDOC_DATA INTO LS_DATA WITH KEY SEGNAM = 'E1KNA11'.
IF SY-SUBRC = 0.
LOOP AT IDOC_DATA INTO LS_DATA FROM SY-TABIX.
IF LS_DATA-SEGNAM NE 'E1KNA11'.
EXIT.
ELSE.
LV_COUNT = SY-TABIX + 1. "Get the segment position as per IDoc Defn.
READ TABLE IDOC_DATA INTO LS_DATA WITH KEY SEGNAM = 'ZCUSTOMER'.
IF SY-SUBRC NE 0.
READ TABLE IDOC_DATA INTO LS_E1KNA1M WITH KEY SEGNAM = 'E1KNA1M'.
IF SY-SUBRC = 0.
L_KUNNR = LS_E1KNA1M-SDATA+3(10). "Customer No.
SELECT SINGLE ADRNR FROM KNA1 INTO L_ADRNR "Address no.
WHERE KUNNR = L_KUNNR.
IF SY-SUBRC = 0.
SELECT SINGLE STR_SUPPL3 LOCATION CITY2 FROM ADRC INTO WA_ZCUSTOMER
WHERE ADDRNUMBER = L_ADRNR. "Required fields
IF SY-SUBRC = 0.
LS_SEGMENT-STR_SUPPL3 = WA_ZCUSTOMER-STR_SUPPL3.
LS_SEGMENT-STR_SUPPL4 = WA_ZCUSTOMER-STR_SUPPL4.
LS_SEGMENT-STR_SUPPL5 = WA_ZCUSTOMER-STR_SUPPL5.
ENDIF.
ENDIF.
ENDIF.
Edited by: Farhy Farhy on Sep 24, 2010 12:19 PM -
User-exit / Badi for changin vendors(fk01/02) and customers(fd01/02)
Hi,
I'm looking for an user-exit or an Badi which can be used, when creating/changing a vendor or customer.
Has anybody used it?
Thanks.
Regards, DieterDieter,
See bapi:
BAPI_CUSTOMER_CHANGEFROMDATA
BAPI_CUSTOMER_CHANGEFROMDATA1
and
BAPI_VENDOR_EDIT -
Filter groups for outbound Vendor master , customer master idocs
I need to create Vendor , Customer IDOCS CREMAS and DEBMAS only when the user changes the company code . I do not want the IDOCS to be produced when any other fields change.
I am able to achieve the same using filter groups for Cost Center but not for Company Code.
Thanks,
Teresatry BD52,
-
Multi languages for customer/vendor master
Hi All,
I have a requirement:-
I have maintained customer master details in two languages, one is English and second one is Thai. For this requirement Iu2019ve activated u201Cinternational versionsu201D also. But the problem is whenever I log on in Thai language, the system is not showing the descriptions for which I maintained for Thai. It is showing in English only.
Any inputs
Rgds
SwapnaDear Swp,
I got Your point!
International address versions are used when the companies have
locations in multiple countries and communication occurs across these
countries. In such scenarios the addresses are maintained in different
versions and depending on the need, printouts are taken in relevant
language. To see the Thail version, you need to activate it by SA09 and then to go to the
International Address version screen by FD02/FK02 and save the relevant Thai address.
Even though you maintain Thai version for
address and logon in tahi language, you will still see the address in
english.To see the address in thai langage you need to go to International
version screen by the push button "International versions". This is SAP standard behaviour.
Your requirement to have address in English language to be displayed
when logged in English & address in Thai language to be displayed when
logged in Thai is not possible.
I'm sorry about it.
Mauri -
Added new fields in vendor master in xk01 but data is not getting saved
Hi experts,
To add new fields in vendor master i have followed the following steps :
1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
4.) Created a program with my own subscreen for the required fields
The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
database table LFA1.
Request your help in this regard.
Thanks in Advance.Hi,
You may need to check this include .
EXIT_SAPMM06E_008 -->Import Data from Customer Subscreen for Purchasing Document
Thanks,
vamshi -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM
Maybe you are looking for
-
Error in portal authorization GUEST
Hi Gurus This is my defaultTraceXX.trc log file , which is geerating these errors number of times. what may be the reason, my SSO is not configured, #1.5 #FA05273D100200610002677B000890BE000446205235608C#1203004538970#com.sap.engine.services.security
-
Where have all the buttons gone...?
I am extremly missing the equalizer- and visualizer button! I don't care that they even cut away the ministore - but those other were pretty useful. And why?? There is enough space for them left! Quatschkram. Liked the old interface better.
-
AE CS6 Global Performance Cache doesn't appear to be caching
If I play the timeline by hitting the space bar, AE will slowly play through the timeline, rendering as it goes. The rendered portion will have the familiar green bar at the top, but at a certain point my system will run out of memory and I'll begin
-
[Solved] LaTeX and LyX problems after recent update
After the recent TeX update, problems arose that were already discussed in another thread, the solution is in a post by bender02. Because I use LyX instead of the "normal" latex command line tool, I was getting the following: The layout file requeste
-
Cannot delete screen (subscreen) fields
Hi, I have a few fields on a sub-screen that I need to remove. However, when I highlight them and press the right-click button, the CUT and DELETE are grayed out. Also the "scissor" option on the menu bar is also grayed out. Is there something set th