Adding Pre. account no. field from vendor master to PO header screen
Hi,
I want to add the field lfb1-altkn (Pre.acct.no.) to the purchase order header screen under org structure tab. This field has to contain the value from the Vendor Master Accounting Information View Prev.acct no. field.
Please let me know how to proceed.
Thanks and regards
Durai
you can not add to the Org tab but if you use this user exit MM06E005
then you can add the field to the customer tab on PO header and add the logic in the user eixt to read the value from vendor master
Similar Messages
-
Incoterms to default from Vendor Master not Contract Header
Afternoon all,
Is it possible to default the Incoterms, on a PO, from the Vendor Master instead of the Contract?
I have several contracts with blank Incoterms in their headers (if possible I would like to keep these blank). The Vendor Master contains the correct Incoterms. When I create a PO if I don't enter in the contract the Vendor Master Incoterms default correctly. When I enter in the contract the Incoterms on the PO header will populate blank. Is there a way to prevent this?
Thank youThe Incoterms usually default from a vendor master to a contract.
If your contract has no incoterms, then it just means that someone has removed them from the contract on purpose or they have not been in the vendor at the time the contract was created.
There is a mass maintenance transaction to update all your contracts with the correct Incoterms.
Getting the incoterms from vendor master instead from contract is not the way how SAP is designed, because SAP takes the values always from the most specific source, which is the contract.
If you want it different, then you may have to use an exit or BADI or may even need a modification. -
Header Text copy to PO from vendor master
Dear all,
I am trying to pull data storeed in vendor master to PO for header text so that we don't need to repeat to each PO for the vendor.
I tried to link this in "Texts for Purchase Orders" in SPRO ,But not able to link it
B'coz it's not allowing me to add the object of vendor master
so pl guide me how i link vendor master text to PO
Regards,
VimleshHi,
In customizing ->material management -> purchasing -> purchase order -> texts for purchase orders -> define copying rules for header texts, choose "header text" and click on text linkages. Here you can enter for source object "vendor master", and for source text choose vendor master header text.
And in the FIX INDICATOR for text you have to maintain blank. then it will copy text
This will copy text from vendor master to PO header text.
Please check this and revert back if you need further details
thanks,
santosh -
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 -
Start Routine to Populate Account Group Field from Master data of 0Customer
Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
during the load from source DSO to Target DSO.
Error Explicit length specifications are necessary with types C, P, X, N und
DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: l_S_comp type comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
IF L_th_COMP[] IS INITIAL.
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
ENDIF.
LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
IF SY-SUBRC = 0.
L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
ENDIF.
ENDLOOP.
soniya kapoor
Message was edited by:
soniya kapoorHello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
so Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer.
No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
***SOURCE DSO Table
types: begin of typ_tgl1.
include type /BIC/AZDAFIAR000.
types: end of typ_tgl1.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
INITIAL SIZE 0.
data: wa_itab type COMP.
data: wa_zdtg type typ_tgl1.
IF L_th_COMP[] IS INITIAL.
***Master Data Table
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
FIELDS OF TABLE L_th_COMP.
sort L_th_COMP by CUSTOMER.
ENDIF.
LOOP AT L_th_COMP into wa_itab.
select * from /BIC/AZDAFIAR000 into wa_zdtg
where DEBITOR eq wa_itab-CUSTOMER. *** SOURCE DSO Table
IF SY-SUBRC = 0.
wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
ENDIF.
endselect.
endloop.
soniya kapoor -
How to use copy default values for material from vendor master in Account Group
Dear all:
In define AccountGroup for vendor ,there is a field named DURAS which means default values,who can tell me how to use it?
Any informations are appreciated!Hi Katherine,
I have tried using default value as B in the customizing
If i maintain default values in the vendor master record, it will automatically adopt in the purchase info record.
Here i tried using sales person & telephone no field in vendor master record & it automatically adopts to purchase info record.
Region sales person and telephone no i have maintained in vendor master record, it automatically fetches to info record for the particular account group. I am not sure if there is any relation between vendor master and material master record.
Regards
Subbu. -
Withholding tax fields in Vendor master is not avbl to config as sensitive
Hi,
I need to configure, fields in Withholding tax accounting as sensitive fields in Vendor Master.
Table reference for Withholding tax is LFBW.
But the fields from this table are not avbl for configuring in SPRO.
It gives an error message as: This field is not allowed.
Is there any other method to add the required fields from LFBW table to configure them as sensitive fields.
Or adding the fields as sensitive is restricted for few fields only.
Pls do the needful.
Regards,
RadhaHi Radha,
I finally found development we did for a customer. Below you can find sampler code. You can use exit ZXF05U01.
FIELD-SYMBOLS : <FIELD_VALUE> TYPE ANY.
DATA : SENSITIVE_FIELD(30).
FIELD-SYMBOLS : <FIELD_VALUE2> TYPE ANY.
DATA : SENSITIVE_FIELD2(30).
TABLES : T055F .
IF LN_LFM1 NE I_LFM1.
REFRESH KRITAB.
SELECT * FROM T055F WHERE KOART = 'K' AND
FELDN LIKE 'LFM1%'
SPLIT T055F-FELDN AT '-' INTO KRITAB-TABNAME KRITAB-FNAME.
APPEND KRITAB.
ENDSELECT.
LOOP AT KRITAB .
CONCATENATE 'LN_LFM1' '-' KRITAB-FNAME
INTO SENSITIVE_FIELD.
CONCATENATE 'I_LFM1' '-' KRITAB-FNAME
INTO SENSITIVE_FIELD2.
ASSIGN (SENSITIVE_FIELD) TO <FIELD_VALUE>.
ASSIGN (SENSITIVE_FIELD2) TO <FIELD_VALUE2>.
IF <FIELD_VALUE> NE <FIELD_VALUE2>.
<FS_LFA1>-CONFS = '1'.
IF SY-TCODE = 'XK01' AND <FS_XASEG> = ' '.
DATA : LFM1CONFS(1) TYPE C .
EXPORT LFM1CONFS LFM1CONFS2 FROM '1' TO MEMORY ID
'LFM1CONFS'.
UPDATE LFA1 SET CONFS = '1'
UPTIM = SY-UZEIT
UPDAT = SY-DATUM
WHERE LIFNR = <FS_LFA1>-LIFNR . -
Solved - Group Fields for Vendor Master Records in IMG
This was the solution.
The new field's data element I added to LFB1 did not have the "change document" field checked. I made that change and now that field shows up in IMG.
Hello all,
I added an append structure to the table LFB1. This structure has 1 field. I then created a "Modification-Free Enhancement of Vendor Master Record" to add the new LFB1 field to the vendor master screen, edit and display screens. This is the 3rd time I have done this. So far so good.
Now our functional analyst went into IMG to add this new LFB1 field to a "Group Fields for Vendor Master Records" which we have done 2 other times.
The new LFB1 field does not show up in the list of possible Table-fields.
There must be some other step I am missing.
Does any of this ring a bell? We are on version 4.7.
Thanks
Bruce
p.s.
This is the IMG path for adding 'Field Groups' to vendor master fields.
Financial Accounting/
Accounts Receivable and Accounts Payable/
Vendor Accounts/
Master Data/
Preparations for Creating Vendor Master Data/
Group Fields for Vendor Master Records
Edited by: Bruce Tjosvold on Nov 21, 2008 1:18 PMHi Vandana,
There are several tables that are contain Vendor Master related data which can be used for extraction to BW. Some of the tables which can be useful for you are:
LFA1 : Vendor Master (General Section)
LFM1 : Vendor master record purchasing organization data
LFBW : Vendor master record (withholding tax types) X
WYT3 : Partner Functions
LFBK : Vendor Master (Bank Details)
LFB1: Vendor Master (Company Code)
ADRC: Addresses (Business Address Services)
ADR3: Fax Numbers (Business Address Services)
ADR6: SMTP Numbers (Business Address Services)
ADRT: Communication Data Text (Business Address Services)
You may use the Data sources mentioned in the previous update from Venky above namely :
0VENDOR_ATTR --- for master data attributes
0VENDOR_TEXTS -- For texts
Since the fields that you are using are from different tables so its better if you go for a Generic Data source where you can use the fields as per your requirement.
Thanks
Pawan
Edited by: pawan190187 on Aug 19, 2011 12:40 PM -
Dear all
I want to take the following details from vendor master for a bulk of vendor
1.Vendor addresses like street 2 and street 3
2. Email ids
3. Country
4. Under bank details the type of account
Kindly let me know what table i have to use to get the above detailsHi Chandra
Check MKVZ
Or U can get above details by joining table <b>LFA1</b>( except email address contains all details) and <b>ADR6</b>( For email address)
To join table for desired output check following
1)Make a simple query using <b>SQVI</b>,
2)just clik the quick viewer button,
create a new quick viewer, name it,
3)select <b>data souce</b> as table join basis mode.
Then go to edit,insert table LFA1 and ADR6,Join the same(Drag the parameter and drop in another table to establish link and link all the tables)
Press check to check whether your link is correct, then press back
4)You will be able to see the tables and fields on left hand side
Vishal... -
Custom field in Vendor Master - track field changes
Hi Experts,
I have a requirement to enhance vendor master (XK01) by adding custom fields. I did this, but now the customer needs to track changes made to this field. He expects to see the changes made to this custom field using menu path 'Environment -> Field Changes' from vendor master transactions (XK01, XK02, XK03). I have enabled the track changes in the data element, so that field changes can be tracked in CDPOS, but that is not enough. Please help to find solution. Thanks.
Regards
ArunHi Brad,
I added the new fields to vendor master using the SPRO option:
'Prepare Modification-Free enhancement of Vendor Master Record' in the following path:
Logistics-General -> Business Partner -> Vendors -> Control -> Adoption of customer's own master data fields. This created a button on vendor master, and my field is in a pop up box which is generated on click of this button.
This field is stored in LFM2 table.
I have enabled the change flag in the data element of the custom field, and it is showning the field changes in CDPOS table.
But the problem I face is how I can avoid going to the CDPOS table and instead use the menu option :
'Environment -> Field Changes'
Regards
Arun -
Hi,
when I create a PO using a vendor, after filling field Purchasing Org., Purch. Group and Company code, system copies a text but I don't know from where.
In PO down the header texts I can read "Text adopted from Vendor Master (Purch.org.-spec.test text )", I cannot find it in vendor master....
Could You help me ?
RegardsHi,
In MK03 please open your vendor go to purchasing data and click on extras on the menu bar, and select text, here you will find purchase order texts, hope this is what you were looking for.
Also check the PIR.
Regards
Shailesh
Edited by: Shailesh Rajan on Jun 28, 2011 3:07 PM -
Need exit to add new fields for Vendor master creation
Hi All,
I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me
any screen exit / user exit through which I can add these fields.
Please explain the procedure to add the fields through exit.This will be of great help.
Thanks
Vinod.run the following program which ggives available exits for tcode
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. -
Masking Certain Field in Vendor Master Data
We have a Enhancement which involves conversion of Vendor Numbers.,It so happened that a category of Vendor Codes were the Social Security Numbers.
Now that due to Privacy Laws etc they are converting that number logic which is throwing challanges.
The first Step is to convert Vendors from XSSN to Y123 and the second is also retain the social number in a encrypted field as it is used for 1099 reporting.
I am aware that there is a standard functionality for Credit Cards Numbers Masking but not sure if there is any thing for special fields on Vendor Master.
If you are aware of any options to handle the switchover or masking certain fields pls share them with me.
Thanks,
PraveenPraveen,
Did you try 'Define Screen Layout per Activity (Vendors)' and suppress/hide the fields? -
Header data not coming from vendor master when creating SA using BAPI
Hello,
I am creating SA using BAPI_SA_CREATE. I am passing the vendor code and other header related data in the header table of the BAPI.
SA is created successfully with all the data that is passed to the BAPI. Now if the payment term and inco terms data is passed initial to BAPI then this data is not taken from vendor master. This data appears blank in SA.
Shouldn't this data be picked up from vendor master as they are maintained properly in vendor master?
I just need confirmation whether BAPI picks or not from vendor master if the data (payment term and inco terms) passed is initial.
Thanks and Regards,
SabaHi,
Are u passing X to corresponding fields of HEADER structure what ever you have populated in HEADER structure . -
Add additional field in Vendor master data for VAT Reg. No.?
Add additional field in Vendor master data for VAT Reg. No.?
Hi I need to add one additional field for other VAT Reg. number in vendor master data FK01, We currently have two field
Current Settings:
Country : LFAS-LAND1
VAT registration no.: LFAS-STCEG
I need to add one additional field for text information. Is this possible?
Thanks you very much
Luis G.If you want to add new fields that are not possible from config (check with your consultant) you need to implement BADIs
In SPRO, go to:
>Logistics-General
->Business Partner
-->Vendors
--->Control
>Adoption of Cusomter's Own Master Data Fields
and read the documentation provided there.
You will need to implement following BAPIs
Processing Master Data Enhancements: VENDOR_ADD_DATA
Customer Subscreens: VENDOR_ADD_DATA_CS
I am not aware of any other way to add new fields to Vendor master (however, check with your consultant for config related screen modifications)
Should you need any further info to implement it, post back (read it thoroughly first, it's quite self-explanatory).
regards,
Aabhas
Maybe you are looking for
-
Have a MacBook Pro. Been using hot mail/Safari. Suddenly can't copy and paste an e mail. Can't make an att> without getting an error message.."0 bytes empty" Got ahold of hot mail was told yes there is a problem between Mac and hot mail Safari and fo
-
Performance Test For WDA Applications
Hi All, Is there a way to check the performance check of the entire Web dynpro For ABAP applications as we do it in the ABAP programs. Sorry for this silly question but i am so curious to learn how efficient we can develop a good efficient and hi
-
Problem using PrintStream to write to file.
I am trying to write some String data to a file. I have replaced System.out with a PrintStream of my own. When I open the file with notepad, there are little squared at the end of each line with text written. I'm guessing they have something to do wi
-
Direct Delta, queued , Non-serialized V3 Update
could someone out here help me in understanding the Direct Delta, queued , Non-serialized V3 Update... i mean a detailed level explanation.... or just in case u have any document then kindly pass it on.... to [email protected]
-
Cannot play video clips. when I click. I might be missing a plug in but I am not sure. I have shockwave and flash installed.