Bapi to search customers
Hi,
I'm looking for a BAPI to search for customers by name. I have tried BAPI_CUSTOMER_FIND but can't get it to work.
Best Regards
Mattias
Mattias i've test the BAPI and works find, let me tell you how i filled the tables:
In the Import Parameters:
MAX_CNT = <b>100</b>
PL_HOLD = <b>X</b>
In the Tables
SELOPT_TAB-COMP = <b>THE KNA1-BURKS</b>
SELOPT_TAB-TABNAME = <b>KNA1</b>
FIELDNAME = <b>NAME1</b>
FIELDVALUE = <b>A</b> (with the '* char').
The result was the table "RESULT_TAB" with all the customer that had an "A" in the Name, also, you can use the char '+' to search another value, just like you use it in a web search.
=)
Regards
Carlos
Similar Messages
-
Search customers by account group
Hi experts,
I want to search customers by account group.
Please explain the steps to achieve this.
ThanksDear Jamal
Go to XD03, place your mouse next to Customer and press F4. You will have some options to choose based on which, the customer list will be displayed.
In the said screen, on top right side, you can see two arrows one pointing towards left side and another one pointing towards right side. There is one more button next to arrow pointing right side. Select that in which there is an option [Account group] Place your mouse on that so that you can see customer list based on Account group.
Alternatively, go to SE16, input table [KNA1] and input Account group and execute. You will get the desired result.
thanks
G. Lakshmipathi -
dear all
Iam search for a BAPI to be used in search for particular customer using one of its attribute wich is stored in kna1 table
and also search in its details stored in ADRC taple if possible.
and also BAPI for search for equipment using one of its attribute like serial number or sold to party .
thank youHi lamey,
the function module BAPI_HELPVALUES_GET has exceptionally good documentation.
Please read it an makle use of the IMPORTING and TABLES parameters to get what you want:
*" IMPORTING
*" VALUE(OBJTYPE) LIKE BAPIF4A-OBJTYPE DEFAULT SPACE
*" VALUE(OBJNAME) LIKE BAPIF4A-OBJNAME DEFAULT SPACE
*" VALUE(METHOD) LIKE BAPIF4A-METHOD
*" VALUE(PARAMETER) LIKE BAPIF4A-PARAM
*" VALUE(FIELD) LIKE BAPIF4A-FIELD OPTIONAL
*" VALUE(EXPLICIT_SHLP) LIKE BAPISHLP STRUCTURE BAPISHLP OPTIONAL
*" VALUE(MAX_OF_ROWS) LIKE BAPIF4A-MAX_ROWS DEFAULT 0
*" VALUE(DESCRIPTIONONLY) LIKE BAPIF4A-DESCRIP DEFAULT SPACE
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRETURN STRUCTURE BAPIRETURN
*" TABLES
*" SELECTION_FOR_HELPVALUES STRUCTURE BAPIF4B OPTIONAL
*" HELPVALUES STRUCTURE BAPIF4C
*" VALUES_FOR_FIELD STRUCTURE BAPIF4D
*" DESCRIPTION_FOR_HELPVALUES STRUCTURE BAPIF4E
EXPLICIT_SHLP can be used to specify the search help
SELECTION_FOR_HELPVALUES can be used to specify complex selection criteria.
Read the genreal documentaion and the parameter documentation, it has many hints for you.
Let us know if successful, Thank you.
Regards,
Clemens -
BAPI for searching a customer?
Hi all,
I have to search for customers in the KNA1 table, e.g. using name, customer number... (all optional, multiple search parameters count as "AND" search), incl. wildcards (--> potentially multiple customers as result).
As the search is initiated from a Java-based web application, I need a BAPI or at least an RFC FM.
Unfortunately, I found no fitting one so far. The next best is BAPI_CUSTOMER_FIND, but it seems to work on individiual fields only, and it only supports OR searches, no AND searches.
Is there a function module already in the system, or do I have to write it myself?
Thanks in advance!
Kind regards,
DennisI realized that BAPI_CUSTOMER_FIND returns the customer number as well, so I can use it in general.
But there is still some problems remaining, such as the missing AND operator and the need to afterwards get some details about each customer via JCo calls...
I guess it's best when I develop a custom range selection BAPI.
Kind regards,
Dennis -
BAPI to search for customer in CRM based on search terms
Hi,
Could anyone please tell me if there is a function module in CRM to search for BP's based on search terms. ( Just as we could enter '*' in search terms in transaction BP and get a list of customers ).
Thanks in advance,
SahilHi Sahil,
You can make use of BAPI_BUPA_SEARCH.
In the import parameter CENTRALDATA you can pass the
search terms.
Ranjit -
Hi Experts!!
How to create Search help using BAPI ?
My scenario is: In webdynpro same bapi can be called to find possible f4 value.
How to do that ? Any Idea pls share ...
Thanks In Advance.This is how u can create "Search Help" for the fields of the ztables that u have created.
SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
Click on the "Search Help tab" just above the "Data Type " column.
Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
U can repeat the process for whatever fields u want to assign a Search Help.
se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
Ok....>Save.........> Activate
http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
Regards. -
BAPI : TO SEARCH BAPI MAPS TO THE GIVEN SCREENS
Hai friend
yes... its CIF he also said the same .... He asked me to look the BAPI for CIF SEARCHA and CIF CREATION....
please give ur mail id i will forward the scanned screen shots given by them... please help... Iam very New to BAPI.. so iam worrying a lot.....Please reply me immediateeee.......
The screen shots naes are-----
1)CIF search Cust by Name I/C
2)CIF SEARCH CUST BY NAME I/C
3)CIF ADD NEW CUSTOMER
4)SA OPEN NEW A/C
5) CUSTOMER RELATIONS IPS & MESSAGE ID
6)SA OPEN NEW A/C
7)SA OPEN NEW A/C
8)SA INITIALISE PASSBOOK
9)SA DEPOSIT
10)GIA PLACEMENT
11)PRINT DULICATE GIA
12)SA CLOSE ACCOUNT
13)ISSUE FOREIGN FUND TRF
14)ISSUE SWIFT FUND TRF
15)COLLECTION INTER BANK GIRO
ThankYouFor Salea Area
BAPI_BUPA_FRG0140_ADD
BAPI_BUPA_FRG0140_CHANGE
For Sales
BAPI_BUPA_FRG0010_ADD
BAPI_BUPA_FRG0010_CHANGE
For shipping
BAPI_BUPA_FRG0020_ADD
BAPI_BUPA_FRG0020_CHANG
for billing
BAPI_BUPA_FRG0030_ADD
BAPI_BUPA_FRG0030_CHANGE
Thanks,
Rahul -
BAPI for searching Goods Movements related to Orders
Hi,
I would like to search all Goods Movement related to a certain Order into MM module.
Does anyone know any RFC or BAPI interface that performs this work?
Thank you very much in advance.
MauroHi!
Try BAPI_GOODSMVT_GETDETAIL & BAPI_GOODSMVT_GETITEMS.
This should help.
Gisk -
BAPI to get customers filtered by sales org and distribution channel
Hi there,
I'm writing a little portal web-app on an MS platform to allow externals to place orders directly. I have a problem that I need to get a list of customers (for ship-to) that is filtered by the same sales org and dist chan as my sold-to company and BAPI_CUSTOMER_GETLIST doesn't return this info for filtering. What options do I have?
Many thanks,
AshleyHello,
Create custom RFC function module.
Use table KNVV to get your customer list based on sales org. & distribution channel.
Regards,
Sameer -
Search Customers using Contact Phone in R12
Hi,
We are using Ebusiness Suite 12.0.4 and for specific business reason the end customer(person) are defined as ship to contact of one generic Customer account(Organization). This has lead to data where there is one customer account having 100's of shipto sites, and each site has one or more contact person defined. Now the problem we are facing is searching for a specific customer contact.
With the change in the UI in R12, we have search fields for contact name and contact phone number in the search screen, but when we search for a given contact name or a phone number, it returns Customer Account, and on clicking details of that account, we get all the sites(not the one corresponding to the contact or phone from the search criteria). So the user has to go through all the sites to get to specific contact.
We need the ability to go to a specific contact point directly after the search. Has anyone faced this issue before? Any insight on how to achieve this functionality would be helpful.
Thanks,
NitinHi
We have faced this issue as well. The contacts arent linked to the sites directly but I see it linked to the cust account.
I am not sure if thats the way its supposed to be or we arent interpretting them correctly.
FM -
Search for BAPI to access it throw Java pro gramme
dear all
Iam search for a BAPI to be used in search for particular customer using one of its attribute wich is stored in kna1 table
and also search in its details stored in ADRC taple if possible.
and also BAPI for search for equipment using one of its attribute like serial number or sold to party .
which i can access it in my portal .
thank youHi Ahmed,
Have a look at the below link, some example bapi names are mentioned here -
http://www.sapfans.com/forums/viewtopic.php?p=648307
Also, there are no. of bapi's uses kna1 or adrc table so, you better search on specific requirement on sdn.com.
Regards,
Sen -
Has anybody done the packaging of BAPI and sent it to customers?
Hello SAP gurus
We have a product that is integrated to SAP via custom BAPIs.
So when we sell our product, for the product to work it will look for these custom BAPIs.
So I would like to know if there is a way that we can bundle the custom BAPIs and send them on a CD along with our product, which the customer can upload to his system?
One option is to send our consultants to help them in recreating these custom BAPIs on their SAP system. But we want to avoid this by giving an option of just uploading the custom BAPIs.
Your suggestions or feedback will be highly appreciated.
Thanks
RamThanks ABAPer
Yes, it was my mistake of not clearly mentioning it as a custom BAPI in the header :). Sorry for that.
Regarding the functionality, we have some minor modifications to the standard BAPIs that create Quote, Order. Also, we had to include the TRANSACTION_COMMIT bapi in our custom bapi (ZBAPI). So that is the reason we need to package custom bapis since our customers can't use just the standard BAPIs that are sent along with SAP.
Hope I have answered the question. Any suggestions or feedback will be highly appreciated.
Thanks
Ram
PS: What I am surprised is that none of the people whom I have spoken to has done this before. Even SAP tech support hasn't responded with a reasonable answer. -
Problem with searching for 'empty' emails with BAPI_BUPA_SEARCH
Dear ABAP'ers.
I have got a small problem with BAPI_BUPA_SEARCH.
I Use this BAPI to search for Business Partners with the Email condition.
I put rhe Email to lv_email variable, it works ok.
lv_email = ' '
CALL FUNCTION 'BAPI_BUPA_SEARCH'
EXPORTING
email = lv_email
TABLES
searchresult = lt_searchresult <= returns no BuPas
return = ls_bapiret2 .
But I need to have a possibility to search for such Business Partners who have got no email address. Unfortunatellu when I pass an empty lv_email to BAPI, it returns no Business Partners whilst such BuPas exist in database.
Is there some possibility to search for those BuPas who have got no email address assigned?
I will be thankful for help.
Regards,
P.Can you query ADR6 table where SMTP_ADDR = space.
and pick the PERSNUMBER or ADDRNUMBER and pick the Patners related to that .. -
BAPI to change INFO record and Scheduling Agreement (ME32)
Can anybody tell me what is the bapi function module used to change the info record and a bapi function module used to change the scheduling agreemnent (ME32)
check in Tcode BAPI
or Search in SE37
BAPISChe
Regards
Peram -
Problem in vendor invoice creation through BAPI
I am trying to create vendor invoice using bapi_acc_document_post but what value have be passed to obj_key and obj_typ fields of header is not clear to me.
regards,
anuHi,
Don't pass any values to OBJ_TYPE,OBJ_KEY. Many threads are available in SDN regarding this BAPI.
Search SDN to get more details.
Regards
Vinod
Maybe you are looking for
-
J2iun Execution and Error in FI posting (Message no. 8I280)
Hi , At our end J2iun were never posted in SAP and all excise return are being handled manually. Now we are trying to execute J2iun for each month of the last year ( April '08 to march '09) and trying to update our system till march'09 so that from t
-
Exception thrown by servlet Faces Servlet in WAS ND 6.1.0.13
Hi,<br> I'm using WebSphere Application Server Network Deployment (WAS ND) v. 6.1.0.13.<br><br> I'm getting this error when I try to launch my application:<br><br> [1/24/08 11:41:44:100 WET] 0000003c ServletWrappe E SRVE0100E: Did not realize init()
-
Hi Experts, We have setup SSO in our production with OBIEE 11.1.1.6.2 BP1 version and Active directory. All seems to work fine on all browsers. But on MAC OS 10.6.8 when we use Safari 5.1.7 it doesn't work. But when we use the application on MAC OS v
-
Does anyone out there know how to unlock an iPod touch that says you have to connect to iTunes but I want to reset it you know so all of your data is gone but I just want to get out of unlock
-
How to set automatic e-mail alert for 90% threshold reach for MAXDBdatabase
Hi, I want to set automate e-mail alert for 90% threshold reach for MAXDB database i.e. data area. I want to know where i can set the automate e-mail alert for data area in MAXDB database? As i have already have script for oracle tablespace alert if