Customer master Upload
HI,
Iam doing Customer master Upload.............My proble is...
Some of my Customers are GOvt customers...Lets say..R&B Karnataka....having 50 customer masters in Diff branches.....like R&B(Bangalore/mysore/Etc...)
Some times Bangalore branch may gives the orders ,sometimes it is ship to party also...
How can i handle this Customer master in SAP...
Please let me know if you need more clarity
Regards
raj
Dear Venky,
In very simple Terms:
If a Purchase Order comes from a Client, that Client needs to be Created as Sold-to-Party.
All the Branches/ Subsidaries, where Vendor needs to Delivery Shipment, Send Invoices, recieves Payment; need to be created as Partner Function (say, Ship-to-Party, Bill-to-Party & Payer) and must be assigned to Sold-to-Party.
There is nothing like Govt. Customer or Corporate Clients.
So, if your scenerio requires that much No. of Customers (as Sold-to-Parties), go for it.
Best Regards,
Amit
Similar Messages
-
LSMW : Customer Master upload
hello,
i am uploading customer master data using the standard object : 0050 and program : RFBIDE00.
I am trying to upload data like Street2, street3 and street 4 which can be viewed in the street address drop down in transacction XD01/02. In my lsmw i am using the mapping for these fields in the structure BIADDR2 where the fields i mapped to are str_suppl1, str_suppl2, str_suppl3.
but when i try and upload data i do not get these fields updated even though i have given them in the upload file.
Please can anyone tell me the reason why it is doing so?
Thanks and Regards
SwanandHi Swanand,
We have done the customer master upload using LSMW but with the IDoc variant (message type DEBMAS). You can upload all data you need using this IDoc.
Regards,
John. -
Using RFBIDE00 for customer master upload
Hi all,
Does any one used batch input program RFBIDE00 for Customer master Upload data in to SAP.
Could you please explain how to use it... its urgent, appreciare if your early reply..
I am planing to use it through Run the program from SE38..
Thanks..hi good sap1,
Batch Input - Customer Master Data (RFBIDE00)
Description
All new fields for customer master records can be transferred to the R/3 System also with the report RFBIDE00.
Furthermore, the batch input can be carried out with the existing record definitions. By means of the end of record marker, the report recognizes which record structures do not yet correspond to the extended record layout and initializes the new fields with NODATA.
It is pointed out in the batch log, which structures are yet to be maintained. This should be done as soon as possible to be able to use the new functions or fields
Introduction
It is now possible to pass the information concerning tax categories and withholding types (for the extended withholding functionality) and the special Argentine fields via the standard batch-input program. Please look at the standard documentation if you need further information on the program.
Additional Fields
The additional fields have been added to the structures BKNA1 (general information) and BKNB1 (company code data). Please use transaction SE12 to see the fields of the structures.
Enrichments for Tax Categories
The following table shows how to fill the interface table BKNAT to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNAT
obligatory
XDELE
Flag: Delete entry
optional
TAXGR
Tax category
obligatory
Enrichments for Extended Withholding Data
The following description shows how to fill the interface table BKNBW to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNBW
obligatory
XDELE
Flag: Delete entry
optional
WITHT
Withholding type
obligatory
thanks
karthik
reward me points if usefull -
Problem in Customer Master Upload using LSMW
Hi,
I am using LSMW direct input method to upload customer master. I have used ZSOURCE structure as parent structure and for multilple entries like Bank details and contact details i have used other child structure like ZBANK and ZCONTACT. I am using separate flat file for Bank and contact details.
I have used one common field 'ID' as the first field both on ZSOURCE, ZBANK and ZCONTACT structure to link-up. Thus, i am able to load multiple records for Bank data. But i am unable to get contact details.
Also, value for Reconciliation account(KNB1-AKONT) and sales group(KNVV-VKGRP) is not passed to screen.
I have checked 'Generate Read Program','Read Data', 'Generate Conversion Program' and 'Convert Data' step again and again. Upto step 'Display Converted Data', data is converted successfully, but the same field values are not passed to screen.
Can you pls help me to get the value..Hi,
LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
check that single charecter field, if that is X that means the header record is processed, and do the items.
and, this is another way, try this out also
YOu can do this in "Define Source Structures" step,
the HEADER is defined first,
then the DETAIL below the HEADER.
add the fields to the structures.
Both should have some common key field
Please take care that the name of the common field is the same.
Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
Re: Table control in LSMW -
Problem in Customer Master Upload
hi all,
i am using "idoc_input_debitor" FM for mass upload of customer master data, in which the 'e1kna1m' segment does not have a provision for house number, which is stored in ADRC-house_num1 while creating from transaction(XD01). how do i overcome this and post the field house_num1 into customer master data.
Thanks,
PavanPerhaps you can extend the IDOC to have the field, and then copy the standard FM used and change it to do the processing using the new IDOC field. Dont forget to change the process code to point to the new copied FM.
Hope this helps. -
Customer -master upload using bapi
hai ..
can any body send me some example for customer master creation using bapi ..
in this account -group is mandatary..
but i did.nt find acc-group in bapi structures ..
plz do helpful ..
Tanx in advance ..Hi,
Check the below links.
[http://abaplovers.blogspot.com/2008/03/customer-master-bapis-function-modules.html|http://abaplovers.blogspot.com/2008/03/customer-master-bapis-function-modules.html]
[http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1|http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1]
Reward if found helpful.
Regards,
Boobalan Suburaj -
Customer Master Uploading LSMW TECH
Can any one help to sort-out the Following probelm.
While uploading the partner function Number to corresponding partner function iam not able to get the legacy data in the partner number screen fields. It gives an error 'make a entry in the required fields'.
but after we manually type numbers the legacy data numbers are populated. with out manul entry how could solve this problem.
Error was in the partner number field.
I have following partner functions and Number as follows
SP -
JS -
PY - iNTERNAL
SH-
how could I populate the values to corresponding partner
function number expect PY from flat file.
ThanksThanks for reply.
The probelm is not in the file. Actually other partner function are loaded. when we are trying for Ship-to- It was not working . Because for example to sold- to -
In Paterner Function Screens like
SP - Internal
JS - Internal
Bp-Internal
PY-internal.
Same for SHIp to PY
SP -
JS -
Bp-
PY-internal.
This Internal missing in the screen for PY so It is asking to fill Manadtory Fields .
When it load to data It moves to previous screen fill data and it load to partner function screen why because it was table control ,I think u know how the a table control values are load in the screen. -
Problem extracting fields for customer master data upload
Hello,
I have a list of fields that I need to extract into a file to be used in a customer master upload. I am having a problem with two fields. they are MOB_NUMBER in SZA1_D0100 and KTONR in RF02D. I am not sure how to retrieve these fields. I do not know if there are FM's that will retrieve the data for me or not. if anyone knows if there are FM's or another way to retrieve this data, can you please let me know.
thanks in advance for the helpthis has been corrected
-
Creation and change customer master in same LSMW
Hi Experts,
I have a created customer master uploading using batch input recording in lsmw.
Now i have scenario like if the customer already exists i need to change that customer accordingly.
I hope most of u would have come across such issue,for time being i tried makin 2 recordings for creation(XD01) and change(XD02)
after assigning 2 structures for each creation and change, but i don know where to check whether the customer already exists and how to skip respective recordings....
Pl suggest steps after this, if this one correct........
Or if there any alter method pl do suggest me..
Pts will rewarded immly.
Regards,
DilipHi,
In the begin of record, you can check whether a cust already exist in the system. Based upon the result you can change the Tab Name and Tcode.
Just give this a try.
Rehards,
Lalit -
Customer Master Time zone error
I am getting the following error in customer master upload.
"No time zone could be determined for country CS region CS postal code 1210"
Kindly provide solution to resolve.Is there a long text for the message? What is the message id and number?
Have you defined region CS in country CS?
Rob -
BAPI function create Customer master(T-code XD01)??
Hi All,
i want to create BDC program using BAPI function create Customer master(upload customer master),but i do not know which BAPI function for create Customer master.
Does anyone know,please tell me which BAPI function i can use?
Thanks.
Van DungHi Amit Gujargoud,
I can use LSMW upload the data from legacy system to sap system., but my manager he did not want to use LSMW.He wants to use BAPI function for upload customer master.
I saw this BAPI function create customer master : BAPI_CUSTOMER_CREATEFROMDATA1,
BAPI_CUSTOMER_CREATEFROMDATA,
it is not enough field for input data.
example : if i want input : customer code,company code, Sales organiration,Distribution channel,Division.
So This BAPI function have not paramaters input this field.
Thanks for your answer
Van Dung. -
Query in customer master data upload ....?
Hi Guru's,
I am uploading the customer master data from presentaion server to customer tables using functional module SD_CUSTOMER_MAINTAIN_ALL.
while check the Function module separatly and it working properley and i am able to ctere customer...
and i am using the same function module in the program i am unable to upload ..could please check and let me know where i am doing mistake in the below program logis..and values also moving properly before calling function module..while calling the functinal module the controle comming out of the loop and program went to dump i am able to see the message in dump as like this(it may helpfull for resolve):
Name of function module...............: "SD_CUSTOMER_MAINTAIN_ALL"
Name of formal parameter..............: "O_KNA1"
Technical type of actual parameter....: "C"
Technical length of actual parameter..: 20 bytes
Technical type of formal parameter....: "u"
Technical length of formal parameter..: 3634 bytes
Name of formal parameter at caller....: "O_KNA1"
*& Report ZERP_CUSTOMER_CREATE_UPLOAD
REPORT zerp_customer_create_upload.
PARAMETERS:p_files TYPE string.
*DATA :xkunnr(10) LIKE kna1-kunnr. "unique KUNNR
DATA: gs_i_kna1 TYPE kna1,
gs_i_knb1 TYPE knb1,
gs_i_knvv TYPE knvv,
gs_return TYPE bapireturn1,
gs_i_bapiaddr1 TYPE bapiaddr1,
gt_t_xknvi TYPE STANDARD TABLE OF fknvi,
gwa_t_xknvi TYPE fknvi,
gt_t_xknbk TYPE STANDARD TABLE OF fknbk,
gwa_t_xknbk TYPE fknbk,
gt_t_yknvp TYPE STANDARD TABLE OF fknvp,
gwa_t_xknvp TYPE fknvp.
TYPES:BEGIN OF gty_itab1,
abc(305),
END OF gty_itab1.
DATA: gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
gwa_itab1 TYPE gty_itab1.
TYPES :BEGIN OF gty_itab2,
ktokd(4), "customer account grp kna1
kunnr(10), "customer kna1
name1(35), "name1 kna1
sortl(10), "sort filed kna1
stras(35), "house number and adres kna1
pstlz(10), "postal code kna1
ort01(35), "city kna1
land1(3), "country kna1
telf1(16), "tele phone no kna1
telfx(31), "fax num kna1
kukla(2), "cust classificaion kna1
bukrs(4), "company code knb1
akont(10), "reconcilation acct knb1
vkorg(4), "sales org knvv
vtweg(2), "distr chan knvv
spart(2), "division knvv
zterm(4), "terms of payment knvv
bzirk(6), "sales district knvv
vkbur(4), "sales office knvv
vkgrp(3), "sales grp knvv
kdgrp(2), "cust grp knvv
waers(5), "currency knvv
konda(2), "price grp knvv
kalks(1), "pricing procedure assign knvv
lprio(2), "delivery plant knvv
vsbed(2), "shipping conditions knvv
vwerk(4), "delivering plant knvv
inco1(3), "inco1 knvv
inco2(28), "inco2 knvv
kkber(4), "cred control area knvv
ktgrd(2), "acc assgn grp knvv
taxkd(1), "tax classification 4 cust knvi
bankn(18), "bank account number knbk -
xkunnr(10),
END OF gty_itab2.
DATA: gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
gwa_itab2 TYPE gty_itab2.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_files
filetype = 'ASC'
TABLES
data_tab = gt_itab1
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_itab1 INTO gwa_itab1.
gwa_itab2 = gwa_itab1-abc(305).
APPEND gwa_itab2 TO gt_itab2.
ENDLOOP.
LOOP AT gt_itab2 INTO gwa_itab2.
SPLIT gwa_itab2 AT ',' INTO gwa_itab2-ktokd
gwa_itab2-kunnr
gwa_itab2-name1 gwa_itab2-sortl
gwa_itab2-stras gwa_itab2-pstlz
gwa_itab2-ort01 gwa_itab2-land1
gwa_itab2-telf1 gwa_itab2-telfx
gwa_itab2-kukla gwa_itab2-bukrs
gwa_itab2-akont gwa_itab2-vkorg
gwa_itab2-vtweg gwa_itab2-spart
gwa_itab2-zterm gwa_itab2-bzirk
gwa_itab2-vkbur gwa_itab2-vkgrp
gwa_itab2-kdgrp gwa_itab2-waers
gwa_itab2-konda gwa_itab2-kalks
gwa_itab2-lprio gwa_itab2-vsbed
gwa_itab2-vwerk gwa_itab2-inco1
gwa_itab2-inco2 gwa_itab2-kkber
gwa_itab2-ktgrd
gwa_itab2-taxkd
gwa_itab2-bankn.
*moving files values from ITAB2 work area to global structure related to FM.
gs_i_kna1-ktokd = gwa_itab2-ktokd.
gs_i_kna1-kunnr = gwa_itab2-kunnr.
gs_i_kna1-name1 = gwa_itab2-name1.
gs_i_kna1-sortl = gwa_itab2-sortl.
gs_i_kna1-stras = gwa_itab2-stras.
gs_i_kna1-pstlz = gwa_itab2-pstlz.
gs_i_kna1-ort01 = gwa_itab2-ort01.
gs_i_kna1-regio = gwa_itab2-land1.
gs_i_kna1-telf1 = gwa_itab2-telf1.
gs_i_kna1-telfx = gwa_itab2-telfx.
gs_i_kna1-kukla = gwa_itab2-kukla.
gs_i_knb1-bukrs = gwa_itab2-bukrs.
gs_i_knb1-akont = gwa_itab2-akont.
*I FOR GOT TO INCLUDE THE ZTERM VALUE IN EXCELL SHEET SO INCLUDED HARD CODE HERE
gs_i_knb1-zterm = '0001'.
gs_i_knvv-vkorg = gwa_itab2-vkorg.
gs_i_knvv-vtweg = gwa_itab2-vtweg.
gs_i_knvv-spart = gwa_itab2-spart.
gs_i_knvv-zterm = gwa_itab2-zterm.
gs_i_knvv-bzirk = gwa_itab2-bzirk.
gs_i_knvv-vkbur = gwa_itab2-vkbur.
gs_i_knvv-vkgrp = gwa_itab2-vkgrp.
gs_i_knvv-kdgrp = gwa_itab2-kdgrp.
gs_i_knvv-waers = gwa_itab2-waers.
gs_i_knvv-konda = gwa_itab2-konda.
gs_i_knvv-kalks = gwa_itab2-kalks.
gs_i_knvv-lprio = '02'. "gwa_itab2-lprio.
gs_i_knvv-vsbed = gwa_itab2-vsbed.
gs_i_knvv-vwerk = gwa_itab2-vwerk.
gs_i_knvv-inco1 = gwa_itab2-inco1.
gs_i_knvv-inco2 = gwa_itab2-inco2.
gs_i_knvv-kkber = gwa_itab2-kkber.
gs_i_knvv-ktgrd = gwa_itab2-ktgrd.
gwa_t_xknvi-tatyp = 'UTXJ'. "HARD CODE
gwa_t_xknvi-aland = 'US'. "HARD CODED
gwa_t_xknvi-kz = '0'. "HADR CODE
gwa_t_xknvi-taxkd = '0'. "gwa_itab2-taxkd.
APPEND gwa_t_xknvi TO gt_t_xknvi.
gwa_t_xknbk-bankn = gwa_itab2-bankn.
APPEND gwa_t_xknbk TO gt_t_xknbk.
gs_i_knb1-lockb = 'X'.
gs_i_knvv-kzazu = 'X'.
gs_i_knvv-kztlf = 'X'.
gs_i_knvv-perfk = 'X'.
gs_i_knvv-prfre = 'X'.
gs_i_kna1-spras = 'EN'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = gs_i_kna1
i_knb1 = gs_i_knb1
i_knvv = gs_i_knvv
I_BAPIADDR1 =
I_BAPIADDR2 =
I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
I_KNB1_REFERENCE = ' '
I_FORCE_EXTERNAL_NUMBER_RANGE = ' '
I_NO_BANK_MASTER_UPDATE = ' '
I_CUSTOMER_IS_CONSUMER = ' '
I_RAISE_NO_BTE = ' '
PI_POSTFLAG = ' '
PI_CAM_CHANGED = ' '
PI_ADD_ON_DATA =
I_FROM_CUSTOMERMASTER = ' '
IMPORTING
e_kunnr = xkunnr
o_kna1 = xkunnr
E_SD_CUST_1321_DONE =
TABLES
T_XKNAS =
t_xknbk = gt_t_xknbk
T_XKNB5 =
T_XKNEX =
T_XKNVA =
T_XKNVD =
t_xknvi = gt_t_xknvi
T_XKNVK =
T_XKNVL =
T_XKNVP =
T_XKNZA =
T_YKNAS =
T_YKNBK =
T_YKNB5 =
T_YKNEX =
T_YKNVA =
T_YKNVD =
T_YKNVI =
T_YKNVK =
T_YKNVL =
t_yknvp = gt_t_yknvp
T_YKNZA =
T_UPD_TXT =
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF sy-subrc EQ 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE: / 'Error Message:', 'error in creation'.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'costomer', gwa_itab2-kunnr, 'created'.
ENDIF.
ENDLOOP.please let me know if my qestion is not clear...
and please cinfirm me ..that can i use the function module (SD_CUSTOMER_MAINTAIN_ALL) instead of BAPI (BAPI_CUSTOMER_CREATEFROMDATA1) for uploading customer master data.
please respond me ASAP.
thanks in advance and will give full points
thanks®ards
Srinivas. -
LSMW for Customer master text upload
Hi
I would want to upload the customer master text using LSMW. I see a message type /DSD/HH_CUSTMASTEXT (Customer master additions) being available.
has anybody used this for text upload??
I am not sure how it works, i dont see the provision to enter the text unlike the "SAVE_TEXT function module.
If any one of you have used it, kindly let me know.
Thanks
ManjuHi Srinivas,
yes we could do the text upload using direct input method. I need to invoke it from web methods, it would be difficult with direct input method and hence i was looking for using IDOC's.
Regards
Manju -
Upload Customer Master with LSMW
Hi Experts,
I have created an LSMW for uploading Customer Master in Development System and moved it to Quality System.
Now can I upload the Customer Master in Production System from the LSMW in Quality System or it is the only option that I will have to move the LSMW to Production System and then Upload the Customer Master form Production?
Thanks in Advance.
Quick reply would be appriciated.
Regards,
HPI close the thread. I got the solution.
It is possible with the Menu Path
Extras > Export/Import -
Upload partner functions to customer master using LSMW
Dear Friends,
I'm trying to uplaod customer partner functions data through LSMW. I have tried to upload the data using recording method in LSMW(Tr. code: XD02).
As per the business requirement, I need to upload multiple number(For example: 10 records) of SP(Sold to) partners to a single customer.
While executing session, instead of adding all 10 records of partner functions, only the last record(i.e 10th records) is adding in the customer master.
Your response will be highly appraciated.
Regards
SatishHi Satish,
You can't use XD02 to upload multiple partner functions by recording the transaction. It will not create multiple entries, always it will replace the existing ones with the new entry. you need to use the standard BI program or Idoc method do the same.
I know the scenarios for the vendors it didnot work in that way for me at that time I used Standard BI method to create the multiple partner associations.
Maybe you are looking for
-
Why are my exports different sizes?
When I export a photo from aperture, I am getting a different file size than what it says in aperture. This happens with edited images or non-edited. I've tried changing the export presents and they all give me different file sizes, which makes sen
-
Valuated stock and valuated stock value
From where i can get information for valuated stock
-
What's wrong with these code?
Hi, i made the below snippet of code for retriving data from a table in database. but it doesnt work property when i run the program. Could anyone tell me what's wrong with it? Thanx in advance. //rs is object of type ResultSet //url is one of the co
-
I don't know much about this to begin with but here it goes. I don't currently have any geo tagged photos. There are some photos that I would like to put on a map in places. My question: By assigning a photo to a place in Iphoto 09, does that change
-
My macbook pro (Mid-2010; Mountain Lion) has been crashing to Kernal Panics more and more frequently; from few times a week to now around twice a day. It's getting really fustrating and not sure what is causing it. I hope its not a hardware problem;