Problem while Creating /Maintaing Data in R/3 (BAPI_MATERIAL_SAVEDATA)
Hi,
I am Developing a WebDynPro(Java) appln to connect R/3.For this i used BAPI_MATERIAL_SAVEDATA which module is for Creating/Updating Material Data.I have Used the materialName,Description,Uniof Measure,Material Type as Input to R/3. while running The Appln it is fine to Connect R/3 and Its Bringing return Msges as "1)Trying To Create Material 2)The Material Cannot Be Maintained since no Maintainable data Transferred".That is I can not Create/SAVE material Data..Whether Anything might be wrong while Transferring Data ?What Type Of Pblm is This ? Did u ever come across The Pblm like this ? How to solve This ?
Please Help Me Out
Hi,
In the Import parameters HEADDATA shows it is a Mandatory and for the remaining Structures you just instantiate it and Set it to the BAPI Element.
Ex:- ComplexType_ZBAPI_FICA currentRelation = new ComplexType_ZBAPI_FICA();
chgRelation.setCURR_BP_RELATIONSHIP(currentRelation);
//chgRelation - BAPI Element
//ComplexType_ZBAPI_FICA - Import type
Regards,
Sridhar
Message was edited by: Sridhar kanchanapalli
Similar Messages
-
Problem while creating Item Data in OCA application
Hello Experts!
I am creating a PDA application (OCA) for NW7.1.
I am facing problem while creating Sales Order. I can create the Header structure. But when I Create the corresponding item structure for the header , the items are not getting created. After Sync I can only see the header structure in the middleware.
I am using the following code to create the header and item.
OrderCreateDocType header = model.createOrderCreateDocType();
header.setRefdoctype("41001180");
header.setDocType("ZRRJ");
header.setSalesOrg("AND");
wdContext.nodeOrderCreateDocType().bind(Collections.singleton(header));
OcaRoot.getInstance().commit();
wdContext.nodeOrderCreateDocType().setLeadSelection(0);
header=(OrderCreateDocType)wdContext.nodeOrderCreateDocType().getCurrentElement().model();
OrderCreateOrderItemsIn items = header.createNewOrderItemsIns();
long item = new Long("000010").longValue();
items.setItmNumber(item);
items.setMaterial("MMKT090114");
items.setPlant("ANDP");
items.setTargetQty(new BigDecimal(7));
items.setTargetQu("IT");
header.setOrderItemsIns(Collections.singleton(items));
OcaRoot.getInstance().commit();
Am I missing out on step.
Reply Awaited
Regards
Priya GhoshHello Priya
in your case as the DOs are of upload only type, you are not able to create a
child on an already created header, because updates are not allowed for upload only DOs.
So in this case you first have to create an instance of the header first and then create an item. And only after this call a commit on the model
Best Regards
Vaidehi -
Problem while creating a new Data element in a new table?
Hello Everyone,
I have downloaded Netweaver 7.1 trail version from internet and while creating a data element through the data dictionary: i got this input box:
Register Object
SAP Release 701
Access key needed?
Installation DEMOSYSTEM
What could an access key be here in this demo version?
please help experts. thanks for writing back.
Cheers
lastw0nd3r
P.S:
I tried this access key already which was in devaccess table
29671482393151224771 but it didn't worked.
Edited by: lastw0nd3r on Jun 8, 2010 5:30 PMin processformrequest() i wrote this:
if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
&&(ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
am.invokeMethod("createRecordInv") ;
in Amimpl.java
i wrote
public void createRecordInv()
try
OAViewObject vo = getARTransactionLineVO1();
if (!vo.isPreparedForExecution())
{ vo.executeQuery(); }
if (vo != null)
vo.setMaxFetchSize(0);
ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
if (vo.getFetchedRowCount() == 0)
{vo.insertRow(row1); }
else
{ vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
row1.setNewRowState(row1.STATUS_INITIALIZED);
catch(Exception ex)
{ ex.getMessage(); }
i am getting error
oracle.apps.fnd.framework.OAException: java.lang.ClassCastException -
Problem while creating data transfer process
Hi friends
I am using BI 7.0 version.
I m getting a problem while creating dtp
After activating DTP and selecting the execute button, I am getting the following error message:
Request cannot be processed in its current state
Messg no : RSBK209
can anyone help me on this problem
ThankHi Deepthi,
Also check the error message(long text) and paste it here...
check if you are either creating a "second" Delta DTP ( if an existing Delta DTP exists, then system will not allow you create a second DTP) and will throw an "overlapping" error
Hope this helps
Thanks
Kalyan -
No Functional Area Found Error while creating service data in me22n
Hello,
While creating service data for a purchase order in ME22n I am getting error like " No functional area found" .
Please tell me how to maintain the Functional area for a particular GL account
In the help i can found that we can find the functional area "The functional area can be determined either using the cost element, the account assignment object (such as the cost center or order)"
How we can determine this please through some light on this statement.
Thanks
Pradeep
Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum.
locked by: Thomas Zloch on Oct 15, 2010 9:55 AMHello Madhav,
You have to maintain your 'business transaction profile' (SPRO->CRM->IC Web->Business Transaction->Define bus. trans. prof.) in the customizing and assign that profile to your IC WebClient profile (the one you assigned in the org. model)
In the business transaction profile you must make sure that at least one transaction type (e.g. ZSRV) is assigned as 'Dependent business transaction' and that entry is flagged as 'Service'.
Also make sure that that transaction type (ZSRV) has leading business transaction category 'Service process' (BUS2000116).
This should solve your problem!
Kind regards,
Joost -
Facing a Problem while downloading the data from ALV Grid to Excel Sheet
Hi Friends,
Iam facing a problem while downloading the data from ALV Grid to excel sheet. This is working fine in Development server , when comes to Quality and Production servers I have this trouble.
I have nearly 11 fields in ALV Grid and out of which one is PO number of length 10 , all the ten numbers are visible in the excel sheet if we download it from development server but when we download it from Quality or Production it is showing only 9 numbers.
Can any one help me out in this case.hi...
if this problems happens dont display the same internal as u finally got.
just create new internal table without calling any standard data elements and domains... but the new internal table s similar like ur final internal table and move all the values to new int table.
for eg.
ur final internal int table for disp,
data : begin of itab occur 0,
matnr like mara-matnr,
end of itab.
create new like this,
data : begin of itab occur 0,
matnr(12) type N,
end of itab. -
Problem while creating Service order
Hi Gurus,
I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n) which automatically should be picked from the work order refference.
But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
Can anyone explain me this?
Is this something that one can explain?
Regards,
Murugesh R
Rewards for value replies.Hi Murgesh,
If GL code is not getting bydefault from the system it is needed to be provided by the user.
If normally one GL is there or other than master data services if single GL is there u can set that in SPRO.
it is avalible in deafult settings in order node
If you are creating the order with refrence to PR then it will take account assignement as "F" system will pick up all the details from PM module. This is the integration of MM & PM module.
But if your PO is not w.r.t. PM orders PR then needs to be given manully.
Ramesh
Edited by: RameshChandra Soni on Jul 25, 2008 8:16 AM -
Problem while creating WBS elements using LSMW
Hello experts,
I am able to create Project Definitions using LSMW. (using recording)
But there is a problem while creating WBS elements.
Tcode CJ20 has table control and that will become problem for multiple rows (levels).
Can anyone suggest a solution to mass upload WBS elements?
Thanks for your valuable advice.Hi,
Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.
If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.
I am using different sets of BAPIs to create project, create / change WBS element.
I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
For example if you want to create / change the WBS element, the BAPIs sequence is:
<b>1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2054_CREATE_MULTI ( to create WBS )
or
2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT</b>
Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.
Let me know if you need further information.
Regards,
RS -
Problem while exporting the data from a report to an excel file.
Hi SAP guru's,
I have a problem while exporting the data from a report to an excel file.
The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
Required text (Russian):
Операции по счету
№ документа Тип документа № учетной записи Дата документа Валюта Сумма, вкл. НДС Срок оплаты Описание документа
Current Text :
? 5 @ 0 F 8 8 ? > A G 5 B C
! 4 > : C "" 8 ? 4 > : C ! C G 5 B = > 9 7 0 ? 8 A 8 0 B 0 4 > : C 0 ; N B 0 ! C < ! @ > : > ? ; 0 B K ? 8 A 0 = 8 5 4 > : C
Can you help me making configuration settings if any?
Regards,
Avinash RajuHi Avinash
To download such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
Best regards -
Error while creating requirements data in pendulum list indirect sales.
hi all,
i am getting the following error while creating requirement data in pendulum list indirect sales. t - code - /BEV4/PLAN
" ERROR OCCURED WHILE DETERMINING PERIOD IDENTIFIER""
-- help would be much appreciated..
thanks in advance
leovar spObj = $().SPCascade({
destListColTitles: ['Continent','Country','State','City'],
srcListColInternalNames: ['Continent','Country','State','Title'],
srcListName: 'CitiesLookupList',
srcListFilterCAMLQuery: "<Query><Where><Contains>
<FieldRef Name='Continent'/><Value Type='Text'>America</Value>
</Contains></Where></Query>"
spWebURL: 'http://sharepointurl',
getDataOnly: 'false',
debug: 'true',
}); -
Problem: While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off. Video soundtrack is not in the right place. HELP!
Have you checked out the topics at the right in the More Like This section?
OT -
Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?
Hi All,
I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
SQL> select * from v$version;
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>
SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
Table created.
SQL> create materialized view log on t;
Materialized view log created.
SQL> create public synonym syn_t for t;
Synonym created.
SQL> CREATE MATERIALIZED VIEW MV_t
2 REFRESH ON DEMAND
3 WITH PRIMARY KEY
4 AS
5 SELECT name,id
6 FROM syn_t;
Materialized view created.
SQL> CREATE MATERIALIZED VIEW LOG ON MV_t
2 WITH PRIMARY KEY
3 (name)
4 INCLUDING NEW VALUES;
Materialized view log created.
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for Solaris: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
SQL>
SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
Table created.
SQL> create materialized view log on t;
Materialized view log created.
SQL> create public synonym syn_t for t;
Synonym created.
SQL> CREATE MATERIALIZED VIEW MV_t
REFRESH ON DEMAND
WITH PRIMARY KEY
AS
2 3 4 5 SELECT name,id
FROM syn_t; 6
Materialized view created.
SQL> CREATE MATERIALIZED VIEW LOG ON MV_t
WITH PRIMARY KEY
(name)
INCLUDING NEW VALUES; 2 3 4
CREATE MATERIALIZED VIEW LOG ON MV_t
ERROR at line 1:
ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
Message was edited by:
Avinash Tripathi
nullHi Nicloei,
Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
Regards
Avinash -
Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
Appreciate for any help rendered.Mikko777 wrote:So what is the best?
I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
Mikko777 wrote:PS:You produce a lot of text and welcome smile
Yeah. Wonder why I'm still employed? So do I ... -
While creating the Data source for Sql server am getting this error?
Hi i new to Power BI sites and office 365,
For my first step
1. i have successful creaeted Gateway in Office 365
2.Now i have creating the Data source for that gateway using Sql server R2
3.While Creating the Data source using the Corresponding gateway i have given and next phase set Credentials phase i have noticed one pop up window and it will shows me like
Data source Settings and below in that window it will show's u the things like
Datasource Name.
Loading......
Credentials type:
Privacy Level:
Failed to verify parameter
I will get this results finally ,so hw should i achive this probelm ,Please let me know if any one knows
So kindly give me the proper answer for this.
RegardsAny suggestions for Chinnarianu?
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Problem while creating URL iview (in EP7.0)
Hi,
I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
"No templates to display. You are not assigned to any existing templates."
please assist me in this regard.
Thanks,
SuriHi Manoj,
Thank you for your reply.
I am still getting the same messages even after creating the iview template in EP7.0
Created through:
content Admin --> portal content --> <folder>new --> iview --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
Open object for editing...--> Object is a Template to Yes.
Result :
content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
"No templates to display. You are not assigned to any existing templates."
Rgrds,
Suri.
Maybe you are looking for
-
ICloud Address Book Duplication and Calendar Not Syncing
Hi guys, I recently upgraded to iCloud despite the number of issues I read about on these forums. My initial reaction was a positive one but now I have two things I am struggling to work out: My Address Book's search function completely froze up, mea
-
Hi, The folowing process takes 50% cpu and sometimes it takes 100% cpu in Oracle 10g AS (OS version 5.8), what is the way to get ride of this problem? /ORACLE_HOME/jdk/jre/bin/java -server -cp /ORACLE_HOME Also, please let me know how to get into ora
-
Move my license to another computer
I need to deactivate my license on my old laptop so I can activate it on my new laptop.
-
HT4910 Can I restore deleted g mail with icloud
Can I restore deleted g mail with icloud
-
Unbalanced Transaction [ Message 131-91 ]
Dear All Experts, Iam getting error Unbalanced Transaction [ Message 131-91 ] when im adding Draft A/R Invoice. This A/R Invoice has been made from the Sales Order. Regards,