FM or BAPI to get BP based on country region bus group role
Hi Gurus,
Do any one know a FM or bapi that I can use to find business partners based on:
Country
Region
Business Group (Marketing Attribute)
Role (BUP002-Prospect)
BP Type (2-Corporate Account)
Sales Rep ID
i think i need to use multple Fm to get the BP for the above different creitria ,
Please let me know the in getting BP's based on above values.
Thanks
Seema
Hi Seema,
I know this is a 3 year old thread but could you please share the solution you might have for the requirement you posted? Even I want an FM or BAPI to get all BPs of a sales area.
Thanks,
Praphul
Similar Messages
-
Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?
Hi Experts,
A requirement has come up where I want to get Customer closing balance based on its sales organization as this particular customer is extented to 2 different sales organizations. I want to get the closing balance of individual sales organization vise.
Please tell me a BAPI to get Closing balance of customer account based on Sales Organization?AFAIK there is no such BAPI, cause there is no database table with balance for customer per sales organisation. (No KNCx table for VKORG)
First ask functionals (*) how to recover sales organisation from a FI document (I suppose for SD invoice it is easy if no merging between organisation) will be a little tricker for pure FI document like payment transactions (hope thet are quickly cleared...) Then start from non cleared records of BSID (also BSAD if you use a past date of reference, in case you have to add the records of BSAD with clearing date greater than reference date) and cross it with SD information to break FI into sales organisation.
Regards,
Raymond
(*) Ask for where do they store VKORG in FI documents -
BAPI to get Invoice Details based on PO Number
HI,
Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
Regards,
RameshHi Ramesh ,
there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
pass Vendor list , Document Dates.
<b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
Regards
Prabhu -
FM or BAPI to get Policy Details based on BP
Hi All,
Do any one know a Function Module or Bapi that I can use to find out the Policy Details Like
Policy number,
Brand,
Status,
Coverage,
Inception date.
Based on Business Partner.
Thanks in advance
Divya.Hi Ramesh ,
there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
pass Vendor list , Document Dates.
<b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
Regards
Prabhu -
Need FM/BAPI to get how many line items per given FI document...
Hello Experts,
IS there an available FM or BAPI to get how many line items there is for a given
FI document? We are avoinding BSEG because of the performance.
Hope you can help me guys. Thank you and take care!Hi,
Not sure if there is a specific FMs or BAPIs whose specific purpose is to just count FI document lines. But you can use a number of FMs to read an FI document.
i.e. FI_DOCUMENT_READ - pass the document keys (BUKRS, BELNR, GJAHR) and retrieve the T_BSEG table to get the document lines. Then you can just use DESCRIBE statement to get the number of lines in T_BSEG.
Also, based on experience, I never had any problems with BSEG as long as I am providing the complete keys for an FI document (BUKRS, BELNR, GJAHR). But if you are trying to avoid BSEG, you can use the secondary index tables like BSIS , BSAS, BSAD, BSID, BSIK, BSAK to improve performance.
Regards,
Oscean Tortona -
BAPI to get all user lists for specific inputs
Hi Experts,
Is there any BAPI to get all input related user lists when I give input specific object, authorizations, profiles and values?
Thanks,
RohanHi
use the fun module/Bapi's
BAPI_USER_GET_DETAIL
BAPI_USER_LOCPROFILES_ASSIGN
BAPI_USER_LOCPROFILES_DELETE
BAPI_USER_LOCPROFILES_READ
BAPI_USER_PROFILES_ASSIGN
BAPI_USER_PROFILES_DELETE
SUSR_BAPI_USER_PROFILES_ASSIGN
SUSR_BAPI_USER_PROFILES_DELETE
also you can use the tables UST12 for user based authorizations
AGR_USERS -roles assignment for users
AGR_PROF - Profile data for roles
AGR_DEFINE - Auth Profiles for users
See the AGR_* and US* tables further
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
BAPI to get all user lists for input object,authorizations, and profiles
Hi Experts,
BAPI to get all user lists for input specific object, authorizations, profiles and values?
Any useful answer will be rewarded with suitable points.
Thanks,
RohanHi
use the fun module/Bapi's
BAPI_USER_GET_DETAIL
BAPI_USER_LOCPROFILES_ASSIGN
BAPI_USER_LOCPROFILES_DELETE
BAPI_USER_LOCPROFILES_READ
BAPI_USER_PROFILES_ASSIGN
BAPI_USER_PROFILES_DELETE
SUSR_BAPI_USER_PROFILES_ASSIGN
SUSR_BAPI_USER_PROFILES_DELETE
also you can use the tables UST12 for user based authorizations
AGR_USERS -roles assignment for users
AGR_PROF - Profile data for roles
AGR_DEFINE - Auth Profiles for users
See the AGR_* and US* tables further
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
FM / BAPI for get component overview
Hi all
Let me know FM / BAPI for get component overview based on production order?Could you please tell us which was the FM? It should be useful for other people -;)
Greetings,
Blag. -
Is there any FM or BAPI to get list of all sales orders
Hello all,
I have the requirement like below.
Is there any FM if i Pass Drawing document no, type,part,revision level which gives
the output list as.
1) all sales orders, where the above drawing document no is attached to the materials
and these materials are used as one of the lower level components in the Sales order BOM,
I need to show all those sales orders along with SO number,item,Material,Plant and BOM Item no,
2)all sales orders, where the above drawing document no is attached to the materials
and the same material is one of the item in sales order.
3)all sales orders, where the above drawing document no is used as one of the component in Sales order BOm's
Addition of 1,2,3 will be the o/p.
are there any FM or BAPI to get the above list.
Basically the above report is concatenation of report outputs of t-code CSD5 and CS15.
Awaiting reply.
Thanks.Hi venkatesh,
You can use the BAPI
BAPISDORDER_GETDETAILEDLIST
to get list of all sales orders.
Here is a lik which provides you BAPI'S regarding everything.
[http://www.saptechies.com/sap-bapi-list/]
Hope this will help you.
Regards,
Pavan. -
A Function or BAPI to get Material Standard Price?
Hi All,
I need a Function or BAPI to get the Material Standard Price when the following Criteria is given;
1. Material Code
2. Plant
3. Period
4. Year
5. Company Currency (Optional)
I need only the Standard Price and Price Unit. Please give me a example with sample values.
Thanks,
KishanSri:
I need only the Standard Price and Price Unit
there is no specific FM for that.
you need to write small select query in FM than use this custom FM into your program.
Amit. -
Hi i want to create BAPI to get approver of the employee
hi i want to create BAPI to get approver of the employee
in this BAPI if there are two approver for that employee than i need both approver personal no.
please help me
thanks in advanced.Hi
I doubt whether there is a direct Standard BAPI for that.
The below report will get you the employees approver org position. Even if there are two approvers are there, it will display both the approvers position.
*& Report ZGD_TEST_HR_ORG_STR
REPORT ZGD_TEST_HR_ORG_STR.
DATA: plvar LIKE hrsobid-plvar.
DATA: otype LIKE hrsobid-otype.
DATA: sobid LIKE hrsobid-sobid.
DATA: date LIKE sy-datum.
DATA: leading_position LIKE hrobject OCCURS 1 WITH HEADER LINE.
DATA: org_agent LIKE swhactor.
DATA: lv_sw_vapos TYPE xflag,
lv_subrc TYPE sy-subrc.
DATA spfli_wa TYPE spfli.
DATA carrid_buffer TYPE spfli-carrid.
IF plvar IS INITIAL.
CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR'
IMPORTING
act_plvar = plvar
EXCEPTIONS
no_active_plvar = 1.
IF sy-subrc > 0.
MESSAGE e300(5w) RAISING no_active_plvar.
ENDIF.
ENDIF.
IF otype IS INITIAL OR sobid IS INITIAL.
otype = 'US'.
sobid = sy-uname.
ENDIF.
CALL FUNCTION 'RH_GET_LEADING_POSITION'
EXPORTING
plvar = plvar
otype = otype
sobid = sobid
date = sy-datum
auth = ' '
consider_vac_pos = space
TABLES
leading_pos = leading_position
EXCEPTIONS
no_lead_pos_found = 1
OTHERS = 2.
IF sy-subrc > 0.
MESSAGE e802(5w) WITH otype sobid
RAISING no_lead_pos_found.
ELSE.
LOOP AT leading_position.
write : / leading_position-otype,
leading_position-objid.
ENDLOOP.
endif.
Hope it helps you -
Can't get version based downloads to work
I am new to JNLP and trying to get version based downloads to work. I have read everything I can find, but I still seem to be missing something. My setup:
Tomcat 4.1.18 (running in JDK 1.4.0)
Java WebStart 1.2
Win 2k
files in .war
-launch.jnlp
-+1.0
|-testapp.jar
|-version.xml
-+images
|-Save.gif
-+META-INF
|-MANIFEST.MF
-+WEB-INF
|-+lib
| |-jnlp-servlet.jar
|-web.xmllaunch.jnlp
TS: 2002-04-23 19:21:05
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="$$codebase" href="$$name">
<information>
<title>ljtest 1</title>
<vendor>Lance</vendor>
<description>just an example</description>
<icon href="images/Save.gif"/>
</information>
<resources>
<j2se version="1.2+"/>
<jar href="1.0/testapp.jar" version="1.0"/>
</resources>
<application-desc main-class="Main"/>
</jnlp>version.xml
<jnlp-versions>
<resource>
<pattern>
<name>testapp.jar</name>
<version-id>1.0</version-id>
</pattern>
<file>testapp.jar</file>
</resource>
</jnlp-versions>web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
</web-app>Things I have discovered (possibly in error?):
1) I do not need to include the jaxp.jar and parser.jar files because I am using JDK 1.4
2) I do not need to change my testapp.jar to testapp_V1.0.jar because I have included the the version.xml file in the 1.0 directory
I keep getting the following error in WebStart when I loadup the jnlp:
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)I can get everything to work without version based downloads. Does anyone have any clue what I am doing wrong?
LanceI found my own error. After loading up sun's reference implementation server in NetBean's debugger I noticed that it was only handling .jnlp files. Going back to the "Packaging JNLP Applications in a Web Archive" document I found my mistake. My web.xml files should have looked like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*</url-pattern>
</servlet-mapping>
</web-app>The difference being the <url-pattern> tag. It now tells the web server to handle all files not just .jnlp.
This allowed me to download version based jnlp entries. I still can't get jarDiff things to work, but I will keep banging my head against the wall till I figure that out.
Lance -
BAPI To get GL Line items (Open Item Managed GL)
Hi,
I am looking for a BAPI to get GL open line items that usually I can download from FBL3N. This is required for Open Item managed GLs. The BAPI can be similar to that of BAPI_AP_ACC_GETOPENITEMS or BAPI_AR_ACC_GETOPENITEMS.
Thanks in advance for your response.
Best Regards,
DusmantaHi Maple,
Try out with the following BAPI's:
BAPI_GL_ACC_GETDETAIL : G/L Account Details
BAPI_GL_ACC_GETLIST : List of G/L Account for each company code
Hope this will be helpful.
Regards,
A.Fahrudeen -
Function Module/Bapi to get Customer down payment in F-28/F-29
Hi All,
I need Function Module or Bapi to get the Customer down payment which have been posted in F-29/F-28 transactions.
Please do needful.
Regards
Madhuhi
try this
BAPI_CR_ACC_GETDETAIL
cheers
S.Janagar -
BAPI to get PO details of a VENDOR
Hi All,
Is there any BAPI to get the PO details of a VENDOR ?
While executong the BAPI it should ask for VENDOR number and for that vendor number it should show all the PO numbers.
Let me know if their any BAPI similar to the above requirement.
Thanks & Regards,
SabuHi,
try this FM WRB_PO_GET_DETAILED_VENDOR
here u'll get PO Detail of that vendor and other detail also.
hope it'll help u.
Regards,
Sneha.
Edited by: sneha kumari on Jul 8, 2009 2:52 PM
Maybe you are looking for
-
How to make field optional?
In G/L entry f-02 some of the fields are mandatory. How can I make some of the fields optional? How can I know field status group?
-
Interrupting a download of iOS 6
Hello, I am currently downloading iOS 6 directly to my iPhone 4s over wifi. It has been over an hour so far, and it has not yet downloaded 50%. I cannot wait around on this hotel wifi for it to finish, and I cannot continue the download on cellular d
-
Can you get iPod to display the locations of where events are in the calendar (synched from iCal)? It'd be kinda useful to know where my daily events are, as well as what and when they are!
-
Where is the microphone (mouthpiece) on the LG Exalt?
Hi, This may be a dumb question, but I can't find the microphone (mouthpiece) on my new LG Exalt. I'd like to know where it is so I don't put my finger over it. Thanks. Zaffer
-
X-REALITY AND SOUND EQUALIZER BUGS
1. X-REALITY AUTOMATICALLY TURNS OFF WHEN PHONE IS TURNED OFF AND ON. 2. SOUND EQUALIZER GOES BACK TO DEFAULT WHEN PHONE IS TURNED OFF AND ON. WHY DO REVERT TO DEFAULT SETTINGS AFTER TURNING OFF AND ON THE PHONE???!!!