Problem in executing BAPI_GOODSMVT_CREATE
Hello Experts,
I have created STO. From STO I have created an Inbound Delivery.Now I have to do PGR by using BAPI_GOODSMVT_CREATE.
I am passing
GOODSMVT_CODE 01
GOODSMVT_ITEM
Material
Plant
Storage Location
Batch
Move _Type - 109 (As mentioned by Functional)
Entry_QNT
Entry_UOM
PO_Number
PO_Item
No_More_GR
MVT_IND - B
DELIV_NUMB_TO_SEARCH
DELIV_ITEM_TO_SEARCH
But error message getting populated in IT_RETURN
E M7 036 No goods receipt possible for purchase order 5700000855 00010
Can anyone solve this problem??
One more query is this the correct BAPI to do PGR via tcode VL32N??
Hi please check this sample code. it creates goods movement using this BAPIits just that its a upload program. you can modify by your requirement.
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE rlgrap-filename.
TYPES: BEGIN OF t_datatab,
col1(30) TYPE c,
col2(30) TYPE c,
col3(30) TYPE c,
col4(30) TYPE c,
col5(30) TYPE c,
col6(30) TYPE c,
col7(30) TYPE c,
col8(30) TYPE c,
col9(30) TYPE c,
col10(30) TYPE c,
col11(30) TYPE c,
END OF t_datatab.
DATA: it_datatab type standard table of t_datatab,
wa_datatab type t_datatab.
DATA: it_raw TYPE truxs_t_text_data.
* At selection screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
*START-OF-SELECTION.
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
* I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it_datatab[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*** Create batch upload using BAPI_GOODSMVT_CREATE
PERFORM CREATE_BATCH_UPLOAD.
*& Form CREATE_BATCH_UPLOAD
* text
* --> p1 text
* <-- p2 text
FORM CREATE_BATCH_UPLOAD .
DATA : GT_GOODSMVT_HEADER LIKE BAPI2017_GM_HEAD_01.
DATA : GOODSMVT_ITEM TYPE TABLE OF BAPI2017_GM_ITEM_CREATE,
WA_GOODSMVT_ITEM TYPE BAPI2017_GM_ITEM_CREATE,
* L_RETURN LIKE BAPIRET2,
RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
TYPES : BEGIN OF ITAB,
MATNR TYPE MATNR,
WERKS TYPE WERKS_D,
CHARG TYPE CHARG_D,
END OF ITAB.
DATA : IT_ITAB TYPE STANDARD TABLE OF ITAB,
WA_ITAB TYPE ITAB.
DATA : MATERIALDOCUMENT TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
* MATDOCUMENTYEAR TYPE BAPI2017_GM_HEAD_RET-DOC_YEAR.
*DATA : GT_GOODSMVT_HEARRET LIKE BAPI2017_GM_HEAD_RET.
DATA : V_LINES TYPE CHAR4,
GOODSMVT_CODE TYPE BAPI2017_GM_CODE VALUE '04'.
GT_GOODSMVT_HEADER-PSTNG_DATE = SY-DATUM.
GT_GOODSMVT_HEADER-DOC_DATE = SY-DATUM.
LOOP AT IT_DATATAB INTO WA_DATATAB.
WA_GOODSMVT_ITEM-MATERIAL = wa_datatab-col7.
WA_GOODSMVT_ITEM-MOVE_BATCH = wa_datatab-col10.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = WA_GOODSMVT_ITEM-MOVE_BATCH
IMPORTING
OUTPUT = WA_GOODSMVT_ITEM-MOVE_BATCH
WA_GOODSMVT_ITEM-PLANT = wa_datatab-col4.
WA_GOODSMVT_ITEM-STGE_LOC = wa_datatab-col5.
WA_GOODSMVT_ITEM-BATCH = wa_datatab-col9.
WA_GOODSMVT_ITEM-MOVE_TYPE = wa_datatab-col3.
WA_GOODSMVT_ITEM-ENTRY_QNT = wa_datatab-col8.
WA_GOODSMVT_ITEM-MOVE_STLOC = wa_datatab-col6.
WA_GOODSMVT_ITEM-ITEM_TEXT = wa_datatab-col11.
APPEND WA_GOODSMVT_ITEM TO GOODSMVT_ITEM.
CLEAR WA_GOODSMVT_ITEM.
ENDLOOP.
select MATNR WERKS CHARG from MCHB into table it_itab for all entries in GOODSMVT_ITEM
where matnr = GOODSMVT_ITEM-MATERIAL and
charg = GOODSMVT_ITEM-MOVE_BATCH. " GOODSMVT_ITEM-MOVE_BATCH.
DESCRIBE TABLE GOODSMVT_ITEM LINES V_LINES.
IF IT_ITAB[] IS INITIAL.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = GT_GOODSMVT_HEADER
GOODSMVT_CODE = GOODSMVT_CODE
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
* GOODSMVT_HEADRET = GT_GOODSMVT_HEARRET
MATERIALDOCUMENT = MATERIALDOCUMENT
* MATDOCUMENTYEAR = MATDOCUMENTYEAR
TABLES
GOODSMVT_ITEM = GOODSMVT_ITEM
* GOODSMVT_SERIALNUMBER =
RETURN = RETURN
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
IF RETURN[] IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
* IMPORTING
* RETURN = l_return
WRITE : TEXT-001 , MATERIALDOCUMENT.
WRITE : TEXT-005 , V_LINES.
ELSE.
WRITE: TEXT-002 ,
/ RETURN-MESSAGE.
ENDIF.
ELSE.
WRITE : TEXT-003.
ULINE.
Loop at it_itab into wa_itab.
WRITE : TEXT-004 , wa_itab-matnr , wa_itab-charg.
ENDLOOP.
ENDIF.
ENDFORM. " CREATE_BATCH_UPLOAD
Similar Messages
-
Re: [iPlanet-JATO] Experiencing problem while executing model.
Hi Todd,
Thanks a lot for your input!
In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
column name in the resultset. So I am using this as a column in Jato
Descriptor for Plan_Dt. Now it is working fine.
Thanks and Regards,
Santa.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Thursday, July 26, 2001 9:50 AM
Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
Santa--
I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
execute of TiledView, it throws an exception describing "PLAN_DT not found
in ResultSet". If you execute this query on the SQL prompt then we getrows
of data. Please could you tell us how the mapping between model and
resultset works ? And what changes do we have to make to execute thisquery.
>>
SELECT PART_NM,NEWTXTDOLL
TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
FROM cpsselect
WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
you provide in your model's column descriptors. It sounds as if you are
providing the column name "PLAN_DT" in a descriptor, and when the model
tries to look up that column in the result set, there is no such columnand
the operation fails.
In order to debug this, you should try running your query with a JDBC
connection, not SQL*Plus or your command-line SQL tool. What you need to
find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
a column name in the resut set. The easiest way to do this is to write a
simple class that does nothing but use your JDBC driver to connect the
database and execute this query. After execution, use theResultSetMetaData
information to find out the column names for the result set. Then, use
these column names in your JATO column descriptors.
Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
I'm sorry, this isn't enough information for me to offer any suggestions.
Using the technique above, determine which columns are coming back in the
result set, and make sure your display fields in the TiledView are boundto
those column names. The problem could be something as simple as a typo in
the field's bound name, or something more complex like the column in the
result set being named something you don't expect.
Another approach might be to alias the columns yourself using the "AS
<alias>" expression, and assign them names that you choose instead ofusing
the names assigned by the database or JDBC driver.
Todd
[email protected]
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity to
which
it is addressed, and may contain information that is privileged, confidential
or
exempt from disclosure under applicable law. If this is a forwarded message,
the content of this E-MAIL may not have been sent with the authority of the
Company. If you are not the intended recipient, an agent of the intended
recipient or a person responsible for delivering the information to the named
recipient, you are notified that any use, distribution, transmission,
printing,
copying or dissemination of this information in any way or in any manner is
strictly prohibited. If you have received this communication in error, please
delete this mail & notify us immediately at mailadmin@w...
[Non-text portions of this message have been removed]Hi Todd,
Thanks a lot for your input!
In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
column name in the resultset. So I am using this as a column in Jato
Descriptor for Plan_Dt. Now it is working fine.
Thanks and Regards,
Santa.
----- Original Message -----
From: Todd Fast <toddwork@c...>
Sent: Thursday, July 26, 2001 9:50 AM
Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
Santa--
I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
execute of TiledView, it throws an exception describing "PLAN_DT not found
in ResultSet". If you execute this query on the SQL prompt then we getrows
of data. Please could you tell us how the mapping between model and
resultset works ? And what changes do we have to make to execute thisquery.
>>
SELECT PART_NM,NEWTXTDOLL
TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
FROM cpsselect
WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
you provide in your model's column descriptors. It sounds as if you are
providing the column name "PLAN_DT" in a descriptor, and when the model
tries to look up that column in the result set, there is no such columnand
the operation fails.
In order to debug this, you should try running your query with a JDBC
connection, not SQL*Plus or your command-line SQL tool. What you need to
find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
a column name in the resut set. The easiest way to do this is to write a
simple class that does nothing but use your JDBC driver to connect the
database and execute this query. After execution, use theResultSetMetaData
information to find out the column names for the result set. Then, use
these column names in your JATO column descriptors.
Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
I'm sorry, this isn't enough information for me to offer any suggestions.
Using the technique above, determine which columns are coming back in the
result set, and make sure your display fields in the TiledView are boundto
those column names. The problem could be something as simple as a typo in
the field's bound name, or something more complex like the column in the
result set being named something you don't expect.
Another approach might be to alias the columns yourself using the "AS
<alias>" expression, and assign them names that you choose instead ofusing
the names assigned by the database or JDBC driver.
Todd
[email protected]
The Information contained and transmitted by this E-MAIL is proprietary to
Wipro Limited and is intended for use only by the individual or entity to
which
it is addressed, and may contain information that is privileged, confidential
or
exempt from disclosure under applicable law. If this is a forwarded message,
the content of this E-MAIL may not have been sent with the authority of the
Company. If you are not the intended recipient, an agent of the intended
recipient or a person responsible for delivering the information to the named
recipient, you are notified that any use, distribution, transmission,
printing,
copying or dissemination of this information in any way or in any manner is
strictly prohibited. If you have received this communication in error, please
delete this mail & notify us immediately at mailadmin@w...
[Non-text portions of this message have been removed] -
Problem While Executing T.CODE DP90
Hi,
We have Upgrade our system from 4.6C to ECC6.
We are facing following problem while executing Resource Related Billing request
Through Transaction code DP90.
Process.
1. We are creating Sales Order and system will create Service order automatically as per the configuration.
2. In service order we have External as well internal operations ,
Internal operations will be confirmed through IW41, and External Operations we are creating Purchase Requisition then creating PO and MIRO,
After all Operations confirmed we will make Service order status as technically completed, then we are executing DP90 for Resource Related Billing, System will determine the material, combination of Cost element and Activity Type (Which is configured in T.Code ODP1) For External Operations System is Considering Activity Type for material determination in 4.6c but it is not considering Activity Type for Material Determination in ECC6 for External Operations.
Please Help me,
Edited by: D B on Apr 29, 2008 6:13 PMHi Prashanth,
Thanks for your reply, but all activity are valid in current period, in our Scenario in the old system for External Operations with combination of Activity type and Cost element system is determining material but where as in the new system for external operations it is not considering the Activity type and system is determining the material in the combination of Cost element and Blank activity type so, we are getting different material in DP90. -
Problem in executing the adobe form
Hi,
Using the SFP tcode i have createda an interface and a form for that interface.
i have to import parameters from vbap table which i have mapped in the form..there is no problem while executing and activating the form...
but while i am executing the form after passing the values i am getting an exception : SYSTEM ERROR
Meassage ID: FPRUNX
ADS: SOAP Runtime Exception: CSoap Exception Transport.
Are the forms craeted using SFP tcode are Standalone forms i.e. non-interactive forms?Hi friend,
Its not like that the Adobe created using SFP is non interactive.
We can create interactive forms using SFP transaction using java code.
I think it will be the problem with ADS just check with your basis people i think they will configure you the settings which works fine.
To check whether the settings are perfect you can try executing the standard programs FP_TEST_00 and
FP_PDF_TEST_00. If it works fine then some other problem exists else check with your basis team.
Just check this and revert me if you have any issues. I will help you
Thanks,
Sri Hari -
Problem in executing JFCunit test case
Hi all,
I have problem in executing a simple test case that checks for input blank fields entered.
Below is the code for the test class that i am trying to run, but i am unable to execute it. Please can anyone try to resolve this.
package unittest.com.erp;
import junit.extensions.TestSetup;
import junit.extensions.jfcunit.*;
import junit.extensions.jfcunit.finder.*;
import junit.extensions.jfcunit.eventdata.*;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
import com.erp.client.swing.ClientLoginDialog;
import com.erp.client.swing.workspace.ClientWorkspaceFrame;
import com.erp.client.swing.workspace.data.LoginResults;
import javax.swing.*;
public class LoginScreenTest
extends JFCTestCase {
private ClientLoginDialog loginScreen = null;
private JButton login = null;
private JButton cancel = null;
private JTextField username = null;
private JTextField password = null;
private JFCTestHelper helper = null;
LoginResults loginSuccess = null;
ClientWorkspaceFrame workspaceFrame = null;
public LoginScreenTest() {
public LoginScreenTest(String name) {
super(name);
public static Test suite() {
return new StartApp(new TestSuite(LoginScreenTest.class));
private static class StartApp
extends TestSetup {
* Construct the test decorator, which starts the application *
* @param test
* Test case.
public StartApp(final Test test) {
super(test);
* Start the LoginScreenTestapplication.
public void setUp() {
new Thread(new Runnable() {
public void run() {
try {
new LoginScreenTest().setUp();
} catch (Exception e) {
}).start();
try {
Thread.currentThread().sleep(10000);
} catch (InterruptedException ex) {
* Tear down the LoginScreenTest application.
public void tearDown() {
protected void setUp()
throws Exception {
super.setUp(); // Choose the text Helper
setHelper(new JFCTestHelper()); // Uses the AWT Event Queue.
// setHelper( new RobotTestHelper( ) ); // Uses the OS Event Queue.
ClientWorkspaceFrame workspaceFrame = ClientWorkspaceFrame.getHandle();
// loginScreen = new ClientLoginDialog( "LoginScreenTest: " + getName());
loginSuccess = ClientLoginDialog.login();
loginScreen = ClientLoginDialog.login(new JFrame(), true);
if (loginSuccess != null && loginSuccess.isSuccess()) {
workspaceFrame.initFrame();
workspaceFrame.loggedInUser = loginSuccess.getName();
workspaceFrame.loggedInFullUserName = loginSuccess.getFullLoginUserName();
workspaceFrame.loggedInUserPassword = loginSuccess.getPassword();
workspaceFrame.setVisible(true);
workspaceFrame.validate();
flushAWT();
protected void tearDown()
throws Exception {
login = null;
cancel = null;
username = null;
password = null;
loginScreen = null;
flushAWT();
// getHelper.cleanUp( this );
super.tearDown();
public void testInitialState() {
NamedComponentFinder finder = new NamedComponentFinder(JButton.class, "Cancel");
finder.setName("Cancel");
JButton exitButton = (JButton) finder.find(loginScreen, 0);
assertNotNull("Could not find the Exit button", exitButton);
NamedComponentFinder finder1 = new NamedComponentFinder(JButton.class, "Login");
finder1.setName("Login");
JButton enterButton = (JButton) finder1.find(loginScreen, 0);
assertNotNull("Could not find the Enter button", enterButton);
getHelper().enterClickAndLeave(new MouseEventData(this, enterButton));
assertEquals("", workspaceFrame.loggedInUser);
assertEquals("", workspaceFrame.loggedInUserPassword);
public static void main(final String[] args) {
TestRunner.run(LoginScreenTest.suite());
Thanks & Regards,
VishalMessage was edited by:
vishal_vj
Message was edited by:
vishal_vj
Message was edited by:
vishal_vj
Message was edited by:
vishal_vjhi All,
can any one guide me how to run the test casese in JFCunit ? as when i tried to run thru command prompt its not recognising the main class at all.
Now i m trying with eclipse problem here is that it is showing error to this line of code
DialogFinder dFinder = new DialogFinder(loginScreen);
error is constructor is undefined?
So looking for some solution.
with regards
kin -
Problem in executing a javascript link on a jsp page
I am having a problem in executing a javascript function from a link. For example if i click some link let say Discover and behind the scene some applet method is supposed to be called, but it is not called? However the the function name comes in the url area (address bar of internet explorer) like javascript:document.switchApplet.discover()
Can anybody help me solving this problem?
Moreover, just for a hint, i think i have deleted some registery value of such time so that's why it is not working. But i am not sure.what is d error u r getting ???
Is it java script error? yes then u can find the line no.
view the source code or ur page and find whether ur .js is including properly or not? means whether the path is correct ? -
Problem in executing EXE from browser-URGENT
Hi all,
I am facing a problem in executing "c exe" file from my web based application, iam using IAS
on Solaris. my program is able to catch the path but its not executing (this is wirking fine in windows) i am giving a sample code here
Runtime rt=Runtime.getRuntime();
Process pro=rt.exec("/datadisk1/java/runsol.exe");
pro.waitFor();
runsol.exe will generate s text file when executed, when i run this in a independent java program then it is executing, on browser it is not executing and output text file is not creating.
Note: i am working on Solaris / Oracle AS 9i
Thanks
Bye.Security issue. Calling .exe from applet not possible by default.
-
Hi all,
I am getting an error I can't solve until now.. Who can help?
The Default Trace in the EP 7.0/NWA gives the following information:
Severity: Error
Message: Problem in executing function module:[date]:com.sap.mw.jco.JCO$AbapException: (126) ERROR_IN_PDO: ERROR_IN_PDO
Category: /uwl/service
Location: com.sap.netweaver.bc.uwl.core.connect.abap.FunctionModuleActionHandler
Application: sap.com/tcwddispwda
The UWL connection tests are correct! So, who can help!
There is nothing to find in sap notes or sdn forum
Best regards,
G. LeursHi john,
I am also facing hte same issue.
when the user is trying to approve the Compleated shopping cart from the button availble in the UWL preview , I am getting the below error.
Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Wed Aug 25 12:16:52 CEST 2010 (Connector) :com.sap.netweaver.bc.uwl.connect.ConnectorException:Wed Aug 25 12:16:52 CEST 2010 (Connector) :com.sap.mw.jco.JCO$AbapException:ERROR_IN_PDO
we are not passing any ABAP role from teh SRM system.
it would be great if you can share your views regarding this.
Raji -
Error when executing BAPI_GOODSMVT_CREATE
Hi experts when iam trying to execute BAPI_GOODSMVT_CREATE..with GM Code : 03 with all required values in GOODSMVT_ITEM..iam getting a error when i execute it..
error is like this :
E M7 349 Content of order 60003537: QS300 transferred to interface (IMSEG): 100-310
pls help me out from this issue & let me know the procedure. Thank You in advance.Hi,
This is what the long text of the message states:
NA M7349
Short Text
Content of order &: & transferred to interface (IMSEG): &
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
So check your data.
Regards,
Robert -
Expdp problem when executing from pl/sql transportable tablespaces
Hello
i have a very strange problem for which your assistance is really appreciated. i am applying the transportable tablespaces approach and i have a problem when executing expdp from commandline in comparison to the procedure generated to make the exact same thing.
more precisely when running:
expdp etl/etl dumpfile=TBSP090609_DMP.dmp logfile=TBSP090609_DMP.log directory=EXPDP transport_tablespaces=TBSP090609 transport_full_check=y
the dmp file produced is over 200MB.
when runng the below pl/sql code the volume produced is around 50MB. any idea what i am missing?
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_LIST',
VALUE => '('''
|| tablespace_name
|| ''')'
dbms_datapump.start_job (job_handle);thanx you for your response. the problem was eventually managed to be resolved as follows:
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_EXPR',
VALUE => 'IN('''
|| tablespace_name
|| ''')');
dbms_datapump.start_job (job_handle); -
Facing Problem while executing a command through WLST
Hi,
Iam using Weblogic 11g(10.3.2).Whenever I execute the below command in WLST on windows it is working fine.
reassociateSecurityStore(domain="base_domain",admin="cn=orcladmin",password="welcome1",ldapurl="ldap://<hostname>:389",servertype="OID",jpsroot="cn=jpsroot_idm_idmhost1")
But whenever i execute the same in Linux,it is throwing the error as below:
wls:/base_domain/serverConfig> reassociateSecurityStore(domain="base_domain",admin="cn=orcladmin",password="welcome1",ldapurl="ldap://<hoistname>:389",servertype="OID",jpsroot="cn=jpsroot_idm_idm1")
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: reassociateSecurityStore
Please suggest....
Regards
PavanFacing Problem while executing a command through WLST
-
Problem while executing the transaction code FMBV (Reconstruct)
We are facing a problem while executing the transaction code FMBV
(Reconstruct Availability Control in Funds Management) in it when we
execute this transaction system only updates the expenditure which is
made before technical upgrade from 4.6c to ECC6 EHP6, against the
Assigned Budget (KBFC budget type) in the Annual Budget Table (BPJA)
and
the expenditure which we made after the upgrade, the program just
ignore
it. We can also see the expenditure in the standard FBL3N report.
Please guide us.
Thanks and Best Regards,Dear Abrar
In your description, you refer to missing update after an upgrade. First of all, see if table FMIT is consistent, as it is the basis for calculating the assigned values during AVC reconstruction.
Refer to this note:
977016 FMIT: Missing totals records in Funds Management And perform following steps:
1.- Run program RGZZGLUX
2.- Run program RFFMRC04 to match totals table with line items. A test run after a successful effective run should not find inconsistencies.
3.- If RFFMRC04 does not show more inconsistencies, run FMBV as final step.
Note that this reconstruction must be done without any other budgeting/posting activities at the same time, otherwise you may cause other inconsistencies.
Please let me know the results.
Best regards,
977016 - FMIT: Missing totals records in Funds Management
Symptom
After the upgrade to ERP 2004 or higher you realize that the FMIT totals table is no longer updated in Funds Management. You start the RFFMRC04 report to reconstruct the totals, but the report still displays the missing totals after an update run.
Other Terms
FMIT, EA-PS, ECC 5.00, ECC 6.00, ECC 7.00
Reason and Prerequisites
This problem occurs due to a generation error.
Solution
Start the RGZZGLUX report to generate missing source code in FI-SL. Then start the RFFMRC04 report to reconstruct the totals, now another run of the report should no longer display any errors. -
Facing a small problem while executing WDA application from portal
Hi Experts,
I developed web dynpro for ABAP application and placed table UI control, which contains 270 records. Executing from SE80, it is working fine and showing clearly all records.
This application integrated in portal, while executing this applicaiton from portal, it is working fine and showing all records.
Here I facing a small problem i.e Pager ( footer area ) of table.
When the table is displayed there are the small box in the below of the table showing ROWS 244 of 270.
244 will be available in a small box. this 244 is not showing clearly, while executing from portal ( last digit 4 displying half part only). but 244 showing clearly while executing from SE80.
Kindly suggest how to resolve this problem.
Thanks & Regards
SridharHi Gopi Krishna,
Thanks for your time. From SE80, it is working fine and showing clearly row number. There is no property for increase width of small box, which contains current row number).
Facing problem while executing from portal.
Thanks & Regards
Sridhar -
Menu bar problem when executing reports
We have a problem when executing the reports either from se38 or through transaction.
The standard menu bar is not appearing and in its place we are getting ????????????? ?????????????????
also the icons that are appearing in app tool bar are not showing anything.
Whats the reason for this?hi,
It is not for one single report iam talking about,any report that is executed from se38 or transaction .
In selection screen of report we are getting ???????????????
?????????????? in menu bar instead of normal options like program edit goto utilities.................
does any one know the reason for this?
This issue we are facing today only.
Edited by: Gautham chakraverthi on Oct 31, 2008 3:06 PM -
Problem in executing command prompt commands through application
Hi,
I am facing issue in executing commands through VC++ application.
My application is a dialog based MFC application in VS2008.
I want to execute below commands programmatically.
devenv D:\TestApp\TestApp.sln /rebuild release
devenv D:\TestApp\TestApp.sln /rebuild debug
But I am not able to set the current directory path as "D:\TestApp\" programatically.
Through which API I can execute multiple commands on command prompt programmatically same as we do manually on cmd.
Please Help.
Thanks in Advance.
Thanks & Regards, Mayank AgarwalI want to execute below commands programmatically.
devenv D:\TestApp\TestApp.sln /rebuild release
devenv D:\TestApp\TestApp.sln /rebuild debug
But I am not able to set the current directory path as "D:\TestApp\" programatically.
Through which API I can execute multiple commands on command prompt programmatically same as we do manually on cmd.
Why can you "not able to set the current directory path as "D:\TestApp\" programatically"? Are you forgetting to escape the backslashes?
Why to you need to set the current directory anyway?
What is the problem with executing multiple commands?
As to your basic goal, have you looked at
system()
ShellExecute()
ShelExecuteEx()
CreateProcess()
? Perhaps you should show us what you have tried.
David Wilkinson | Visual C++ MVP
Maybe you are looking for
-
Setting a bind variable in a Shared Component Report Query
I have defined a Shared Component Report Query in APEX using a bind variable similar to below Select name, id , .... from asset where id = :id I have also created a Report Region that displays a table where one of the columns contains a value I would
-
Batching SaveAs in CS6 will not save PDF Compatible
So I'm using a script that I wrote to bring in files that were converted from CorelDraw to EPS (this is the best conversion process to preserve text and drawing assets). Basically the script takes the art in the EPS, groups it, places a rectangular
-
Does Nokia 5130 Xpressmusic support wifi?
Please can someone advise me if it is possible to connect my Nokia 5130 Xpressmusic to any standard wifi network? Is extra software needed? What is the procedure to connect? Your thoughts wpould be appreciated. Kind Regards Chris Solved! Go to Soluti
-
Tried to shoot 60 FPS for slow motion, but ...
I have a DVCPro HD clip, 720P, 59.94 frames per second. I was hoping to get a medium slow-motion effect in FCP. So I imported it and put it in a 23.97 frames per second sequence. It shows at regular speed. Hmmm... I looked at the clip in the Viewer.
-
How to suppress the Warning messages while doing GR(MIGO)
Hi ALL, I have a requirement while posting goods GR/GI using T-code MIGO. Trying to do GR against PO using MIGO.After selecting the line item quantity and entering BATCH Number for line item Material when I click on 'CHECK' Pushbutton i am Getting th