BAPI's List OLAP
Hello All.
I'm using Jco to acces BW.
How i can see all list of BAPI's in SAP BW ?
Regards.
Taylor
Hi Ajay.
Thank you,
I'm using a normal GUI login.
I need see all OLAP BAPI's to view the specific functionalities to use in JAVA Swing Application.
Point are assigned !!!
Best Regards.
Taylor
Similar Messages
-
BAPI For listing alternative routing with sequence details.
Dear all,
I want to use BAPI For listing alternative routing with sequence details.
Pl' tell BAPI function Module for routing .
Thanks.I am not sure ,but check with BAPI_ROUTING_CREATE
-
Which BAPI to list all Business Partner on CRM?
Hi All,
Can someone let me know the BAPI which lists all the business partner available on particular CRM system based on some criterion such as country or date Range.
Regards,
NaveenUse BAPI_BUPA_SEARCH
It takes input parameters such as:
Partner Number
Business Partner Role,
Partner Category (Person, Org or Group).
First Name, Last Name
Telephone
Email
Address data etc
Easwar Ram
http://www.parxlns.com -
Error: Cannot list olap applications
Hi,
we have Essbase 9.3 and Provider Services running.
We do a call with 'getapplications()' from the IEssOlapServer interface and get an error: "Cannot list olap applications"
Does anybody know something about it ?
Gr.
RobHi, thanks for your answer.
I did reboot the essbase server, but the error still remains.
Now made a service request on Metalink3, hope that they can help me.
If you have more ideas let me know off course
gr
rob -
Can anyone give me list of Standard BAPI's of MM...
thanks in advance.Hi
Goto Tcode BAPI
and search for the BAPi's in MM application Araea
Area wise you will find different related BAPI's
see
http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
FM, BAPI for list of Backorder quantities for Material V_RA
All,
I want to get the backlog quantities. Is there anyBAPI or FM for this? It should give me result of V_RA.
Thanks in advance for your help,
SagarAll,
I want to get the backlog quantities. Is there anyBAPI or FM for this? It should give me result of V_RA.
Thanks in advance for your help,
Sagar -
Need bapi for vendor contact list
Hi all
I need a bapi to get vendor contact list. I already have bapi for getting customer contact list, bapi_customer_getcontactlist.
Please help in this regard.
Thanks in Advance
RakeshHi,
same problem here: I need a BAPI that lists all contacts for a vendor. BAPI_VENDOR_GETDETAIL does NOT return the contact list and there is no BAPI_VENDOR_GETCONTACTLIST.
Any hint?
Walter -
Hi all,
If anyone's interested, Peter Odds and I have set up an Oracle OLAP mailing list as an additional resource for developers working with the OLAP Option.
The list homepage is at http://www.rittman.net/lists/olap where you can subscribe, change subscription options or view the list archives.
With a bit of luck it'll be an additional way for 9i/10g OLAP Option developers to share ideas, and if any good tips come up we can post them back on this forum.
If you're interested, please feel free to sign up, and if you've got any questions please contact me at [email protected]
regards
MarkI could not find it in documentation till 11g so I doubt if there exists a stop list for Russian language as supplied.
You can probably create one using CTX_DDL package.
http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cddlpkg.htm#CCREF0600 -
BAPIs / FMs required to display vendor list/ material list/supplysourcelist
Hi Frnds,
I need 3 BAPIs to list (1)all supply source and their text (2)all vendors and their text,(3)materials and their text.
IF you know any STD BAPI/ RFC FM/ FM to get those datails, please provide me...
Note: for example I shd get all existing materials with their descriptions when i execute that BAPI/FM. i.e., what we get when we press F4 like that.
regards,
Krishna Kiran.hiii
use FM BAPI_VENDOR_GETDETAIL
& for material and their text use following FM
CALL FUNCTION 'BAPI_MATERIAL_GET_ALL'
EXPORTING
material = w_matnr
* COMP_CODE = COMP_CODE
* VAL_AREA = VAL_AREA
* VAL_TYPE = VAL_TYPE
* PLANT = PLANT
* STGE_LOC = STGE_LOC
* SALESORG = SALESORG
* DISTR_CHAN = DISTR_CHAN
* WHSENUMBER = WHSENUMBER
* STGE_TYPE = STGE_TYPE
* LIFO_VALUATION_LEVEL = LIFO_VALUATION_LEVEL
* IMPORTING
* CLIENTDATA = CLIENTDATA
* PLANTDATA = PLANTDATA
* FORECASTPARAMETERS = FORECASTPARAMETERS
* PLANNINGDATA = PLANNINGDATA
* STORAGELOCATIONDATA = STORAGELOCATIONDATA
* VALUATIONDATA = VALUATIONDATA
* WAREHOUSENUMBERDATA = WAREHOUSENUMBERDATA
* SALESDATA = SALESDATA
* STORAGETYPEDATA = STORAGETYPEDATA
* PRTDATA = PRTDATA
* LIFOVALUATIONDATA = LIFOVALUATIONDATA
TABLES
materialdescription = ls_matdetail
* UNITSOFMEASURE = UNITSOFMEASURE
* INTERNATIONALARTNOS = INTERNATIONALARTNOS
* MATERIALLONGTEXT = MATERIALLONGTEXT
* TAXCLASSIFICATIONS = TAXCLASSIFICATIONS
* EXTENSIONOUT = EXTENSIONOUT
return = ls_return1.
IF ls_return1-type CA 'EA'.
ROLLBACK WORK.
MESSAGE ID '26' TYPE 'I' NUMBER '000'
WITH ls_return1-message.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT = w_WAIT
* IMPORTING
* RETURN = RETURN.
* wait up to 5 seconds.
WRITE:
/ 'Language Key :', ls_matdetail-langu,
/ 'Language :', ls_matdetail-langu_iso,
/ 'Description :', ls_matdetail-matl_desc.
regards
twinkal -
BAPI list from transaction - code
Hi all,
it's exist a way to put as input a transaction-code and have as output a bapi's list in relation with t-code entered ???
Tks a lot,
byehi,
I don't think that there is any transaction code or a table to determine the same ..
Regards,
Santosh -
SAP GRC RAR 5.3 SP9 "Cannot execute BAPI UserList"
Hi everyone,
After upgrading to 5.3 SP9, my client started experiencing some problems with RAR. I doubt it's linked to the upgrade, since I did all the testing and results were as expected. The problem is as follows:
Using RAR, for only one specific system (SAP ECC6 box), when running foreground AND background analysis for USERS, all analysis fails with the following error log (see below message). All ROLE analysis work as expected (SOD and critical actions/autorisations).
In the configuration tab, the connexion test is successful. I did some testing with a BASIS from the client and we identified that when running a successful analysis, we could log a RFC connection to the backend system (dont recall the transaction used though). When the analysis failed, no connexion was logged.
The client's GRC admin opened a ticket with SAP, but I was wondering if the collective knowledge of SDN could maybe help us identify the cause of our problems.
Any solution path is welcome
Kind regards
Jerome Fortin
========================================================================================
Jan 18, 2010 2:19:09 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Foreground : Analysis starts: XL1360
Jan 18, 2010 2:19:09 PM com.virsa.cc.comp.VirsaXSR3_01Interface execute
WARNING: VIRSAXSR3_01: Cannot execute BAPI UserList
java.lang.ArrayIndexOutOfBoundsException
at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:10211)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValue(JcoBaseTypeData.java:503)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getRelatedModelObjects(DynamicRFCModelClass.java:787)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.addRelatedModelObject(DynamicRFCModelClass.java:821)
at com.virsa.cc.common.ModelNodeUtil._copyNodeTreeToModel(ModelNodeUtil.java:68)
at com.virsa.cc.common.ModelNodeUtil.copyNodeTreeToModel(ModelNodeUtil.java:52)
at com.virsa.cc.comp.VirsaXSR3_01Interface.execute(VirsaXSR3_01Interface.java:267)
at com.virsa.cc.comp.wdp.InternalVirsaXSR3_01Interface.execute(InternalVirsaXSR3_01Interface.java:1341)
at com.virsa.cc.comp.wdp.InternalVirsaXSR3_01Interface$External.execute(InternalVirsaXSR3_01Interface.java:1376)
at com.virsa.cc.comp.BackendAccessInterface.executeBAPIModel(BackendAccessInterface.java:3415)
at com.virsa.cc.comp.BackendAccessInterface.execBAPI(BackendAccessInterface.java:409)
at com.virsa.cc.comp.BackendAccessInterface.executeBAPI(BackendAccessInterface.java:302)
at com.virsa.cc.comp.wdp.InternalBackendAccessInterface.executeBAPI(InternalBackendAccessInterface.java:4227)
at com.virsa.cc.comp.BackendAccessInterface.searchUser(BackendAccessInterface.java:758)
at com.virsa.cc.comp.wdp.InternalBackendAccessInterface.searchUser(InternalBackendAccessInterface.java:4279)
at com.virsa.cc.comp.wdp.InternalBackendAccessInterface$External.searchUser(InternalBackendAccessInterface.java:4748)
at com.virsa.cc.dataextractor.bo.DataExtractorSAP.searchUser(DataExtractorSAP.java:548)
at com.virsa.cc.dataextractor.bo.DataExtractorSAP.userIsIgnored(DataExtractorSAP.java:529)
at com.virsa.cc.xsys.meng.MatchingEngine.getObjActions(MatchingEngine.java:702)
at com.virsa.cc.xsys.meng.MatchingEngine.matchActRisks(MatchingEngine.java:121)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.performActPermAnalysis(AnalysisEngine.java:1344)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:311)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:240)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:237)
at com.virsa.cc.ui.UserSelection.onActionExecute(UserSelection.java:634)
at com.virsa.cc.ui.UserSelection.onActionConfirmExecute(UserSelection.java:1858)
at com.virsa.cc.ui.wdp.InternalUserSelection.wdInvokeEventHandler(InternalUserSelection.java:1287)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Jan 18, 2010 2:19:09 PM com.virsa.cc.xsys.meng.MatchingEngine matchActRisks
WARNING: Error :
com.virsa.cc.dataextractor.dao.DataExtractorException: Impossible d'extraire les donn?es du syst?me (P01R3S010) ; pour plus d'information, reportez-vous ? ccappcomp.n.log
at com.virsa.cc.dataextractor.bo.DataExtractorSAP.searchUser(DataExtractorSAP.java:551)
at com.virsa.cc.dataextractor.bo.DataExtractorSAP.userIsIgnored(DataExtractorSAP.java:529)
at com.virsa.cc.xsys.meng.MatchingEngine.getObjActions(MatchingEngine.java:702)
at com.virsa.cc.xsys.meng.MatchingEngine.matchActRisks(MatchingEngine.java:121)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.performActPermAnalysis(AnalysisEngine.java:1344)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:311)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:240)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:237)
at com.virsa.cc.ui.UserSelection.onActionExecute(UserSelection.java:634)
at com.virsa.cc.ui.UserSelection.onActionConfirmExecute(UserSelection.java:1858)
at com.virsa.cc.ui.wdp.InternalUserSelection.wdInvokeEventHandler(InternalUserSelection.java:1287)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Jan 18, 2010 2:19:09 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine riskAnalysis
WARNING: Foreground : Failed to run Risk Analysis
java.lang.Exception: Impossible d'extraire les donn?es du syst?me (P01R3S010) ; pour plus d'information, reportez-vous ? ccappcomp.n.log
at com.virsa.cc.xsys.meng.MatchingEngine.matchActRisks(MatchingEngine.java:127)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.performActPermAnalysis(AnalysisEngine.java:1344)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:311)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:240)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:237)
at com.virsa.cc.ui.UserSelection.onActionExecute(UserSelection.java:634)
at com.virsa.cc.ui.UserSelection.onActionConfirmExecute(UserSelection.java:1858)
at com.virsa.cc.ui.wdp.InternalUserSelection.wdInvokeEventHandler(InternalUserSelection.java:1287)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)Yes, I am aware there might be an issue with the BAPI USER list execution, it is pretty excplicit in the message.
I was wondering if anyone has seen this error before and if someone can help me trace the source of the error. A message was already open with SAP before christmas and no solution was identified at the moment.
Impossible d'extraire les donn?es du syst?me (P01R3S010) ; pour plus d'information, reportez-vous ? ccappcomp.n.log at com.virsa.cc.dataextractor.bo.DataExtractorSAP.searchUser(DataExtractorSAP.java:551) at
This can be translated to: Cannot extract data from the system P01, for more information look at the log file xxxx..
Edited by: Jerome Fortin on Jan 19, 2010 9:15 AM -
Experts,
I need a BAPI for list of Sales order against which the invoice has not been generated. I need to pass date and bapi shall return list of sales order that are not invoiced.
Thanks
HarshHi Frederic
Sure it does.
Actually I want to send data from SAP to some .net application. I thought using BAPI would make the job easier.
Anyways thanks.
Regards
Harsh -
Reg: Customer Master Creation in BAPI
Hi All,
How can i find the fields, which are all used in
BAPI_CUSTOMER_CREATEFROMDATA1 and in
BAPI_CUSTOMER_CREATEFROMDATA...
And how can i find the sap given sequential/flat file
for customer master.
Thanks & Regards
arunmost of the fields will be present in the BAPI function. some fields may not be avialable in that BAPI. first list out the fields what you want, then you check the fields in BAPI, and also you can go for LSMW Recording method or LSMW batch input method.
check this batch input program RFBIDE00 .
For testing the BAPI you have to input the data manually in SE37. First create a sample customer in XD01, use the same data for testing the BAPI. -
Abstract list error in nwds 7.2
Hi all,
I am working with nwds 7.2. When I am trying to set values to a structure in a bapi using list it gives code error, so I used abstract list. Please find below the structure and code:
structure:
Model UploadProdOrderModel
bapi Zbapi_Por_5003_Upload_So_Input
I->File_Table of structure type Zbapi_Por_5003_Table
collection cardinality as 0...n and selection cardinality as 0..1
I->Bapi_Input of structure type Zbapi_Por_5003_Input
collection cardinality as 0..1 and selection cardinality as 0..1
The code is as follows :
try
com.sap.crmb2b.uploadproductorder.model.UploadProdOrderModel modalVar = new com.sap.crmb2b.uploadproductorder.model.UploadProdOrderModel();
com.sap.crmb2b.uploadproductorder.model.Zbapi_Por_5003_Upload_So_Input requestVar = new com.sap.crmb2b.uploadproductorder.model.Zbapi_Por_5003_Upload_So_Input(modalVar);
Zbapi_Por_5003_Input in = new Zbapi_Por_5003_Input(modalVar);
Zbapi_Por_5003_Table tab= new Zbapi_Por_5003_Table(modalVar);
in.setSales_Org("1010");
in.setDist_Channel("00");
in.setDivision("00");
wdComponentAPI.getMessageManager().reportSuccess("1");
requestVar.setBapi_Input(in);
wdComponentAPI.getMessageManager().reportSuccess("2");
AbstractList<Zbapi_Por_5003_Table> listin = null;
wdComponentAPI.getMessageManager().reportSuccess("3");
tab.setMatnr("0101");
wdComponentAPI.getMessageManager().reportSuccess("4");
tab.setShipto("23324");
wdComponentAPI.getMessageManager().reportSuccess("5");
tab.setKwmeng("1");
wdComponentAPI.getMessageManager().reportSuccess("6");
tab.setSoldto("2345");
wdComponentAPI.getMessageManager().reportSuccess("7");
listin.add(tab);
wdComponentAPI.getMessageManager().reportSuccess("8");
requestVar.setFile_Table(listin);
wdComponentAPI.getMessageManager().reportSuccess("9");
requestVar.execute();
Error on execution:
while trying to invoke the method java.util.AbstractList.add(java.lang.Object) of an object loaded from local variable 'listin'
Thank you
Regards,
Preet KaurHi,
You set
AbstractList<Zbapi_Por_5003_Table> listin = null;
but you never initialized it. Adding to 'null' will give you this exception.
If your Bapi method returns an AbstractList, you need to have something like
AbstractList listin = new <YourBapi>.<YourBapi>_List(); -
SAP IDOC's, interfaces and BAPI's
Hi i am new to SD, can anyone give me documentation or reading material for SAP IDOC's, interfaces and BAPI's .
Help would be greatly appreciated.
Thanking youHi Reddy,
Very general question, I don't think you will find the answer in one document.
BAPIs are normal function modules, with predefined input and output structures to perform standard business transactions.
IDOCs are standardised interface documents to transfer data.
Once the IDOC is read, it almost always calls a BAPI to perform the business transaction.
Therefore start with reading about BAPIs since you will definately have to master those when starting to work on interfaces.
There are hundreds of BAPIs so best is to start with a specific process, example sales order create or material master create.
Try transaction BAPI, this lists most of the BAPIs and contains excellent documentation.
Thanks for your points,
Filip
Maybe you are looking for
-
ITunes not recognizing ID3 tags
Hi, I installed iTunes last night on my PC and imported all my music into it. This seemed to work OK, but quite a few of the tracks are not showing the correct information in the list (e.g. just showing the track name, and not the artist, album etc).
-
HP Instant Ink for HP Officejet Pro 8600 e-All-in-One
I just purchased a new HP Officejet Pro 8600 e-All-in-One printer and was setting up HP Connected, etc. I came across HP's new service for ink called HP Instant Ink and was immediately sold. I went to go and sign up and the prompt told me that my pri
-
How does one perform a clean reinstall of iOS 6.1.3 on iPhone 4s?
I'm running iOS 6.1.3 on my iPhone 4s. Siri works consistently, except for the Maps app: there are no voice commands. I've brought this to several Genius Bars and they're stumped too. Settings are all correct but no Siri for voice instructions in Map
-
Inventory cube - non cumulativekey fig values are showing -ve values
Hi Guru's, For Improving the performance of inventory cube *0IC_C03 The following steps i did: 1) Created History cube by taking a copy of actual cube (0IC_C03). 2) Transferred all the four years of data (2007, 2008, 2009, 2010) to history c
-
I'm doing the trial of Aperture and love it, except for one critical thing. The round trip to PS works fine, it's the export that has problems. What I need to do is export a PS file with all the sizing, layers, color space, and everything I did in PS