cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while Creating /Maintaing Data in R/3 (BAPI_MATERIAL_SAVEDATA)

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

sridhar_k2
Active Contributor
0 Kudos

Hi,

"1)Trying To Create Material 2)The Material Cannot Be

Maintained since no Maintainable data Transferred".

These errors seems to be RFC Errors. Have u check this Before Executing from Web Dynpro?

Try by sending all required params from Web Dynpro End too.

Regards,

Sridhar

former_member189631
Active Contributor
0 Kudos

Hi Sri,

I think Those are not errors.They are Return Messages From Back end.Cos I mapped the Returnmessages of R/3 with a Table.So The Pblm might b in Passing the data.

There are more than 100 number of Fields In BAPI_MATERIAL_SAVEDATA .Can anyone Know the what are the fields must b pass to R/3 ?

Former Member
0 Kudos

Hi

You can see in the SE37 ->display mode -> Import parameters in the fields which are not checked as optional are should be given.

Kind Regards

Mukesh

sridhar_k2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Go through SAP note: 72147.

This doesn't look like a WD/ARFC problem to me. Have you tried executing the BAPI through SE37 in the backend R/3 system?

Regards,

Satyajit.