Change Individual Material - What are the required parameters?
All,
I've just started using ES Workplace to test out some of the packaged SAP services. I've been able to successfully use the "Find Material Basic Data by Elements" service to search for materials. But now I'm having trouble with the "Change Individual Material" service and getting it to do anything. Specifically, I can invoke the service from WS Navigator and it says that it executed successfully but the fields that I was attempting to chagne are not changed on the material.
So, I have two questions:
1.) Where is the documentation for each service which defines which fields are reqruied for the service method to execute successfully? I don't see it anywhere.
2.) For this service in particular, what fields are required for the service to execute? Say, for example, that I want to change the volume of a material. Which fields need to be populated?
I can see some sample test data is also given there, please see link posted in previous post (but for ERP).
Regarding your question about so many fields required to update certain data then please remember these services are created to be very generic so you pass lot of data which you may not want to update but only change field which you want to update and it should work.
Same service you can use to update different attributes of Individual Material.
One more thing, you are reading data using material service and trying to update individual material, is it correct? i thought they are two different thing.
Regards,
Gourav
Similar Messages
-
Can any one say What are the mandatory parameters in BAPI_GOODSMVT_CREATE
Hi,
Can any one say What are the mandatory parameters in
BAPI_GOODSMVT_CREATE.
Helpful answer will be rewarded.Hi,
The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
BAPI TO Upload Inventory Data
GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
02 - MB31 - Goods Receipts for Prod Order
03 - MB1A - Goods Issue
04 - MB1B - Transfer Posting
05 - MB1C - Enter Other Goods Receipt
06 - MB11
Domain: KZBEW - Movement Indicator
Goods movement w/o reference
B - Goods movement for purchase order
F - Goods movement for production order
L - Goods movement for delivery note
K - Goods movement for kanban requirement (WM - internal only)
O - Subsequent adjustment of "material-provided" consumption
W - Subsequent adjustment of proportion/product unit material
report zbapi_goodsmovement.
parameters: p-file like rlgrap-filename default
'c:\sapdata\TEST.txt'.
parameters: e-file like rlgrap-filename default
'c:\sapdata\gdsmvterror.txt'.
parameters: xpost like sy-datum default sy-datum.
data: begin of gmhead.
include structure bapi2017_gm_head_01.
data: end of gmhead.
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
data: begin of mthead.
include structure bapi2017_gm_head_ret.
data: end of mthead.
data: begin of itab occurs 100.
include structure bapi2017_gm_item_create.
data: end of itab.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
data: begin of pcitab occurs 100,
ext_doc(10), "External Document Number
mvt_type(3), "Movement Type
doc_date(8), "Document Date
post_date(8), "Posting Date
plant(4), "Plant
material(18), "Material Number
qty(13), "Quantity
recv_loc(4), "Receiving Location
issue_loc(4), "Issuing Location
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
del_no(10), "Delivery Purchase Order Number
del_item(3), "Delivery Item
prod_doc(10), "Production Document No
scrap_reason(10), "Scrap Reason
upd_sta(1), "Update Status
end of pcitab.
call function 'WS_UPLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = sy-uname.
gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
loop at pcitab.
itab-move_type = pcitab-mvt_type.
itab-mvt_ind = 'B'.
itab-plant = pcitab-plant.
itab-material = pcitab-material.
itab-entry_qnt = pcitab-qty.
itab-move_stloc = pcitab-recv_loc.
itab-stge_loc = pcitab-issue_loc.
itab-po_number = pcitab-pur_doc.
itab-po_item = pcitab-po_item.
concatenate pcitab-del_no pcitab-del_item into itab-item_text.
itab-move_reas = pcitab-scrap_reason.
append itab.
endloop.
loop at itab.
write:/ itab-material, itab-plant, itab-stge_loc,
itab-move_type, itab-entry_qnt, itab-entry_uom,
itab-entry_uom_iso, itab-po_number, itab-po_item,
pcitab-ext_doc.
endloop.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = ' '
IMPORTING
goodsmvt_headret = mthead
MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item = itab
GOODSMVT_SERIALNUMBER =
return = errmsg
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ mthead-mat_doc, mthead-doc_year.
perform upd_sta.
endif.
endif.
FORM UPD_STA *
form upd_sta.
loop at pcitab.
pcitab-upd_sta = 'X'.
modify pcitab.
endloop.
call function 'WS_DOWNLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
endform.
*--- End of Program
Reward for useful answers.
Regards,
Raj. -
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
What are the required settings for Quality Certificate
Hi Team
What are the required settings for Quality Certificate for Raw material from vendor. This is my RR - Result Recording for inspection lot.
Please sugget me T-Code to view this.
Can I see say for 6-9 months RR done insp. lot.
ThanksSettings for Quality Certificate for Raw material from vendor,
Activate QM Procurement key, enter qm control key with certificate and Enter certificate type in certificate field.
There are 2 cases,
u want details of certificate send by vendor
u want to record results and see inspection lot wise results.
case1
depending upon the certificate selected by u, system will give u warning or error msg for certificate confirmation at the time of gr. for confirmation QC51 t_code is used. here status has to be changed to 'filed and inspected' then gr will be allowed.
all these certificates can be dispalyed in QC55 T_CODE.
CASE2
U can record results and see in inspection report tab in QA33
Edited by: YOGINI B THORAT on Aug 4, 2009 -
What are the default parameters for PER_EVENTS api
Dear Experts,
Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
procedure create_event
(p_validate in BOOLEAN default FALSE
,p_date_start in DATE
,p_type in VARCHAR2
,p_business_group_id in NUMBER default NULL -- HR/TCA merge
,p_location_id in NUMBER default NULL
,p_internal_contact_person_id in NUMBER default NULL
,p_organization_run_by_id in NUMBER default NULL
,p_assignment_id in NUMBER default NULL
,p_contact_telephone_number in VARCHAR2 default NULL
,p_date_end in DATE default NULL
,p_emp_or_apl in VARCHAR2 default NULL
,p_event_or_interview in VARCHAR2 default NULL
,p_external_contact in VARCHAR2 default NULL
,p_time_end in VARCHAR2 default NULL
,p_time_start in VARCHAR2 default NULL
,p_attribute_category in VARCHAR2 default NULL
,p_attribute1 in VARCHAR2 default NULL
,p_attribute2 in VARCHAR2 default NULL
,p_attribute3 in VARCHAR2 default NULL
,p_attribute4 in VARCHAR2 default NULL
,p_attribute5 in VARCHAR2 default NULL
,p_attribute6 in VARCHAR2 default NULL
,p_attribute7 in VARCHAR2 default NULL
,p_attribute8 in VARCHAR2 default NULL
,p_attribute9 in VARCHAR2 default NULL
,p_attribute10 in VARCHAR2 default NULL
,p_attribute11 in VARCHAR2 default NULL
,p_attribute12 in VARCHAR2 default NULL
,p_attribute13 in VARCHAR2 default NULL
,p_attribute14 in VARCHAR2 default NULL
,p_attribute15 in VARCHAR2 default NULL
,p_attribute16 in VARCHAR2 default NULL
,p_attribute17 in VARCHAR2 default NULL
,p_attribute18 in VARCHAR2 default NULL
,p_attribute19 in VARCHAR2 default NULL
,p_attribute20 in VARCHAR2 default NULL
,p_party_id in NUMBER default NULL -- HR/TCA merge
,p_event_id out nocopy NUMBER
,p_object_version_number out nocopy NUMBER
);From the menu bar, select
▹ System Preferences... ▹ Network
Click the Assist me button and select Assistant. Follow the prompts. -
What are the required things to do the debug?
hi Experts,
What are the required things to do the debug?
thanks in advance
sekharHi,
There are different ways to go in debugging mode.
One way is to go to the transaction and put /h + enter in the top blank space.
The other way is to but a breakpoint in your program.After you execute the program,it will stop at the breakpoint and go into debugging mode.
The thirdway is to write break-point in the code at a specific point.On execution it will stop at that point.
A fourth way is to write break (your user id).It will stop only for you and then you can debug it.
Hope it was useful.
Thanks,
Sandeep. -
What are the required depreciation areas to post IFRS
Hi,
what are the required depreciation areas to post IFRS
Thanks And Regards.
Ramakrishna.KHi,
You should use the local rules for depreciation area 01 = local book and
set up your group rules in another depreciation area such as 30 where you can use different GAAP.
Regards
Sunil
Assign Points, if Useful -
What are the Admin Parameters in Weblogic server?
What are the Admin Parameters in Weblogic server?
Hi,
Can you explain what specifically are you looking for? Are you looking for parameters to weblogic.Admin command or something else?
Anil -
What are the requirements for Dreamweaver?
What are the requirements for Dreamweaver? The link is broken
http://www.adobe.com/products/dreamweaver/tech-specs.html
Works for me...
Mylenium -
what are the requirements for adobe photoshop cs6? I am a beginner doing self study... please help
HI balaram reddy
You can use the administration guide under the below link.....
service.sap.com/instguidesu2192 mySAP Business Suite Solutions u2192 mySAP SRM u2192 Using SAP SRM Server 5.5 u2192Solution Operations Guide: mySAP Supplier Relationship Management
Please find the links as requested. You will find lot of documents and so on here.
http://service.sap.com/srm
http://help.sap.com/saphelp_srm50/helpdata/en/0e/cede3b6bc8682be10000000a11402f/frameset.htm
Regards
Bandla -
What are the requirements for publishing an App for private distribution, not sale.
I need to create an App in English and 4 other languages for private distribution to individuals. What are the requirements for doing this please? I currently have a just a Single Edition license. Am I right in understanding I need a Cloud subscription and an Apple Developer subscription also?
My client desire is to only make their accessible to paying members requiring a sign–in before download. Does this fall into a private distribution deployment.
-
What are the requirement need for installing of PI7.1
Hello All,
What are the Hardware and Software requirements required for Installing PI 7.1. Installation of PI 7.1. need 64 bit operating system or can I install 32 bit operating system.
Can anybody send me the installation document on PI 7.1.
Thanks & Regards,
Venkat KHi,
yes only 64 bit is supported read page no 15 of below link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40328fc8-4844-2b10-b7a2-8930c16df2ba
Installation guide.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00004f25-6190-2b10-2c8b-fa419234c28b
Re: SAP PI 7.1 minimal hardware
chirag -
What are the required configuration tasks to enable flashback feature?
Hi,
I want to use the flashback feature on a table. Can anyone tell me what are the configuration changes that needs to be done in order to use this feature?
Thanks in advance,
Anniehttp://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm
if you mean ...
Flashback Table
When a human or application error occurs, you want to be able to restore the state of one or more tables to a point in time before the problem occurred.
You have to set UNDO_RETENTION initialization parameter.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#i1015145
if you mean..
Flashback Drop
In Oracle Database 10g. When a user drops a table, Oracle automatically places it into the Recycle Bin.
By the way it can not use with table on SYSTEM tablespace. -
What are the required settings to enable HTTP Compression?
I am running into download speed issues with some of my clients. I am looking for ways to improve download response without having to rewrite my system(s).
On the server side, I am using CF 8.01 on a W2003 system. I have enable HTTP Compression for the web site in IIS 6.0 for both static and dynamic files.
On the client side where I am doing my testing, I am using IE 8.0 on a W7 professional system. In I.E., I have enabled HTTP 1.1 under advanced options and am using Automatic mode as the download methodology for Temporary Files.
It is my understanding that there is nothing that I have to do to CF to enable HTTP Compression.
It does not appear to work because the downloaded cfm files (5717 and 694389) are the same size regardless of these setting. In addition, I am using HttpWatch to determine all of the time and size parameters for each request. HttpWatch tells me in the summary that there are no HTTP Compression savings; i.e., HTTP Compression saving: 0 bytes. Based upon some of the info I've read on the web, I would have expected 50% to 75% savings since the two files being downloaded are both dynamic text files. All of the graphics, javascript, css files are cached so they do not figure into the equation.
Is there something else beyond the IIS and IE settings that needs to be done to implement HTTP Compresssion???
Thanks in advance for your suggestions/help.
LenAdam,
I have read the references and may now be confused, but it seems to me that just doing the standard IIS Manager setup, which is what I've done, will not compress CFM files since the only things that are compressed under dynamic files are exe, dll and asp.
One would think that CF should have added CFM to the list of compressed dynamic files when it was installed as it does with default.cfm, but maybe I'm expecting too much.
If I am correct about this, then it would seem that I'm going to have to customize the compression setup as described in this quote from the reference,
"Specify additional file types to compress. Edit the ... HcScriptFileExtensions metabase property (for dynamic files) to apply compression to additional file types."
Am I misunderstanding this document???
Len -
What are the requirements to deploy Portlets from Jdeveloper 10.1.3.2
Hi all,
I'm new in version Jdeveloper 10.1.3.2
plz which version of Application Server (infrastructure and middle-tier)
or web-center are required to deploy portlet from jdeveloper 10.1.3.2
can you send me links about these requirments
thanksI had already applied all of this before trying to deploy.
The error seems to be a versioning error in the jsf-impl.jar file as the ApplicationAssociate class is found there. I have changed the JDK and J2EE to 1.4.2 and 1.3 respectively, rebuilt everything, updated all the settings to the right versions for 10.1.2 but it still keeps failing on the deploy.
Maybe you are looking for
-
Odd error message when attempting installation of iTunes 8
When I try to install the iTunes 8 (the most recent version), I get an odd error message and am unable to successfully complete the installation. This is the message: Could not access network location %USERPROFILE%\Start Menu\Programs\Startup\ This m
-
Web Dynpro Model Wizard Exception
Hi there, I've recently installed the latest Netweaver'04 Sneak Preview and I get the following exception when generating an R3 Adaptive RFC model (using the "create model" Wizard): org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.
-
When I double click on Firefox Icon, it doesn't start
when I double click on Firefox icon the clock glass appears on my pointer but the Firefox doesn't start. but some days like today it opens and doesn't have any problem. I predict that I will have this problem again after I close the Firefox's window.
-
MacBook Pro does not start up. Shuts down after apple logo screen with a loading bar.
I booted my macbook pro up today and i noticed it took a while to do so. i also noticed that the fans were going fast and the macbook was getting hot during the start up process. When i went to the screen i also noticed a loading bar which i havent n
-
Printing to PDF– printer offline
I'm trying to print a document to PDF. In the dock is a printer icon labeled Adobe PDF 8.0 @ My Computer When I click on the icon a box opens, showing the cue. It says "Printing '2012 AlumBulletin.indd.' Looking for printer... Printer offline. How do