HOW TO RELEASE BAPI
Hi Dear all
I get a problem regarding bapi,how to release bapi,
I am getting error "OBJECT TYPE SHOULD BE TRANSPORTABLE"
how to make bapi transportable.
Thanx in advance
Regards
Poonam
hi,
Refer to the follwoing link....
http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
Similar Messages
-
I made a BAPI "ZBAPI_CITY" .
I Have to use this BAPI in LSMW . But when i run TXN "BAPI" i can see my "ZBAPI_CITY" in "ALL" section But not in "RELEASED BAPI" section .
1. Also when i open "lsmw" txn and fill the bapi name "ZBAPI_CITY" an error come " enter valid name" .
so how can i see my bapi in "RELEASED BAPI" section ? .hi ajai
go to SWO1 t-code and place the cusor in your method name and fo to edit
Edit -> Change release status -> Object type component -> To released
regards
chinnaiya P -
How to release a collective production order in CO05N with MSPT?
The issue was: I want to release a collective order by co05n, e.g. the structure of this collective production order 10000 like this:
10000----20000
30000---40000
---50000
if order 50000 with material shortage, keep the customizing OPJK release order=3, how to release this collective
order. If it is not possible in standard, can the parallel order 40000 be released??
Thank you, all.
Edited by: Stephen Wang on Apr 15, 2010 3:12 PMDear,
In Transaction CO05N, you execute a collective release. For one of the orders, the availability check determines missing part although it has been set in Customizing of the availability check (OPJK) that a release can be executed for missing part per user decision. Therefore, a dialog box is processed on which options a.) 'Release order', b.) 'Missing parts list' and c.) 'Cancel' are displayed.
If you first branch to the missing parts list and then press 'Cancel' on the dialog box there it self
Else you can do this with these options,
1)Use T Code COHVOMRELEASE here select order as you want and release accordingly.
2) Use Transaction SE38 to create the variants for program PPIO_ENTRY and schedule it through SM36 or use standard variant as SAP&RELEASE if want in background.
3) use BAPI BAPI_PRODORD_RELEASE
Please try and come back.
Regards,
R.Brahmankar -
How to release Stock blocked against deleted line items from Sales order.
We have Scenario as follows.
Sales order made for items available in stock. Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
Overall stock available is same as quantity mentioned in deleted line item.
In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
i.e deleted line item.
How to release these stock and make available for sales. Any standard process available ? or any other solutions
Thanks & Regards,I got a solution for my question from other forum. for info
Go to SE38 and enter program SDRQCR21 then execute...
Enter line item which is blocked for sales order in MD04 and enter plant then check Data
transfer box and uncheck other boxes... It will pop up information and click yes...
You will get one report and Stock inconsistency will go off and then check it in MD04....
regards -
How to release function module...
Hi All,
I have created one function module and activated that. How to release that function module?
But Release option is in deactive state...how can i release the FM....please let me know the resons for that.
thank you.hi,
change to edit mode and come to attribute tab then you release option will be activated and then you can release it
thanks
shivraj
Edited by: ShivrajSinha on Feb 8, 2010 11:14 AM -
How to access BAPI in enterprise portal perspective?
hi,I am venkat new to the portal.can anyone plz tel me how to access BAPI in enterprise portal perspective?is done through JCo or any other database connection?I hav not seen in System Landscape about BAPI access.plz give guidance about BAPI interface in enterprise portal.Hope u will understand the question and answer the query.
thanx in advance.
Regards:
Venkataramana.Guys,
Herez how you call a BAPI:
public void buildConnection(){
try {
System.out.println("**** DI2 *****");
// Add a connection pool to the specified system
// The pool will be saved in the pool list to be used
// from other threads by JCO.getClient(SID).
// The pool must be explicitely removed by JCO.removeClientPool(SID)
com.sap.mw.jco.JCO.addClientPool( SID, // Alias for this pool
10, // Max. number of connections
"040", // SAP client
"USERNAME", // userid
"PASSWORD", // password
"EN", // language
"IPADDRESS",// host name
"40" );
// Create a new repository
// The repository caches the function and structure definitions
// to be used for all calls to the system SID. The creation of
// redundant instances cause performance and memory waste.
repository = com.sap.mw.jco.JCO.createRepository("MYRepository", SID);
JCO.Client client = null;
client = JCO.getClient(SID);
// Get a function template from the repository
//IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_CUSTOMER_GETDETAIL2");
IFunctionTemplate ftemplate = repository.getFunctionTemplate("YGGLB_BAPI_YGGLB9PRK_PRKDOCU");
// Create a function from the template
JCO.Function function = ftemplate.getFunction();
// Get import (of Function Module) "Parameter list"
JCO.ParameterList input = function.getImportParameterList();
// Set inputs for import parameters
//input.setValue("0000009000", "CUSTOMERNO");
//input.setValue("0248","COMPANYCODE");
// Get import (of Function Module) "Structure list".
//JCO.Structure importStructure = function.getImportParameterList().getStructure("CUSTOMERADDRESS");
JCO.Structure importStructure = function.getImportParameterList().getStructure("IM_DOCUMENTHEADER");
// Set values for import parameters (of Function Module) "Structure list"
importStructure.setValue( "SA", "DOC_TYPE" );
importStructure.setValue( "20080910", "PSTNG_DATE" );
importStructure.setValue( "20080910", "DOC_DATE");
importStructure.setValue( "BHARDWS", "USERNAME" );
importStructure.setValue( "2008", "FISC_YEAR" );
importStructure.setValue( "FRE1", "COMP_CODE" );
// Get import (of Function Module) "Table list - 1".
JCO.Table orderPartners = function.getTableParameterList().getTable("TBL_ACCOUNTGL");
// Set values for import parameters (of Function Module) "Table list - 1"
//Append Row -1
orderPartners.appendRow();
orderPartners.setValue("0000000001", "ITEMNO_ACC" );
orderPartners.setValue("0000400100", "GL_ACCOUNT" );
orderPartners.setValue("H", "DE_CRE_IND" );
orderPartners.setValue( "ANYTHING", "ITEM_TEXT" );
//orderPartners.setValue( "AG", "PROFIT_CTR" );
orderPartners.setValue( "AIG0000007", "COSTCENTER" );
//Append Row -2
orderPartners.appendRow();
orderPartners.setValue("0000000002", "ITEMNO_ACC" );
orderPartners.setValue("0000400100", "GL_ACCOUNT" );
orderPartners.setValue("S", "DE_CRE_IND" );
orderPartners.setValue( "NOTHING", "ITEM_TEXT" );
//orderPartners.setValue( "AG", "PROFIT_CTR" );
orderPartners.setValue( "AIG0000007", "COSTCENTER" );
// Get import (of Function Module) "Table list - 2".
JCO.Table orderItems = function.getTableParameterList().getTable("TBL_CURRENCYAMOUNT");
// Set values for import parameters (of Function Module) "Table list - 2"
//Append Row -1
orderItems.appendRow();
orderItems.setValue("0000000001", "ITEMNO_ACC" );
orderItems.setValue("USD", "CURRENCY" );
orderItems.setValue( "2000", "AMT_DOCCUR" );
//Append Row -2
orderItems.appendRow();
orderItems.setValue("0000000002", "ITEMNO_ACC" );
orderItems.setValue("USD", "CURRENCY" );
orderItems.setValue( "2000", "AMT_DOCCUR" );
// Execute client
client.execute(function);
//******************Start to work on fetching values now********************************
// Get export (of Function Module) "Structure list".
/*JCO.Structure returnStructure = function.getExportParameterList().getStructure("CUSTOMERADDRESS");
JCO.Structure returnStructure2 = function.getExportParameterList().getStructure("CUSTOMERGENERALDETAIL");
returnStructure.getString("NAME");
returnStructure2.getString("ENTERED_BY");*/
// Get export (of Function Module) "Table list"./// Create a new template if fetching table data from a different function module than above
//IFunctionTemplate ftemplateTable = repository.getFunctionTemplate("BAPI_CURRENCY_GETLIST");
//JCO.Function functionTable = ftemplateTable.getFunction();
//client.execute(functionTable);
JCO.Table table_return = function.getTableParameterList().getTable("RETURN");
Vector tbl = new Vector();
Vector row = new Vector();
Vector colNames = new Vector();
//Loop over all rows
do {
//Loop over all columns in the current row and add all those colums values to the current row
for (JCO.FieldIterator e = table_return.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
row.add(field.getString());
System.out.println(field.getName() + ":\t" + field.getString());
} // end for
//Add this newly built row to the table
tbl.add(row);
} while (table_return.nextRow());
table_return = null;
table_return = function.getTableParameterList().getTable("RETURN");
table_return.nextRow();
for (JCO.FieldIterator e = table_return.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
colNames.add(field.getName().toString());
//DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
//beanObj.setModel(dtvModel);
System.err.println("getting value for you from session in Get Data 1:-");
JCO.releaseClient(client);
// return dtvModel;
catch (JCO.Exception ex) {
System.out.println("Caught an exception: \n" + ex.getMessage());
}catch (Exception e){
System.out.println("Final Message" + e.getMessage()); -
How to release the budget in SAP Funds Management
Hi
How to release the budget in SAP Funds Management. Please let me know the proceedure and the transaction code
TksHi,
The answer depends on if you are using Former Budgeting or BCS.
1) If you are using Former Budgeting:
a. You should use transaction FR51 to enter Release or FR55 to distribute it.
2) If you are using BCS:
a. Within FMBBC transaction you have the option to release the budget, use document type as REL (release).
b. You can activate the automatic release for each budget profile in Customizing of Funds Management Government. To do this, in IMG select Funds Management Government ® Budgeting and Availability Control (Former Budgeting) ® Budget Profiles (Former Budgeting) ® Set Up Budget Profiles.
With the automatic release, the corresponding background releases for expenditures FM account assignments with budget transfers are also posted. Take note that the maximum amount that this automated release can transfer from the sender is the amount that has already been released.
If you do not activate the automated release, the maximum amount that can be transferred from the sender is that which has not yet been released.
c. You can use the mass transaction for release, which is FMMPRELE.
I hope that this answer your inquiry.
Best Regards,
Vanessa Barth. -
How to use bapi response in XI
HI ALL,
Can any one suggest me, how to use bapi response in XI as a sender.
I m using bapi BAPI_BCA_BANKSTATEMENT_EXECUTE , I am executing this bapi manually ,but want to use this BAPI RESPONSE in XI as a sender and map it with receiver.
can i have any idea about how to do it, or can i have the idoc which is used by this bapi BAPI_BCA_BANKSTATEMENT_EXECUTE.
THANX
HONEYHi Honey,
Have a look at these
-Configuring the Sender RFC Adapter - step by step
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
-Troubleshooting - RFC and SOAP scenarios
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
-sender RFC (forum thread)
Is it possible to use the RFC sender adapter for asynchronous calls?
Regards,
Sreenivas -
How to release the Change request (Task in Repair Mode)
Hello everybody,
I have change request in that one Task in Repair mode.
when i trying to release, it give the error message like
Repair HRDK900911 may only contain repaired objects
Diagnosis
In repairs, you can only lock and edit those objects whose original exists in another SAP System.
The object R3TR PROG /VWK/GPS_VCD_R was found in the object list of your repair HRDK900911. This object is not a copy but the original.
So please suggest me
How to release the Task (Repair) so I can release the request.
ThanksYes you wont be able to release the request till you remove the flag from SE03.
Goto SE03 > Display Repaired Objects
Select Your object and remove the repair flag from top <Repair Flag>
R3TR PROG <Your Object>
Also as you are getting an error
No valid change license available for namespace
In SE03-->Display/change Namespace
when I check the specified Namespace then their is no Repair License.
So please suggest me Repair License is required?
check what namespace it is refrerring to ... A namespace name should be there....
1. Go to SE06 and click on the System Change Option.
2. Verify that Namespace Systems Development /Namespace/ is "Modifiable".
or
1. Run transaction SM30
2. Enter V_TRNSPACE
2. Click Maintain
3. Double Click on Namespace /NAMESPACE/
4. Change Namespace role from P to C, then hit Save
All the best !
Edited by: prateek_y on Aug 30, 2010 3:21 PM -
In my iPhone 4 the mute is getting on automatically dont know how to release the mute
In my iPhone 4 the mute is getting on automatically dont know how to release the mute
Have the same problem with every phone call since going to IOS7 - think my face is touching the mute on the screen but I am unaware that it has happened and keep talking until I realise the other side has hung up as they can't hear me - extremely frustrating. Then when the other side calls back, I don't hear the call as it is muted!! Is there a fix for this or a way to move the mute button??
-
How to Release jstring (C++ dll calls Java)
I'm trying to call a method from a Dll (written in C++) to Java. Pseudo might look like this
String cstr = "abcdefghijklmnopqrstuvwxyz";
jstring jstr = NewStringUTF(cstr);
CallJavaMethod(classid, methodid, jstr);
// so problem is how to release this jstr because it is causing memory leaksI've tried DeleteLocalRef and ReleaseStringUTFChars(jstr, cstr) but they don't work and Memory keeps on increasing.
Can anybody suggest a solution plz...but they don't work and Memory keeps on increasing.
Can anybody suggest a solution.Looking at the rest of your code too?
You might also want to examine the assumption that you are making when you say "Memory keeps on increasing". Java can keep allocating memory from the OS and never give it back. That has nothing to do with a memory leak (either in C or java.) So unless you have already excercised your application without JNI or you are using a profiling tool then you might want examine if 'increasing memory' is the same as 'memory leak'. -
Hi
How to call BAPI FM's from RFC ??
thanks
kumarHi Palnati,
Use statement :
Call FUNCTION 'Bapi................'
DESTINATION Dest(RFC destination in TCODE SM59)
EXPORTING f1 =
f2 =
IMPORTING f3 =
TABLES T1 =
EXCEPTIONS .
Reward points if helpful.
Regards,
Hemant -
My new ipod touch 4G shows lock symbol, how to release?
My new ipod touch bought from USA showing lock symbol and connect to itunes symbol, how to release the lock, please help me any one
You said it was new. Before you can use a new iPod you have to connect it to a computer with internet service and iTunes installed and activate the iPod. It sounds like that is what you iPod is tell you to do. It appears you are seeing an iTunes symbol and USB cable on your iPod.
-
How to use BAPI with Decision Dialogue
Hi Gurus
would you please let me know how to use BAPI with decision dialogue in guided procedure .
I have a BAPI checking logon credentials for the user . how to use this BAPI for making decisions that is if the logon is correct then perform one process else go to logon screen again .
Thanks in advance
Regards NamitaHi Namita,
1. Follow the steps mentioned in section <a href="http://help.sap.com/saphelp_crm50/helpdata/en/33/198141f906040de10000000a1550b0/frameset.htm">Exposing an RFC-Enabled Function Module as a Callable Object</a> to use the BAPI as a Callable Object.
2. Follow the steps mentioned in tutorial # 93 and 93a in the CAF Tutorial Center for the decision part.
Hope these helps.
Nilay -
How to use BAPI function module for maintaing product type to material
Hi,
Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
for maintaining the product type for the material using change number.
Pts will be rewarded.
Best Regards,
PadhyHi,
Can you pls suggest me how to use BAPI Fuction module CCAP_REV_LEVEL_MAINTAIN
for maintaining the product type for the material using change number.
Pts will be rewarded.
Best Regards,
Padhy
Maybe you are looking for
-
Error message while upgrading to System Center 2012 R2 Orchestrator
I recently tried upgrading System Center 2012 Service Pack 1 Orchestrator to System Center 2012 R2 Orchestrator on a Windows Server 2012 instance, running in VMware Workstation. According to the Microsoft TechNet documentation, you basically remove a
-
I installed the new version of iTunes today. It's 12.1.1. After completing the installation, including restarting my computer, I was no longer able to use Windows Internet Explorer. Has anybody else experienced this? If so, how did you fix Explorer?
-
Sides of Keynote presentation cut off when exported to iDVD
Hi, I have a keynote presentation with the slides set to 800X600 that I am trying to burn to a DVD. I am able to burn fine but when it plays on my DVD player and CRT Samsung TV, the sides of the slides are cut off so that the first and last letters o
-
Epic Slideshow...Please help.
I have combed the manuals, discussion logs etc. but am yet to find a simple answer to my questions. Maybe there are none. My grandparents both passed away in the last month. I am not only archiving my pictures but creating a slideshow using final cut
-
Does 6th gen Nano buzz or have built-in speaker?
I was thinking of using the Nano as a watch. I see myself using the timer and stopwatch functions while it is sitting on my wrist. But, I won't always be wearing my headphones. Does anyone know if the Nano has a built-in speaker or at least a buzzer,