Creating vendor
while creating vendor can any body tell how vendor,company code and account group has to be taken?
Hi Phani,
While creating vendor, the following points has to be taken into account.
1. For which company code, you are going to create the vendor? You can get possible entries by pressing F4.
2. For which account group you are going to create the vendor? Account groups like vendor, one time vendor, finance vendor etc. This account group controls the screen layout of vendor master and the numbering of vendor master ie internal/external number. If it is internal number, there is no need to input any number in vendor field else if it is external numbering then you have to input the vendor number that you want to create, this number must be in the external number range defined in the system.
Hope this helps and clarifies.
Thanks
Viswanath
Similar Messages
-
hi, iam using maintain_bapi of class vmd_ei_api for bank details creation at the time of vendor creation. but im getting error: ' Invalid address:bank Country missing'.please suggest
* *** Bank details***************************************
DATA: lt_bankdetails TYPE TABLE OF cvis_ei_cvi_bankdetail,
ls_bankdetails TYPE cvis_ei_cvi_bankdetail.
ls_bankdetails-data_key-banks = 'DE'. "Bank Country
ls_bankdetails-data_key-bankl = 'BEBEDEBB'. "Bank Key..
ls_bankdetails-data_key-bankn = '3538174400' ."Bank account number.
ls_bankdetails-data-bvtyp = 'USA'.
ls_bankdetails-data-bkref = 'BEN'. "Reference details.
ls_bankdetails-datax-bvtyp = 'X'.
ls_bankdetails-datax-bkref = 'X'. "Reference details.
ls_bankdetails-task = 'I'.
ls_bankdetails-data-iban = 'DE24100200003538174400'.
ls_bankdetails-datax-iban = 'X'.
APPEND ls_bankdetails TO lt_bankdetails.
*CLEAR : ls_bankdetails.
* ls_bankdetails-datax-iban = 'X'.
* APPEND ls_bankdetails TO lt_bankdetails.
* Inserting bank details,,,,
ls_bank-bankdetails = lt_bankdetails[].
ls_bank-current_state = ''.
ls_vendors-central_data-bankdetail = ls_bank.
And second question how/which method to use from this class to update bank details latter. Is it possible after creating vendor with mandatory fields and then update bank details?Hi Abhijeet,
please check in transaction FI01, about your data consistencies. You can use this wiki help in terms of Address, it it found any useful facts for you
Address Checks - Business Address Services (BC-SRV-ADR) - SAP Library -
Mandatory fields to create vendor and PO
Hi all,
I am migrating data from legacy system to ECC and to SRM. I found mandatory fields in ECC and I am not sure what are the mandatory fields for SRM. I need for Vendor creation(Foreign vendors also) and open PO. Please reply.
Regards,
BalajiHi
<b>Use the function module BBP_VENDOR_GET_NON_BAPI to create a vendor directly in SRM.</b>
<u>Function module - BBP_VENDOR_GET_NON_BAPI</u>
<u>Program</u> - <b>BBP_VENDOR_GET_DATA</b>
<u>BAPI</u> - <b>META_BUSINESS_PARTNER_CREATE</b>
<u>Also look at Function module - BBP_UPDATE_ATTRIBUTES.</u>
<b><u>Did you created any PO using that "bapi_poec_create"..? Don't forgot to add a commit work in your program.</u></b>
You will have to develop your own XML mapping to create a PO in SRM.
You can use BAPI_POEC_CREATE (read SE37 documentation about GUIDs).
This one also uses internal functions BBP_PD_PO_CREATE, UPDATE & SAVE.
You don't have to take care of GUIDs. This function will generate them for you. You can pass the PO number as PO header GUID, and PO items as PO item GUIDs. This will make the links as well.
<u>Please go through this as well -></u>
Re: Upload PO from XML file in SRM
Creating a PO with ME_CREATE_PO_ITEM
Re: Function Module/BAPI to create vendors in PPOMV_BBP
Re: BBP_PD_PO_CREATE
Create PO
<u>Hope this will definitely help. Do let me know.</u>
Regards
- Atul -
What Function Module can be used to create vendor master data in SAP R/3?
Hello -
I've been trying to find a standard SAP delivered BAPI that can be used to create vendor master records in ECC 6.0. Up to this point I have not been able to do so. With SAP MDM solutions and SRM solutions it seems logical that SAP would deliver a standard BAPI that can be used to create vendor master records in the ERP/R3 environment (similar to the BAPI_MATERIAL_SAVEREPLICA for creating material master data records).
I have been able to find BAPI_VENDOR_CREATE but this only calls the online transaction and does not offer much additional functionality beyond what transaction code XK02 already offers.
The next best alternative appears to be IDOC_INPUT_CREDITOR but our preference would be to not use IDOCs for the project we are working on.
Can anyone offer any insight or personal experience on how vendor master records have been successfully interfaced with SAP R/3? Did you have to use IDOCs or create a custom RFC call? Thanks for the help!
Rich Wortmann
<< Personal information removed >>
Edited by: Rob Burbank on May 14, 2009 10:43 AMQuite a gap in the BAPI arsenal. I think the options are IDoc, which you don't want, good old program RFBIKR00 (requires flat file for input, can be used via LSMW) or DIY (very complex).
Thomas -
Run time error while create Vendor master via MK01
Dear Experts,
when i try to create vendor master by MK01.....system throws run time error as below:
"The exception 'CX_BADI_MULTIPLY_IMPLEMENTED' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CVI_MAP_TITLE=================CP' has to be
terminated."
My current system is ECC 6 along with DBM. Business partner configuration is activated in the current system. I am getting this error after BP configuration. Could you please help me to fix this issue?.......Is it due to configuration or a dump from abap program?
Regards
VetrivelanHii,
please search sdn before posting the threads.
check these links, it may help u............
Short Dump - CX_BADI_MULTIPLY_IMPLEMENTED - BADI Q1SR1
Short Dump - CX_BADI_MULTIPLY_IMPLEMENTED - BADI Q1SR1
CX_BADI_NOT_IMPLEMENTED
thanks. -
Creating Vendor Master Records from HR Master Records
Dear Experts,
I have been using t-code PRAA to create vendor master records from HR master records. The client would like to have one vendor number for a group of employees (in this case external contractors all working for the same company). The system won't allow me to link several PERNR to one LIFNR (i.e. error message).
Is it, however, possible to do this?
Thank you.
Edited by: Philip on Jan 14, 2011 9:58 PMHi ,
PRAA has one to one relation ship , means it created 1 vendor for 1 employee .
If you are using PERNR then you cant use one vendor to may PERNR .
Either create them as individual vendor or else have a manual control system in place where in you will have to create a dummy PERNR and then allocate all the cost to this invidual vendor , if you are paying the check to only 1 contractor for say 100 contract employees you can use this .
else it is a better mechanism and control to have 1 is to 1 in case of employee to vedor .
Regards ,
Dewaang T. -
Is it possible to create vendors with same name and city in FK01?
Hi All,
I need to create vendor through transaction FK01.
I need to create two vendors:
1. Name-Abdul, City-Hyderabad, Country-India.
2. Name-Abdul, City-Hyderabad, Country-Pakistan.
Is it possible to create in such a way.
Please help.
Thanks in advance.Hi Gautam,
yes it's possible, because the key is only LIFNR.
The address can be as you want.
regards, Dieter -
How to get table having successfully created Vendor's Iban number.
Hi All,
Iam creating vendor using Maintain_Bapi of class VMD_EI_API. While creating bank deatils for some reason bank iban is not populating (when im checking it in XK03) apart from that other bank details are populating. So, how can i check after vendor creation that particular vendor ' s IBAN is created or not.
iam getting input values for vendor bank details i.e IBAN, Bank country key,Bank Key and Bank account from user.
Is ther any function or bapi to check whther Iban is successfully created or not.
Or what is the table storing IBAN for a successfully created/populating vendor.Hi Bohuslav,
I check wid everything , the value of IBAN is not coming in VMDS_EI_MAIN-VENDORS (imporing parameter ). Its blank whether value IBAN created or not.Apart from IBAN all other bank details like bank country & bank key are fetched.
Also i think its fetching value from vendor table i.e LFA1. Since this table doesnt have IBAN field so its not showing.Kindly suggest any table from where i could get successfully populated IBAN value for a generated vendor. IS ther ne valid link between TIBAN(general table for IBAN)
and LfA1.
Below is code snippet for Get_data method i used.
* Call the Method for creation of Vendor.
CALL
METHOD
vmd_ei_api=>maintain_bapi
EXPORTING
is_master_data = gs_vmds_extern
IMPORTING
es_master_data_correct = gs_vmds_succ
es_message_correct = gs_succ_messages
es_master_data_defective = gs_vmds_error
es_message_defective = gs_err_messages.
IF
gs_err_messages-is_error IS
INITIAL
COMMIT
WORK
CLEAR
: gs_vmds_extern ,ls_vendors,lt_vendors[].
ls_vendors-header
-object_instance-lifnr = gv_lifnr.
ls_vendors-header
-object_task = 'M'
APPEND
ls_vendors TO
lt_vendors.
gs_vmds_extern-vendors = lt_vendors[].
DATA
: vmds_ei_main TYPE
vmds_ei_main,
cvis_message TYPE
cvis_message,
ls_lifnr TYPE
lfa1,
ls_bank TYPE
cvis_ei_bankdetail,
lv_iban TYPE
iban.
* *** Bank details***************************************
DATA
: lt_bankdetails TYPE
TABLE
OF
cvis_ei_cvi_bankdetail,
ls_bankdetails TYPE
cvis_ei_cvi_bankdetail.
CALL
METHOD
vmd_ei_api_extract=>get_data
EXPORTING
is_master_data = gs_vmds_extern
IMPORTING
es_master_data = vmds_ei_main
es_error = cvis_message.
CLEAR
ls_vendors. REFRESH
lt_vendors.
lt_vendors = vmds_ei_main-vendors.
READ
TABLE
lt_vendors INTO
ls_vendors INDEX
1
IF
sy-subrc = 0
ls_lifnr-lifnr = ls_vendors-header
-object_instance-lifnr. "Fetch vendor number.
lt_bankdetails = ls_vendors-central_data-bankdetail-bankdetails.
READ
TABLE
lt_bankdetails INTO
ls_bankdetails INDEX
1
IF
sy-subrc = 0
lv_iban = ls_bankdetails-data
-iban.
ENDIF
ENDIF -
EHSM - Create Vendor - error: 'Could not find a document for the given key'
Dear all,
In the Chemical Approval Process I have attached a SDS document to the Approval Request. You can assign a Vendor to the SDS. As there are no (EHSM) Vendors currently available in the system I would like to create a new (EHSM) Vendor by clicking on 'Create Vendor'.
This will lead me to the following Webdynpro Application: Edit Vendor (EHFND_UI_VENDOR_OVP).
Only one field is shown in the Webdynpro named: 'Name of the Vendor'. After typing a name e.g. 'test', the following error message appears; 'Could not find a document for the given key'. See also attached document. This issue looks like a missing number range, however I could not find a EHSM number range for Vendors.
How to solve this issue?
More information:
Software Component: SAP EHS Management (EHSM) Support Package: 3
Process: Chemical Approval
Webdynpro application: EHFND_UI_VENDOR_OVP
Thank you.
Kind regards,
RoyHi
babooraj
This might be a problem with Windows Power Shell.
The solution is to copy the folder: "PSWorkflow" from "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\"
to "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules"
Than everything works fine.
Ps.: @Microsoft, please fix this problem in future versions.
Thomas van Veen -
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 -
Looking for a good BAPI to create vendors...
Hello SAP SDN members-
I've been trying to find a standard SAP delivered BAPI that can be used to create vendor master records in ECC 6.0. Up to this point I have not been able to do so. With SAP MDM solutions and SRM solutions it seems logical that SAP would deliver a standard BAPI that can be used to create vendor master records in the ERP/R3 environment (similar to the BAPI_MATERIAL_SAVEREPLICA for creating material master data records).
I have been able to find BAPI_VENDOR_CREATE but this only calls the online transaction and does not offer much additional functionality beyond transaction code XK02.
The next best alternative appears to be IDOC_INPUT_CREDITOR but our preference would be to not use IDOCs for the project we are working on.
Finally, I found BAPI_CREDITOR_GET_PW_REG which might work but I'm still analyzing the specs on this BAPI to see if it will work.
In the mean time can anyone offer advice based on personal experience?
Thanks.
Rich Wortmann
<removed_by_moderator>
Edited by: Richard Wortmann on Apr 27, 2009 3:54 PM
Edited by: Stephen Johannes on May 14, 2009 2:28 PMHello Rich,
Further research reveals that the only BAPIs available for vendor master
create / change are those found via trans SE37 using the following
search terms: BAPI_VENDOR* or BAPI_CREDITOR*. If the BAPIs do not
provide the required functionality, you may wish to use the batch input
program RFBIKR00 which allows vendor master create / change. Please
review the documentation for program RFBIKR00 via trans SE38; click on
Documentation -> Display.
Hope the above information arr helpful to you!
Best Regards,
Gladys xing -
Hi Guys,
i was just creating a vendor for my own use. while creating vendor using transaction xk01 the account group field is creating problems. Can you please give me an example of step by step creation of a vendor using xk01Hi,
The account group specifies that whether a Vendor number has to be assigned by us or you wants the system to generate an internal number depending on the different Company Codes and Pur.Orgns'.
Do you wants to creat some vendors using BDC.
Here is the sample code of BDC for vednor creation:
REPORT zmm_vendor_master_upload
NO STANDARD PAGE HEADING
LINE-SIZE 255.
ABAP Name : ZMM_VENDOR_MASTER_UPLOAD
Description : This Program is used to Upload the Vendor Master.
Modification Log:
Date Programmer Correction Description
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_vendor OCCURS 0,
bukrs(004), " Company Code
ekorg(004), " Purchase Orgn
ktokk(004), " Account Group
Address Screen
anred(015), " Title
name1(035), " Name1
sortl(010), " Sort Field
name2(035), " Name2
name3(035), " Contact Person1
name4(035), " Contact Person 2
stras(035), " Street
pfach(010), " PO Box
ort01(035), " City
pstlz(010), " Postal Code
land1(003), " Country
spras(002), " Language
telf1(016), " Telephone No
telfx(031), " Fax Number
lfurl(132), " URL-Mail Id
Material Group Characteristics
klart(003), " Class Type '010'
class(018), " Class 'Vendor'
mname_01(030), " Characteristic
mname_02(030), " Characteristic
mname_03(030), " Characteristic
mwert_01(030), " Charct.Value
mwert_02(030), " Charct.Value
mwert_03(030), " Charct.Value
Control Data
emnfr(010), " Manufact.Part No
Bank Details
banks_01(003), " Country of Bank1
banks_02(003), " Country of Bank2
bankl_01(015), " Bank Key of 1
bankl_02(015), " Bank Key of 2
bankn_01(018), " Account No Bank1
bankn_02(018), " Account No Bank2
Accounting Info
akont(010), " Reconcillation Account
zuawa(003), " Sort Key
fdgrv(010), " Cash Management Group
Payment Transactions
zterm(004), " Payment terms
reprf(001), " Check Double Inv.
zwels(010), " Payment Method
hbkid(005), " House Bank
xpore(001), " Individ.Payment
Correspondence
mahns(001), " Dunning Level
xausz(001), " Account Statement
Withholding Tax Details
qland(003), " Withholding Tax Country
witht_01(002), " WH tax Type
wt_withcd(002), " WH Tax Code
wt_subjct(001), " Indicator:WH Tax
Purchasing Data
waers(005), " Currency
zterm1(004), " Payment Terms
END OF i_vendor.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
Paramters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_vendor
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
LOOP AT i_vendor.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-BUKRS'
i_vendor-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
i_vendor-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
i_vendor-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=KLAS'.
PERFORM bdc_field USING 'LFA1-ANRED'
i_vendor-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
i_vendor-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
i_vendor-sortl.
PERFORM bdc_field USING 'LFA1-NAME2'
i_vendor-name2.
PERFORM bdc_field USING 'LFA1-NAME3'
i_vendor-name3.
PERFORM bdc_field USING 'LFA1-NAME4'
i_vendor-name4.
PERFORM bdc_field USING 'LFA1-STRAS'
i_vendor-stras.
PERFORM bdc_field USING 'LFA1-PFACH'
i_vendor-pfach.
PERFORM bdc_field USING 'LFA1-ORT01'
i_vendor-ort01.
PERFORM bdc_field USING 'LFA1-PSTLZ'
i_vendor-pstlz.
PERFORM bdc_field USING 'LFA1-LAND1'
i_vendor-land1.
PERFORM bdc_field USING 'LFA1-SPRAS'
i_vendor-spras.
PERFORM bdc_field USING 'LFA1-TELF1'
i_vendor-telf1.
PERFORM bdc_field USING 'LFA1-TELFX'
i_vendor-telfx.
PERFORM bdc_field USING 'LFA1-LFURL'
i_vendor-lfurl.
PERFORM bdc_dynpro USING 'SAPLCLCA' '0602'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-KLART'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'RMCLF-KLART'
'010'. "i_vendor-klart.
PERFORM bdc_dynpro USING 'SAPLCLFM' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-CLASS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=AUSW'.
PERFORM bdc_field USING 'RMCLF-CLASS(01)'
'Vendor'."i_vendor-class.
PERFORM bdc_dynpro USING 'SAPLCTMS' '0109'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RCTMS-MWERT(03)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BACK'.
PERFORM bdc_field USING 'RCTMS-MNAME(01)'
'MATERIALGROUP'." i_vendor-mname_01.
PERFORM bdc_field USING 'RCTMS-MNAME(02)'
'MATERIALGROUP'." i_vendor-mname_02.
PERFORM bdc_field USING 'RCTMS-MNAME(03)'
'MATERIALGROUP'." i_vendor-mname_03.
PERFORM bdc_field USING 'RCTMS-MWERT(01)'
i_vendor-mwert_01.
PERFORM bdc_field USING 'RCTMS-MWERT(02)'
i_vendor-mwert_02.
PERFORM bdc_field USING 'RCTMS-MWERT(03)'
i_vendor-mwert_03.
PERFORM bdc_dynpro USING 'SAPLCLFM' '0500'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMCLF-CLASS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENDE'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-ANRED'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-EMNFR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFA1-EMNFR'
i_vendor-emnfr.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFBK-BANKS(01)'
i_vendor-banks_01.
PERFORM bdc_field USING 'LFBK-BANKS(02)'
i_vendor-banks_02.
PERFORM bdc_field USING 'LFBK-BANKL(01)'
i_vendor-bankl_01.
PERFORM bdc_field USING 'LFBK-BANKL(02)'
i_vendor-bankl_02.
PERFORM bdc_field USING 'LFBK-BANKN(01)'
i_vendor-bankn_01.
PERFORM bdc_field USING 'LFBK-BANKN(02)'
i_vendor-bankn_02.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB1-AKONT'
i_vendor-akont.
PERFORM bdc_field USING 'LFB1-ZUAWA'
i_vendor-zuawa.
PERFORM bdc_field USING 'LFB1-FDGRV'
i_vendor-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-XPORE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB1-ZTERM'
i_vendor-zterm.
PERFORM bdc_field USING 'LFB1-REPRF'
c_x. "i_vendor-reprf.
PERFORM bdc_field USING 'LFB1-ZWELS'
i_vendor-zwels.
PERFORM bdc_field USING 'LFB1-HBKID'
i_vendor-hbkid.
PERFORM bdc_field USING 'LFB1-XPORE'
c_x. "i_vendor-xpore.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFB5-MAHNS'
i_vendor-mahns.
PERFORM bdc_field USING 'LFB1-XAUSZ'
i_vendor-xausz.
PERFORM bdc_dynpro USING 'SAPMF02K' '0610'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBW-WT_SUBJCT(01)'.
PERFORM bdc_field USING 'LFB1-QLAND'
i_vendor-qland.
PERFORM bdc_field USING 'LFBW-WITHT(01)'
i_vendor-witht_01.
PERFORM bdc_field USING 'LFBW-WT_WITHCD(01)'
i_vendor-wt_withcd.
PERFORM bdc_field USING 'LFBW-WT_SUBJCT(01)'
c_x.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_field USING 'LFM1-WAERS'
i_vendor-waers.
PERFORM bdc_field USING 'LFM1-ZTERM'
i_vendor-zterm1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=VW'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
Call the Transaction
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
Close the BDc Session
PERFORM close_group.
Regards,
Anji -
How to create Vendors for local scenario
Hi,
Please let me know how to create vendors for locla scenarion in EBP.
Thanks,
ManuHi,
Goto the path as mentioned by Muthu and create the business partner of type vendor.Make sure that you have the administrator role(SAP_BBP_STAL_ADMINISTRATOR).
Also see these related threadS:
Vendors in Standalone scenario
Standalone scenario - create vendors
BR,
Disha. -
Creating vendor challan(withholding tax)
Hi sap Guru,
When i am creating vendor challan this is error came .NUMBER KEY NOT FOUND ,How to solve this issues ,kindly give me a solution ,
Thanks in Advance
GirishHi,
Please check the following settings.
Financial Accounting (New) > Financial Accounting Basic Settings (New) > withholding Tax > Extended Withholding Tax > Posting > India > Remittance Challans
Also check,
logistic- gerneral > tax on goods movement > India > Tools > Number Range
Regards,
Jigar -
WHAT IS RECONCILATION ACCOUNT WHIILE CREATING VENDOR MASTERDATA ?
Looks like your caps key is stuck.... please type in proper case ... it is a strain on the eyes to read al CAPS ..
WHAT IS RECONCILATION ACCOUNT WHIILE CREATING VENDOR MASTERDATA ?
WHY WE MAINTAIEN IT?
Edited by: Arun Varadarajan on Mar 10, 2009 9:14 AMHi Rama Krishna,
under reconciliation account there are several sub ledgers (subledgers:vendors) once u post in subledgers automatically update reconciliation account. we can't post directly in reconciliation account.
for eg: we have 100 vendors with having one reconciliation account we call sed all the vendor balances by using reconciliation account
hope it clears
Thanks & Regards
phaneendra -
Error creating vendor w/ JCo FM VENDOR_INSERT- Missing parameter w/ PERFORM
Dear all,
I have followed the following thread and found it very useful as we need to create vendors from an external system in R/3 using the JCo as well. We are doing all the steps specified in previous posts and calling FM VENDOR_INSERT but when I execute the function it returns an exception:
JCoException: (104) RFC_ERROR_SYSTEM_FAILURE: Missing parameter with PERFORM.
We have checked and all the needed BAPIs are enabled but we are stuck at this first step. I have tried a variety of things but nothing seems to work. Not sure how I can specify the PERFORM parameter using JCo. Did anyone else fase this issue?
Here is what some of the relevant Java code looks like:
JCoFunctionTemplate tmplt1 = repository.getFunctionTemplate("VENDOR_INSERT");
JCoFunction vfunc = tmplt1.getFunction();
JCoParameterList vparams = vfunc.getImportParameterList();
JCoStructure jcs= vparams.getStructure("I_LFA1");
try
LocalSupplier s = getSupplier1();
jcs.setValue("MANDT", "010");
jcs.setValue("NAME1", s.getSupName());
jcs.setValue("NAME2", s.getSupName2());
jcs.setValue("PSTLZ", s.getSupPostalCode());
jcs.setValue("ORT01", s.getSupCity());
jcs.setValue("LAND1", s.getIdCountry().getIsocode());
jcs.setValue("STRAS", s.getAddress1() +", " + s.getAddress2());
jcs.setValue("MCOD1", "test");
jcs.setValue("KTOKK", "ZKRE");
jcs.setValue("SPRAS", s.getIdmasterSupplier().getIdlanguage().getLocale());
jcs.setValue("STCD1", s.getIdmasterSupplier().getTaxId());
jcs.setValue("TELF1", s.getTelephone());
jcs.setValue("TELFX", s.getFax());
execute(vfunc, destination);
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
return;
* Method execute will call a function. The Caller of this function has
* already set all required parameters of the function
public static void execute(JCoFunction function, JCoDestination dest) {
try {
JCoContext.begin(dest);
function.execute(dest);
JCoContext.end(dest);
} catch (JCoException e) {
e.printStackTrace();
Any help from some of view that have succesfully implemented vendor creation using the JCo would be highly appreciated.Hi,
as I just wrote in the previous thread,
don't use function module VENDOR_INSERT.
As written before it is an update task FM. And also it do not check any field validity.
This is the best way to face inconsistencies in the future.
As you have also noticed, troubles and difficulties will come very soon related to the address management.
In standard there is NO FM or BAPI to do so.
The only supported option is via batch-input or idocs. Eventually, LSMW could help
See [note 384462|https://service.sap.com/sap/support/notes/384462]
With ECC 2005, a synchronisation class can help a lot. See class VMD_EI_API.
With ECC 2005 ehp3, you have an eSOA service to create vendor asynchronously. Not all fields are supported.
In other words, just create a BAPI to transfert your own parameters then either make a batchinput which will call XK01/XK02 in batch, either trigger class VMD_EI_API
BR
Alain
Maybe you are looking for
-
HOW DO I RECORD A DVD FROM A VCR? I BOUGHT A APPLE MINI-DVI TO VIDEO ADAPTER AND A S CABLE ADAPTER, IT ALL HOOKS UP, BUT IT DOESN'T SHOW UP AS BEING THERE. HELP! ANYBODY! I WOULD LIKE TO DUB MY CHILDS MOVIES OF WHEN SHE WAS YOUNG BEFORE THEY ROT AWAY
-
I just installed Lion on my mac and now Safari will not open. Keep getting this message: Safari quit unexpectedly, it gives me an optionto reopen or just click ok. I click reopen and it gives me the same message, with a long report of information.
-
Can I use the internal drives from my PPC on a mac pro for storage?
Hi guys, I have a PPC dual G5 2.0 with 2 internal HD serial ATA (both). Im getting a mac pro today (mac pro 2.66 dual intel xenon) and I was wondering if I can use my drives in the new mac to have more space. Im not trying to have both osx 10.4 and 1
-
Picture of contact on side of text messaging view.
-
Birthdays added to Address Book contacts are not showing in ical
I have added my contacts birthdays in Address Book but it hasnt populated over to iCal