Error while using the Bapi BAPI_GOODSMVT_CREATE
Hi all,
I am using the BAPI BAPI_GOODSMVT_CREATE to Upload the Data in MB01 and for creating the MATERIAL DOCUMENT for Multiple Lineitems at a time.
But i am getting the error as * NO ITEMS WERE TRANSFERRED*
I am using two separate intenal tables One for Header records and One for Line item records
and passing the tables in the BAPI.
Please Solve my issue and if possible please send me the sample code along with the flatfile or excel sheet.
Thanks and Regards
ajay
Check the below link for a sample code.
[http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm|http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm]
Hope this helps.
Thanks,
Balaji
Similar Messages
-
Error while using the export utility
Dear all of
I am getting the following error while using the export utility in the Oracle database 9i
I have run the catexp.sql and catrm.sql suggested by the experts in this forum. But it did not help me. Kindly help me in solving this issue.
FOLLOWING ARE THE ERROR ----------------------------
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
-----------------------------------------------------------------------------------------------------------------------------------Can you go to this discussion please.
Re: Getting a strange error for Exp
-aijaz -
Dear GRC experts,
After upgrading GRC 10 to SP14, assigning manual passwords during the approval of a request, the approval process is failing.
Here is the scenario; your advice will be appreciated.
Task: Manually assign passwords to multiple systems contained in the request
Where: On the access request, go to “User System Details” tab
Issue: After approving/submitting the request, the error “Database error while using the secure store” is generated
Logs: Nothing on transactions SLG1 or ST22; however ST11 shows the error attached below:
This is the failed approval of the request:
Other scenarios executed as a workaround, and passed the password assignment this time:
The approval will work if only one password is assigned to any of the given systems. The rest of the systems get an auto-generated
password.
ARM also accepts multiple passwords when the requestor assigns passwords on the “User System Details” prior submitting a
request. The GRC admin can approve once reached for system approval.
AS FYI, “Confirm Password” is only required when creating the request but not on any other stage.
System information:
-Netweaver 7
-GRCFND_A SP14
-GRCPINW SP13
Regards,
GustavoSAP just delivered a note to fix this issue. The number is 2022294.
-
Error while using the function module..pack_handling_unit_dlvry
Hi all...
while using the function module pack_handling_unit_dlvry,
we need to pass the handling unit number as per the functionality we require.
but the mandatory field for the function module is the handling unit number in the form of bar code..
so how to use this function module..
All the useful answers will be regarded..
Regards,
Saroja.Have you tried using BAPI BAPI_HU_CREATE. Also view Function Module Documentation on its usage.
-
Error while using the interface IWDClientUser
Hi All,
Im getting the error while capturing the ESS user by the interface IWDClientUser.
*ERROR Details:-* This Compilation unit indirectly referencesthe missing type com.sap.security.api.IUser (typically some required class file is referring a type outside the class path)
Ihave imported following namespaces also
com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
Regards,
SumankumarHi,
To resolve this
NW04s
In WebDynpro Explorer Window, select your project->DC Metadata->DCDefinition->Right click on Used DCs and selecte add used DCs
select SAP-J2E, choose the com.sap.security.api.sda and finish.
Ce
Right Click Dc->Dc Properties->ENGINEAPI->choose com.sap.security.api.sda
If needed do an Organize Import.
Regards
Ayyapparaj -
Getting the below error while using the JMS server.
<Sep 20, 2010 9:27:43 AM EDT> <Warning> <J2EE> <BEA-160064> <There was an error while making the initial connection to the JMS resource named EMSTopicFactoryNonXA from within an EJB or a servlet. The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory EMSTopicFactoryNonXA failed: javax.naming.AuthenticationException: Not permitted: invalid name or password [Root exception is javax.jms.JMSSecurityException: invalid name or password]>
<Sep 20, 2010 9:27:43 AM EDT> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named com/lehman/fit/ice/agg2/TopicConnectionFactory from the EJB "Agg2BatchBean" inside application "Agg2". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory com/lehman/fit/ice/agg2/TopicConnectionFactory failed: javax.naming.AuthenticationException: Not permitted: invalid name or password [Root exception is javax.jms.JMSSecurityException: invalid name or password]>
Note:-weblogic version 9.1sp0
Please suggest me how to resolve the above exception.<Sep 20, 2010 9:27:43 AM EDT> <Warning> <J2EE> <BEA-160064> <There was an error while making the initial connection to the JMS resource named EMSTopicFactoryNonXA from within an EJB or a servlet. The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory EMSTopicFactoryNonXA failed: javax.naming.AuthenticationException: Not permitted: invalid name or password [Root exception is javax.jms.JMSSecurityException: invalid name or password]>
<Sep 20, 2010 9:27:43 AM EDT> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named com/lehman/fit/ice/agg2/TopicConnectionFactory from the EJB "Agg2BatchBean" inside application "Agg2". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory com/lehman/fit/ice/agg2/TopicConnectionFactory failed: javax.naming.AuthenticationException: Not permitted: invalid name or password [Root exception is javax.jms.JMSSecurityException: invalid name or password]>
Note:-weblogic version 9.1sp0
Please suggest me how to resolve the above exception. -
Getting error while using the data element in ztable
though i specified the length as 20 in dataelement when i am entering the dataelement i am getting this error
while i used help i got the following information
Number of positions < minimum number (1) for data type CHAR
Message no. DO253
Diagnosis
A minimum length is required for the specified data type.
This minimum length is not reached by the specified number of positions.
Procedure
Increase the number of positions or select a more appropriate data type with the possible entries help F4.This is strange, you shouldn't even be able to activate the dataelement type char with a length of 0. Revisit your data element and make sure that the length shows to be greater than 0 and reactivate your data element to make sure the newest version is active. In case you are referencing a domain in your data element do the same with the domain after validating that everything is correct (you can also use the check function). Then go back to your table and reenter the data element before activating your table.
Hope that helps,
Michael -
Error while using the Geospatial Range FIlter
Hello,
When I try to use the Geospatial Range Filter I get the error:
javax.portlet.PortletException: com.endeca.portal.data.DataSourceException: An error occurred while executing query: exception encountered while executing external function 'internal:navigation-query', caused by error endeca-err:MDEX0001 : Invalid input : Error in selection filter: "DISTANCE" is not a valid function on the types (mdex:geocode-set, mdex:geocode)
Can anybody help me?
Thanks!
MarcoMarco,
you are dealing here with trying to use a function DISTANCE on mdex:geocode type and mdex:geocode-set, where:
mdex:geocode Represents a latitude and longitude pair. Used for atomic values (from single-assign geocode attributes).
mdex:geocode-set Represents a latitude and longitude pair. Used for sets (from multi-assign geocode attributes).
However, many functions and operators work on atomic data types and do not support sets.
Quoting from the EQL Guide:
Important: With three exceptions, all the functions and operators described in this chapter work only on atomic data types. That is, they are not supported with sets. The three exceptions are
ARB,COUNT, and
COUNTDISTINCT. For information on the set functions, see Sets and Multi-assign Data. -
Error while using the variable name "VARIABLE" in variable substitution
Hi Experts,
I am using variable substitution to have my output filename set as a payload field value. It is working fine when I am using the variable name as fname, subs etc but channel goes in error when I am using the variable name as "VARIABLE". This is probably a reserved word but i would like to know where i can find a detailed documentation on this. Say things to note / restrictions while using variable substitution.
This is the error in the channel:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: java.text.ParseException: Variable 'variable' not found in variable substitution table: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Variable 'variable' not found in variable substitution table
Thanks,
DiyaHi Zevik,
Thanks for the reply. The output file is created correctly by merely changing the variable name to something else and hence the doubt.
Below is the configuration:
Variable Substituition
VARIABLE payload:interface_dummy,1,Recordset,1,Header,1,field1,1
Filename schema : TEST_%VARIABLE%.txt
Output xml structure:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:interface_dummy xmlns:ns="http://training.eu.unilever.com">
- <ns:Recordset xmlns:ns="http://training.eu.unilever.com">
- <Header>
<identifier>HDR</identifier>
<field1>001</field1>
<field2>001</field2>
<field3>R</field3>
</Header>
- <Detail>
<identifier>A</identifier>
<field1>000000002</field1>
<field2 />
<field3>Doretha.Walker</field3>
</Detail>
I thimk my configuration is correct as it is working correctly with the variable name change, However, maybe i missed something ! -
Error while mapping the BAPI exception to the Fault Messge
Hi
I have a scenario SOAP to BAPI ...
when i try test the scenarion from Altova XML SPY for BAPI exception ... i am getting the following error....
When i tried to map the BAPI exception to the Fault Message its giving me the error...
com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to Unexpected length of element <sap:Error><sap:ApplicationFaultMessageNamespace> =Hi,
Fault messages can be used for inbound proxies....for BAPI also it can be used i am also not sure....How are you tracking that the data is getting posted into the SAP table with the help of BAPI?
Thanks
Arijit -
Error while using the sample My Contacts portlet
Hi,
I am trying to use sample portlet "My Contacts" in my portal's page but getting
the following error:
Compilation of JSP File '/portlets/collaboration/nativedb/contact/Content/index.jsp'
failed:
Errors found in C:\bea\weblogic81\samples\portal\portalApp\AlFaris\portlets\collaboration\nativedb\contact\Content\index.jsp:
Error at line 24 column 18:
Description: No tag library could be found with this URI.
Error at line 24 column 18:
Description: This tag is not recognized.
Error at line 60 column 10:
Description: This tag is not recognized.
Error at line 69 column 2:
Description: This tag is not recognized.
Error at line 70 column 2:
Description: This tag is not recognized.
Error at line 79 column 5:
Description: This tag is not recognized.
Error at line 81 column 60:
Description: No variable or field with this name could be found at this location.
Error at line 86 column 88:
Description: This tag is not recognized.
Error at line 140 column 8:
Description: This tag is not recognized.
Error at line 148 column 6:
Description: This tag is not recognized.
Error at line 152 column 6:
Description: This tag is not recognized.
Error at line 155 column 69:
Description: No variable or field with this name could be found at this location.
Error at line 171 column 6:
Description: This tag is not recognized.
Error at line 175 column 6:
Description: This tag is not recognized.
Error at line 184 column 40:
Description: This tag is not recognized.
Error at line 185 column 40:
Description: This tag is not recognized.
Error at line 186 column 42:
Description: This tag is not recognized.
Found 17 error(s) and 0 warning(s).
I could use the above sample portlet in weblogic 8.1 without any problms but
in weblogic 8.1 with SP2 I am getting the above error.
Can anyone help me out of this situation.
Thanks in advanceCheck the below link for a sample code.
[http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm|http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm]
Hope this helps.
Thanks,
Balaji -
Hi,
i designed a bapi which is internally calling a transaction (i.e. TRIP ), and returning the status.
when i call this in back end(abap) side it is giving the desired results correctly. but when i call the bapi from the front end side , i am getting the error : objects_objref_not_assigned.
what could be the reasons.
for your information : we have provided the correct user name and password to execute this tcode.
regards
girihi,
thx for your response, but in the front end side they are calling the rfc using the JCO connection.
for your information other bapi's are all working the way which we call.
regards
giri
since it's very urgent if you give your phone no or email .id , it would be helpful.
thx -
Syntax error while using the parameter inside the badi method.
Hello all ,
I'm writing a code in the badi implementation . The badi is /SAPSLL/CTRL_MM0C_R3 . this badi contains a metthod API_CONTROL_MODIFY.This badi triggers while using MIGO transaction .
It is having the following parameter .
IT_MSEG Importing Type SLLR3_MSEG_T .
SLLR3_MSEG_T is declared as follows.
TYPES: sllr3_mkpf_t LIKE mkpf OCCURS 0,
sllr3_mseg_t LIKE mseg OCCURS 0.
here i have to get the werks value that is populated into IT_MSEG whie doing MIGO .
I have declared a local variable and assigned werks value from the IT_MSEG to the local variable as follows
DATA:l_werks type werks.
l_werks = IT_MSEG-WERKS.
But I'm getting the following error.
"IT_MSEG" is a table without a header line and therefore has no
component called "WERKS".
How should i avoid this error. Please give me sample code on how to avoid this error.
thanks in advance
pavanHi,
Move the row from IT_MSEG into a work area and use it. Declare the workarea of required type.
DATA:l_werks type werks.
read table it_mseg into wa_mseg index 1.
l_werks = wa_MSEG-WERKS.
Regards
Vinod -
Error while using the XMLP API to generate a report
Hi all,
I am trying to generate a report using stand-alone application by the JAVA API (User doc Ch 11). I am using RFT template for this.
Step1: Create XSL from RTF file. I could do this. Example is given in page 262 of the guide. Here is the code snippet (all import, try/catch removed):
RTFProcessor rtfProcessor = new RTFProcessor(args[0]);
rtfProcessor.setOutput(args[1]); // output file
rtfProcessor.process();
This generated a XSL file correctly.
Step 2: Using the XSL and XML file, it could generate a output. This is failing for me. (Page 265). Code snippet below:
<snippet>
FOProcessor processor = new FOProcessor();
processor.setData(args[0]); // set XML input file
processor.setTemplate(args[1]); // set XSL input file
processor.setOutput(args[2]); //set output file
processor.setOutputFormat(FOProcessor.FORMAT_PDF);
// Start processing
try
processor.generate();
catch (XDOException e)
e.printStackTrace();
System.exit(1);
System.exit(0);
</snippet>
It compiles. When I run this program (class), I get the following errors and I do not know where to look for help/resolution:
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 2
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 3
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 4
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 5
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 6
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 7
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 0
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 1
PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 1
PROBLEM: In oracle.dss.graph.GraphControllerAdapter::public void perspectiveEvent( TDGEvent event ): inappropriate data: partial data is nullHi Tim,
My present requirement is :
In OAF page, When i click "generate" button, it should generate pdf which is XML publisher output.
My code is able to generate pdf/excel file with zero bytes and also i'm unable to open this pdf file. Following code i have written in processFormRequest:
I debugged this code . it's working fine till processor.setOutputFormat(FOProcessor.FORMAT_EXCEL); It's unable to execute the FO processor Engine.
Kindly please help me to rectify this error.
if (pageContext.getParameter ("GeneratePDF")!= null)
try{
RTFProcessor rtf = new RTFProcessor("C:\\cash_receipt\\CASH_RECEIPT_XML5.rtf");
System.out.println(" step -2");
rtf.setOutput("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl"); // set output AS XSL FILE
System.out.println(" step -1");
Document dc = rtf.process();
System.out.println(" rtf.process()" + dc.toString());
FOProcessor processor = new FOProcessor();
// set the data definition
processor.setData("C:\\cash_receipt\\cash_receipt_xml5.xml");
System.out.println(" step 1");
//("C:\\cash_receipt\\cash_receipt_xml5.xml");
// set the template
processor.setTemplate("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl");
System.out.println(" step 2");
//("C:\\cash_receipt\\CASH_RECEIPT_XML5.xsl");
//Set the output file and the output format for a PDF document:
processor.setOutput("C:\\TestXML.Excel");
System.out.println(" step 3");
processor.setOutputFormat(FOProcessor.FORMAT_EXCEL);
// run the FO processor Engine
System.out.println(" step 4");
processor.generate();
System.out.println(" step 5");
catch (Exception e) {
e.printStackTrace();
System.out.println("XDOException " + e.getMessage());
thanks,
Keshav -
Error while using the validate function in SwitchExec
I have created a Route in SwitchExec for connecting channels COM0 and COM1 for a particular switch in SwitchExec. I get the error: (Hex 0xBFFA0001) Instrument error detected.
The same connection works fine when run directly through the LabWindows/CVI function panel.
Has anyone faced a similar problem?This error comes from the instrument driver, not switch executive. If this is a driver you developed, I suggest debugging the driver using the simple application that does the same thing as the validation process:
- open niSE session
loop through all routes
- connect route
- disconnect route
end loop
loop through all route groups
- connect route group
- disconnect route group
end loop
- close niSE session
You can write this application in CVI, and use the debug version of your driver which I presume is written in CVI. That way you can step through your driver's SetPath function (which is called from NI Switch Executive) and see why it fails with the 0xbffa0001 error.
You can also reuse existing NI Switch Executive sample programs in C
VI to reproduce the problem you were seeing in the validator.
If the driver is provided by a third party, and you have the source code for it, you can try the same procedure as above, and then either fix the driver yourself or inform the original developers about the problem.
If the driver did not come with a source code, then contact the company that provided the driver with the way to reproduce a problem.
For future reference, when you run into a problem that looks like it is coming from the specific driver (which was the case here) it would help if you also mentioned which driver did you use.
Srdan Zirojevic
Maybe you are looking for
-
VM with remote access VPN without split tunneling
Hello experts, I have customers who require to use VM in their laptop. These users also require to VPN to Corporate network to do their job. However when they do remote VPN to corporate Network (ASA VPN concentrator) from their VM host machine, they
-
Itunes 10 won't recognize my iphone 3G
i just have a basic iphone 3g and until recently itunes recognized it. i tried uninstalling itunes and re-installing with the recent itunes 10 version. when i plug my iphone into any usb port on my computer windows will recognize it and charge my pho
-
Opening pdf from harddisk with link
Can i set a link to a pdf-file on my harddisk in my keynote presentation? or to another document? I am sure this question has been answered a thousand times, but i couldnt find it. sorry.
-
Web Service Response truncated
Hi out there, I finally got a web service reference to Amazon's ECS up and running. But the response from the web service is not put into a collection. IF I debug my application I see that Amazon is responding and that the response is truncated. If I
-
Email getting truncated in SOST
Dear SRMer's, System Information : SRM4.0 As part of the business requirement, our email address in SRM need to be a max length of 100 characters. When testing by creating a shopping cart and adding an approver with a 100 character length email, in