Change Pointers for Vendor Master
Hi All,
I have to activate change pointers for Vendor Master data. I have some doubts regarding the same.
1. An Idoc will be generated for newly created vendor, right?
2. If I extend the vendor master IDOC, where should I write code to extract the values of newly added fields?
3. If I create a custom IDOC for vendor master, what is the procedure to configure this in the change pointers for Vendor Master?
Thanks & Best Regards,
Kumar.
>
Sivapuram Phani Kumar wrote:
> Hi All,
>
> I have to activate change pointers for Vendor Master data. I have some doubts regarding the same.
>
> 1. An Idoc will be generated for newly created vendor, right?
> 2. If I extend the vendor master IDOC, where should I write code to extract the values of newly added fields?
> 3. If I create a custom IDOC for vendor master, what is the procedure to configure this in the change pointers for Vendor Master?
>
> Thanks & Best Regards,
> Kumar.
Hi,
1. Afer doing all the settings required to create change pointers (BD61, BD50, BD52), the idocs will be created when u run the report RBDMIDOC or execute transaction BD21.if any changes happen in master data
like new vendor is created or vendor data is changed, then only change pointers will be created and on executing the aforesaid report, idocs will be generated.
Also idocs can be generated by replicating vendor data through transaction BD14 or any other custom transaction.
2. When you add custom segments to basic type, you have to write code in suitable user exits.
Identify suitable user exit to populate data in custom segments and write the code in oubound side.
Identify suitable user exit to populate the values in custom segments to database table, this code is to be written in inbound side.
Regards
Vinod
Similar Messages
-
Change pointers for HR master data
Hi I am trying to setup change pointers for HR Master data , in relation to HRMD_A06 idoc , I did all the steps for setting up change pointers.
Transaction bd52 for my reduced IDOC shows 0 entries, When i did the same for customer master data , BD52 had some entries by itself .
I can't produce any HRMD_A06 Idocs , What am i doing wrong? Should the entries in BD52 be added manually for all the fields i need?
Any help is much appriciated.
SudheerHi,
guess it's not necessary to see some entries in bd52 (it's enough to activate in bd53).
Do you have configured RBDMIDOC (otherwise no IDocs will get generated).
Or you run t-code bd21 for testing. Standard way is to run the report RBDMIDOC in a periodic background job.
A good description could be found here (p. 12):
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30139fb0-360c-2a10-1e9f-9d5417754983
Regards
Patrick
Edited by: Patrick Koehnen on Aug 12, 2008 3:40 PM -
Change pointers for Vendor, Material and GL Posting
Hi Experts ,
when something changes or an event takes place in SAP, i want that information to be sent out to their
external systems for Integration purposes.
Can anyone advise me what kind of steps and configations for Vendor, Material and GL Posting need to be done step by step .
Pls.help me in this regards as it is very much required .
Regards
KiranPlease respond anyone
-
Why change pointers for master data, why not change message?
Hi Gurus,
I have one doubt about Idoc.
When changes to master data has to be sent Change pointers are configured and used. (CDPOS & CDHDR). In case of the transaction data change change idoc is used as is the case with orders (we use ORDCHG for ORDERS message type to send the chnage details to a order which was already sent to other system.
Why we can't use change idoc or message type whatever, instead of Chnage pointers in case of master data or vice versa in case of transaction data.
Your valuable input will be rewarded with suitable points!!
-B S B.Change pointers are getting stored in the tables BDCP and BDCPS. As SAP suggests these tables should be as small as possible. And Master data are not much frequently changed data.
As you compare with the transactional data, you need to change them many times in the real scenario. If we also process the transaction data via chnage pointer, these changes BDCP is getting more and more entries.
RBDCPCLR is the program used to process the change pointer. If you have much data in the BDCP table, this program will take much time to run.
So, we use the change pointers for the master data only.
Regards,
Naimesh Patel -
Report for vendor master changes
Good day,
Please can you assist with this issue,
Report S_ALR_87012089,program RFKABL00
Version ECC 6.0
This report does not reflect the old and the new values for changed bank details.
It does not show anything under the old value and shows **deleted** and **created** for new values.
Thanks in advanceYou will have to do configuration in T Codes OBAT and OBAU to achieve what you want in the report.
Check the IMG activity documentation for the following.
SPRO -> IMG -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Define Field Groups for Vendor Master Records.
SPRO -> IMG -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Records -> Preparations for Changing Vendor Master Records -> Group Fields for Vendor Master Records.
Also read the RFKABL00 program documentation. -
CDHDR does not capture the Tcode for vendor master address changes:
Hi Guys,
Wish you a happy new year.
I have the problem to track the changes of the vendor master. I have a vendor master, which got changed by one user. If I look the change history, I can be able to see the change document number, old value and new value. based on that I used CDHDR table to find out the TCODE which is used for this change, but found no value in the TCODE field. What is the meaning of this? Is it meant to say that this field is updated by other sources other than direct changes (XK02/MK02)? If such a case, is it possible to find out the program or LSMW or BW, etc...which is used for this change?>
Smart Sometimes wrote:
> do we have the option to search the changes based on the USER id for a particular date?
Which userid? SCN or SAP userid? -
Change Pointers for Infotypes - HR Master Data distribution
Hi,
I want to distribute HR infotypes Master Data to other systems...
How do I activate Change pointers for HR infotypes?
Do I have to use idoc HRMD_A or HRMD_B?
Do I have to distribute thru PFAL transaction?
Can I do that a employee change the data of an infotype send the idoc authomaticly?
Thanks in advance.
Regards.
Urtzi.Thanks Roman,
I've looking also for idoc HRMD_ABA. What is the diference between HRDM_ABA and HRMD_A?
When I press SAVE in PA20 doing changes in an employee system distributes authomatically HRMD_ABA but not HRMD_A. Is it correct?
So, if that is correct could I say the following:
- To distribute HRDM_A we can use report RBDMIDOC scheduleing periodic JOB.
- iDoc HRDM_ABA is distributed when saving data in standard transactions.
Is that correct?
Regards.
Urtzi. -
Working on IDOC OUTBOUND FOR Vendor Master and Customer Master
Hi Group,
I need to create IDOC's for Vendor master and customer master using ALE. Whenever they create vendor/customer or changes to vendor/customer should create IDOC's.
Can anyone please help me out how to proceed? I know that we can use CREMAS/DEBMAS and CREMAS04/CREMAS...But I would like to know how to use those.
Thank-You,
VenkyHi Sai,
Welcome to group.
Related to CREMAS/DEBMAS, for your situation, you can use the change pointers. With this, when ever there is an change/create, it will create an entry in CDHDR & CDPOS and based on that it will create the IDOCs for these.
Activate the change pointers for these message types and run the application RBDMIDOC periodically (whenever you want). This application will create the IDOCs based on your entries.
To activate the change pointers, the TCODEs are
BD50 Checking change pointer is activated for Message Type
BD52 Checking which fields are configured change pointer to create. (please make sure, an entry will exist in BDCP table)
I hope you know the remaining configuration related to partner profile entries (WE20) i.e. to which system you want to send the idocs and Inbound or Outbound etc.
Let me know if you need further info.
shylesh -
Regarding change pointers for HRMD_A
Hi Abapers,
I need to distribute changes to HR master data to a middleware system. hence i have activated the change pointers for the message type: HRMD_A. now my idoc is populating the infotype segments whenever it is changed with all fields.
But a particular change (on an infotype) should be sent individually in two different runs of RBDMIDOC run to the middleware. Ex: Vendor A needs changes to be sent to it on a weekly basis whereas Vendor B needs changes to be sent to it on a biweekly basis. When an employee X has a change on infotype 2, this change should be sent to middleware in both instances separately in different IDOCS at different times when RBDMIDOC program is run (by capturing change pointers pertinent to the message type of the particular vendor).
What are the changes required for ALE config.? Do i need to create a new message type for vendor B and configure. Please help.
Thanks.Hi sudarshan,
Yuo need to create Z program to trigger IDOC.
As you need to set read status of change pointer as X after yuo send it to both system.
So you need to create Z table to keep track of this whether you have send to sys a or Sys B..
If you willl not update read status in will cause performance prob.
Hope this helps.
Dhiraj. -
Upload program for vendor master
Hi Friends,
Could you please help me in this.
actually i have a program like this:
i have to download the data from an excel sheet and reformat it and output into a text file so that the data can be uploaded into vendor master using standard progarm
<b>"RFBIKR00".</b>
i have written the program like this:
but in the middle when formatting the data...i'm facing the problem....
plz help me in solving that...
thnx very very much...........
the program i wrote is like this:
<b>
tables: lfa1,
lfb1,
lfm1,
lfbk,
bnka,
bgr00,
blf00,
blfa1,
blfb1,
blfbk,
blfm1,
blfb5,
blfbw,
blfei,
blfza,
blflr,
blfm2,
bwyt3,
bwyt1,
blfat.
*--- Internal table for spread sheet.
data: t_filedata like alsmex_tabline occurs 0 with header line.
*--- Internal table for Vendor Master Data in Spread Sheet.
data: begin of t_sheet occurs 0,
name1 like lfa1-name1, "vendor name1
name2 like lfa1-name2, "vendor name2
altkn like lfb1-altkn, "previous master record number
bukrs like lfb1-bukrs, "company code
ekorg like lfm1-ekorg, "purchase organization
ktokk like lfa1-ktokk, "account group
stras like lfa1-stras, "street
street4 like lfa1-name4, "street4
pfach like lfa1-pfach, "po box
ort01 like lfa1-ort01, "city
regio like lfa1-regio, "region
pstlz like lfa1-pstlz, "postal code
land1 like lfa1-land1, "country
telf1 like lfa1-telf1, "first telephone number
telfx like lfa1-telfx, "first fax number
stcd1 like lfa1-stcd1, "fed tax ID#
brsch like lfa1-brsch, "commodity code
akont like lfb1-akont, "reconciliation account
mindk like lfb1-mindk, "monitory indicator
zwels like lfb1-zwels, "payment method
reprf like lfb1-reprf, "check double invoice
banka like bnka-banka, "bank name
stret like bnka-stras, "house number and street
city like bnka-ort01, "city
provz like bnka-provz, "bank state
banks like lfbk-banks, "bank country
swift like bnka-swift, "swift code
bankl like lfbk-bankl, "aba#
bankn like lfbk-bankn, "bank account no
zterm like lfb1-zterm, "payment terms
terms like lfm1-zterm, "terms of payment key
end of t_sheet.
*--- Internal table for Vendor Master data in Text File.
data: begin of t_file occurs 0,
s_session type bgr00,
s_header type blf00,
s_blfa1 type blfa1,
s_blfb1 type blfb1,
s_blfbk type blfbk,
s_blfm1 type blfm1,
s_blfbk type blfbk,
s_blfb5 type blfb5,
s_blfza type blfza,
s_blfm1 type blfm1,
s_blfat type blfat,
s_bwyt1 type bwyt1,
s_bwyt3 type bwyt3,
s_blfm2 type blfm2,
s_blfei type blfei1,
s_blfbw type blfbw,
s_blflr type blflr,
end of t_file.
SELECTION SCREEN *****
*---Selection Parameters.
selection-screen begin of block b1 with frame title title1.
parameters: p_xlfile like rlgrap-filename.
parameters: p_txfile type rlgrap-filename.
selection-screen end of block b1.
INITIALIZATION *****
initialization.
*---Initialize text fields for selection-screen.
title1 = 'Selection Parameters'.
AT SELECTION-SCREEN *****
at selection-screen.
at selection-screen on p_xlfile.
perform check_file using p_xlfile.
at selection-screen on value-request for p_xlfile.
perform select_file using p_xlfile.
START-OF-SELECTION *****
start-of-selection.
clear t_sheet.
refresh t_sheet.
*---Upload Spreadsheet.
perform read_file using p_xlfile.
*---Process data into formatted internal table.
perform format_data.
append t_file.
clear t_file.
endloop.
*---Download data to Text file.
perform download_data.
TOP-OF-PAGE *****
top-of-page.
perform top_of_page.
S-U-B-R-O-U-T-I-N-E-S *****
Form TOP_OF_PAGE
Calling the Standard Report Header
form top_of_page.
perform header using 'CREATE FILE FOR'
'VENDOR MASTER UPLOAD'
132.
skip 2.
endform. "TOP_OF_PAGE
Form check_file **
Checking the File entered **
data: p_filename type string.
form check_file using p_filename.
*---The entered File must be Excel spreadsheet.
data: l_length type i,
l_ext(4) type c.
l_length = strlen( p_xlfile ).
subtract 4 from l_length.
l_ext = p_xlfile+l_length(4).
translate l_ext to upper case.
if l_ext <> '.XLS'.
message e009 with 'Only Excel spreadsheets are supported'.
endif.
*---Check if File exits and not empty.
data: l_return(10) type c.
CALL FUNCTION 'WS_QUERY'
EXPORTING
FILENAME = p_filename
QUERY = 'FL'
IMPORTING
RETURN = l_return
EXCEPTIONS
INV_QUERY = 1
NO_BATCH = 2
FRONTEND_ERROR = 3
OTHERS = 4
IF l_return = space or l_return = '0'.
message e530(pj) with p_filename.
ENDIF.
endform. "CHECK_FILE
Form select_file **
form select_file using p_filename like rlgrap-filename.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = 'X'
MASK = ',MS Excel (.xls),.xls.'
CHANGING
FILE_NAME = p_filename
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE e838(29) with p_filename.
ENDIF.
endform. "SELECT_FILE
Form read_file **
form read_file using p_filename like rlgrap-filename.
*---Display status message for User.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = 'Uploading Spreadsheet'
*---Upload spreadsheet.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_filename
I_BEGIN_COL = 1
I_BEGIN_ROW = 1
I_END_COL = 256
I_END_ROW = 65536
TABLES
INTERN = t_filedata
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF t_filedata[] is initial.
message i009 with 'NO DATA FOUND IN FILE' p_filename.
stop.
ENDIF.
sort t_filedata by row col.
endform. "READ_FILE
Form format_data **
form format_data.
data: l_index type i.
field-symbols: <fs1>.
*---Display status message for user.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = ' Processing Data...'
loop at t_filedata.
l_index = t_filedata-col.
assign component l_index of structure t_sheet to <fs1>.
<fs1> = t_filedata-value.
at end of row.
append t_sheet.
clear t_sheet.
endat.
endloop.
refresh t_filedata.
free t_filedata.
endform. "FORMAT_DATA
Form download_data.
form download_data.
OPEN DATASET p_txfile for OUTPUT.
LOOP at t_file.
TRANSFER t_file to p_txfile.
ENDLOOP.
CLOSE DATASET p_txfile.
IF SY-SUBRC = 0.
WRITE: / 'Excel to Textfile for Vendor Master Upload: ', P_TXFILE.
ENDIF.
endform. "DOWNLOAD_DATA</b>Hi!
You don't need to program the 'translation' from a file into input data for RFBIKR00 yourself. SAP has done this, so that you can do this (nearly) without programming. If you need some special conversion rules, then you can add some coding, but most is possible without.
Have a look at transaction LSMW. It's not so complicated it looks at the first time. Just look at <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm">help</a> for the way to use LSMW.
Regards,
Christian
P.S.: sorry for lost your efforts, but you should switch to LSMW -
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 -
No view of the changes of Customer /Vendor master data
Hi Experts,
I have a problem, when I run the standard report to view the changes of customer/vendor master data, I don't find the change relative to a bank account .
I found in the report the technical field that the user has changed, but I haven't found the text of the data in the tab "bank account".
Can you help me, please?
Thanks in advance.
Best regards
GiampaoloDear Ram,
thank you for your answer , but my problem is still present. If I want to see the modify of the Customer/Vendor Master Data for the Payment transaction Data details, I don't try this information in the TCODE FD04.
Do you know a different report or TCODE that I can use?
Thank you in advance.
Best Regards
Giampaolo -
Hi Folks,
1.Is there any BAPI available for Vendor Master?
2.In LSMW if I am having a flat file of 4 records and I am updating only one of them which one will get uploaded? All the 4 or only the one which I had updated?
I had never worked on LSWM,so kindly let me know.
3.Do anyone here have a bdc for XK01?
K.Kiran.
Message was edited by:
Kiran KHi
Go to trxn BAPI, go by Alphabetical tab, check the BAPIs available for Vendor.
If you have 4 records in the file, all 4 will be processed (doesnt mean they will be updated, depends if you have changed any data) even if you update one in the file.
So, for a file of 4 records (with only 1 updated rrecord)
Processed records: 4
Updated records: 1
Regards,
Raj -
I want IDOC for Vendor master updation ( XK01 &XK02 )
Hi
I want to do LSMW in IDOC method for this vendor updation.
So I want IDOC for Vendor master updation ( XK01 & XK02 ).
I want to do both create vendor and change also.
Regards,
Ravi
Edited by: kandukuri ravi on Dec 1, 2008 2:56 PMHi,
For Vendor Master using IDoc's for LSMW,Use Message Type = CREMAS and Basic Type = CREMAS05.
For Basic type 01,02,03...05 are versions which includes more fields in basic type so better use latest version.
Hope it will help you.
Regards,
Sudhakar Reddy.A -
Currency input data for Vendor Master
Hi
When I make a PO (me21n), the Currency data is missing. From where do we get the Currency data - from Vendor Master or the Material Master ?
Thanks in advance
VaideeDear,
You got it from Vendor Master.
Enter XK01 - Create Vendor master - > Purchasing view you can maintain currency for vendor master.
For check vendor master - XK03.
You can change it with XK02.
Regards,
Mahesh Wagh.
Maybe you are looking for
-
Siebel 8.1 SWSE installation problem on Linux
Hi All, I'm trying to install Siebel 8.1 [21039] on Linux (Redhat 4 with update 5) . I have done my gateway server, enterprise server and siebel server successfully. Then I installed the OHS 10.1.3 and Siebel Web Server Extension as the web server, b
-
WebI does not return failed when scheduling a report which only holds parti
WebI does not return failed when scheduling a report which only holds partial results. We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. Th
-
Acrobat X Pro - Duplication of form fields
I use Acrobat X Pro to make fillable forms and frequently have an issue with form fields duplicating over top of each other when I try to format a group of fields. Our forms are often several pages in length and it's very time consuming to have to re
-
Under Captivate 3 (as part of the full Tech. Comm. Suite), I'm authoring Captivate presentations on a Windows XP PC, and storing archive copies of the resultant .cp and stand-alone .exe files on a file server. These server copies are never opened/edi
-
HT3412 I want to create a photo calendar in English, but i only receive it in Spanish
Hello, from Palma, I bought mz MacProBook in Spain, my AppleID is for the shop in Spain, but I want to create via iPhone a calendar in other languages (English and German)??????