WebSAPConosole and SAPConsole Transactions
I have a question regarding the SAPConsole transactions. I need to develop Good Movement (Non-WM) transactions for SAPConsole using MB_GOODS_MOVEMENT_CREATE. Does anyone know SAP Best Practice for doing this? Is it to copy the R/3 transactions (MB1B, MB1C, MB01, etc.) and modify them for the SAP Console screens or would it be to build the user interface from scratch and call the function based the user input into the newly developed screens. Any help will be greatly appreciated.
Sorry, I could not find a better forum for this topic.
Scott
Hi Scott!
Unfortunately you cannot copy MB*(Goods movement txns) or any std R/3 txns and convert it directly to SAP Console Txns OR Web SAP Console Txns.First of all when you convert to SAP Console Txns, SAP Console is Character Based so the copy doesnot workout.For Webconsole the controls are limitied so you cannot convert the SAP GUI Screen to a Console Txn Screen.Also the screen sizes are different and you cannot fit in all the screen elements you see in the SAP GUI.
The best way is first make sure what fields you have to populate when you post the Goods Movement.Make sure for the console txns, you make the UI design accordingly(For SAP Console / Web Console transactions the screen size is 16x20 OR 8x40).Collect the data reqd for the Function Module OR BAPI via the SAP Console Transaction Screens you design and then you call the BAPI or FM to post the data.
I am not sure in which SAP version you are.I would recommend you to use BAPI_GOODSMVT_CREATE instead of MB_GOODS_MOVEMENT_CREATE.
Let me know if you have any additional questions.Hope this answers for now.
Thx
Gisk
Similar Messages
-
What is difference between enjoy transactions and Normal transactions
What is difference between enjoy transactions and Normal transactions
Ex:- ME22 & ME22N
What is difference between these two.hi ,
the transaction code with 'N' are created with help of object concept.
In your case ME22 is obsolete one and ME22N is the tcode created with object concept.
pls Reward helpful points
Thanks
Siva -
Status used in open and completed transactions in Fact Sheet
Hi! I would like to confirm the logics used in the fact sheet to display open and completed transactions. I read on the help that for open (for example) transactions, system is using status 'open' and 'in process'. This seems to me like system status. However, when I ran the fact sheet, the control is more at the user status level. So, I need clarification on this. Also, where can I find the status and transaction logics used for the extraction of these transactions (e.g. what transaction types are used)? I could not find the codings in the method GET_REPORT under class CL_CRM_CCKPT_PROCESS_CLOSED for example. Perhaps I have looked in the wrong place?
Appreciate any help on the above.
Cheers!
SFNo response. Based on what is being debugged, all transactions are taken into account.
-
Material Transaction and Move Transaction Managers are Going Inactive
hi
it was running previously but currently it becomes inactive.can any one tell in which table to look for the error related to this problem?
Kind Regards
SayantanHi;
What is your OS and EBS?
It was working before? If yes what have you been changed on your system(patch etc)
Please check below note:
Material Transaction And Move Transaction Managers Are Going Inactive [ID 93507.1]
Material Transaction and Move Transaction Managers are Going Inactive [ID 98757.1]
Regard
Helios -
Session method and call transaction methos which one is the sap recomonded
hi
PLease give me the answer to these questions.
session method and call transaction methos which one is the sap recomonded why .
2) if we want to maintain BDC program in all the systems.wt to d0Hi Revethi,
Here is the difference between the Session and Call Transaction method.
Session
Session method supports both small amount of data aswell as large amount of data
2) data processing is asynchronus and data updation is synchronus.
3) it process multiple apllication while perfomaning validations.
4) in session method data will be updated in data base only after processing session only.
5) system provide by default logfile for handling error records.
6) it supports both foreground aswell as background process
in bdc we use FM ... bdc_open_group " for creating Session
bdc_insert " adding transaction and bdcdata table for updating database
bdc_close_group " for closing Session
Call Transaction
Call transaction exclusively for small amout of data
2) it supports only one apllication while perfoming validations
3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
we can create logfile by using structure....BDCMSGCOLL
4) it doesn't support background processing.
5) data processing is synchronous and Data updation is Synchronous( default), in
this method also supports daya updation in asynchronus process also.
Syntax:
Call transaction <transaction-name> using BDCDATA
mode <A/N/E> update <L/A/S>
messages into BDCMSGCOLL. -
Spatial Index and XA transaction
Hi all,
I have problem with spatial index in XA transaction.
java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 623
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 227
My configuration Java 5, Tomcat 5.5, UserTransaction manager Bitronix.
The problem disappears after dropping spatial index.
sql statement:
INSERT INTO ICING_SPATIAL.MAP_ISSUES ( FEATURE_ID, GEOMETRY, AUTHOR_ID, ISSUE_ID, ISSUE_STATUS, LANGUAGE, SOURCE, TEXT) VALUES ( ? ,SDO_MIGRATE.TO_CURRENT( ? , ( SELECT DIMINFO FROM ALL_SDO_GEOM_METADATA WHERE OWNER = ? AND TABLE_NAME = ? AND COLUMN_NAME = ? ) ), ? , ? , ? , ? , ? , ? )
Full stacktrace is:
java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 623
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 227
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:212)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:951)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4245)
All user transactions are commited or rollbacked because the DBA_2PC_PENDING is empty: SQL> select * from SYS.DBA_2PC_PENDING;
no rows selected
SQL>
This problem occures regulary after any 2PC transaction has been rolledback. The next request causes this exception. Sometimes it appears after commit too, but I am able to reproduce it within ten or twenty requests.
Has anybody had simillar problem?
Thanks for any suggestions how to check what is going wrong.
Regards,
Zdenek VrablikThe problem is in Oracle Spatial.
Oracle database don't support Temporary tables and XA transactions together. Oracle Spatial uses temporary tables.
Possible solution (I am using)
One database connection(nonXA) to read data and one connection(XA) to insedt/update/delete data including spatial data. -
How to use DataSource and External transaction in 9ias?
I'm working on a project that the application server needs to connect to over 100 databases.
I'd like to use connection pooling and external transaction service defined in OC4J's Datasources.
I wonder if anyone has an example of using datasource and external transaction service for OC4J.
Right now, I export toplink project to a java source and do the initialization there manually but I don't know how to use Datasource to get connections and how to use the external transaction service in the java code for OC4J.
I really appreciate you help.
WeiHere is a fill in the blank example on how you could set this up through code:
Project project = new MyProject();
// alternatively, use the XMLProjectReader
server = project.createServerSession();
server.getLogin().useExternalConnectionPooling();
server.getLogin().setConnector(new JNDIConnector(new javax.naming.InitialContext(), "jdbc/DataSourceName"));
// the next line depends on the type of driver you want to use.
server.getLogin().useOracleThinJDBCDriver();
server.getLogin().useOracle();
server.getLogin().setUserName("username");
server.getLogin().setPassword("password");
server.getLogin().useExternalTransactionController();
server.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
server.logMessages();
server.login(); -
How can I configure a party such that this party can submit both 4010 and 5010 transaction?
I try to configure a party such that this party can submit both 4010 and 5010 transactions.
I encounter error related to ISA11 field.
When I submit a 4010 transaction, I need to uncheck the 'Use ISA11 as repetition separator' box in the X12 Interchange Processing Properties page of the party. If not I will encounter error if the character 'U' in ISA11 appears as content inside
the transaction.
On the other hand, if I submit a 5010 transaction and left the 'Use ISA11 as repetition separator' box uncheck, I will encounter the following error:
Error: 2 (Field level error)
SegmentID: ISA
Position in TS: 1
Data Element ID: ISA11
Position in Segment: 11
Data Value: ^
7: Invalid code value.
The character in ISA11 in 5010 transaction is '^'.
Is there any setting or trick I can use such that I don't have to adjust the 'Use ISA11 as repetition separator' box everytime a different version of EDI is submitted by the party.Hi,
The problem you are describing is not because of Version of the document but actually it is because of different kind of ISA11s you are using for one party. It can happen with the same verion document as well.
So for solving it You can right a pipline component and put it before edi-receive pipeline component. In this pipline component you can search ISA11 and replace with 'U' if you do not want to use it.
But I think the problem will come further becauase if you have '^' in ISA11 then most probably you would be using it in document as repetition separator. So please check if you are not using '^' in the doc and then apply this pipeline component.
Thanks
Gyan
If this answers your question, please mark it as "Answered". -
Problem with ALV_GRID and CALL TRANSACTION.
Hi all, Could you please tell me
At SE38
Why REUSE_ALV_GRID_DISPLAY and CALL TRANSACTION after called then I click the back button to return to the calling program but it automatic return to the source code? (it hasn't saves the data in alv grid )
In another case of this program, after automatic return to the source code then I have to waiting for 5-10 mins for execute again cuz if immediately execute the program don't fill any data to the alv grid.
I have problem with a simple source code like this
REPORT ZFS_ALV_DEMO.
TYPE-POOLS: slis.
DATA: itab LIKE STANDARD TABLE OF aufk WITH HEADER LINE.
DATA: gs_selfield TYPE slis_selfield "Information cursor position ALV
, w_aufnr LIKE aufk-aufnr. "Order Number
SELECT * FROM aufk INTO TABLE itab WHERE autyp = 40. "//Process Order
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_structure_name = 'aufk'
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND_COR3'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
FORM user_command_cor3 USING u_ucomm LIKE sy-ucomm
us_selfield TYPE slis_selfield."#EC CALLED
CASE u_ucomm.
WHEN '&IC1'.
gs_selfield = us_selfield.
IF gs_selfield-fieldname = 'AUFNR'.
SET PARAMETER ID 'ANR' FIELD gs_selfield-value.
CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
ELSE.
MESSAGE w208(00) WITH 'Select by Order only!'.
ENDIF.
ENDCASE.
ENDFORM.Hi all, Could you please tell me
At SE38
Why REUSE_ALV_GRID_DISPLAY and CALL TRANSACTION after called then I click the back button to return to the calling program but it automatic return to the source code? (it hasn't saves the data in alv grid )
In another case of this program, after automatic return to the source code then I have to waiting for 5-10 mins for execute again cuz if immediately execute the program don't fill any data to the alv grid.
I have problem with a simple source code like this
REPORT ZFS_ALV_DEMO.
TYPE-POOLS: slis.
DATA: itab LIKE STANDARD TABLE OF aufk WITH HEADER LINE.
DATA: gs_selfield TYPE slis_selfield "Information cursor position ALV
, w_aufnr LIKE aufk-aufnr. "Order Number
SELECT * FROM aufk INTO TABLE itab WHERE autyp = 40. "//Process Order
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_structure_name = 'aufk'
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND_COR3'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
FORM user_command_cor3 USING u_ucomm LIKE sy-ucomm
us_selfield TYPE slis_selfield."#EC CALLED
CASE u_ucomm.
WHEN '&IC1'.
gs_selfield = us_selfield.
IF gs_selfield-fieldname = 'AUFNR'.
SET PARAMETER ID 'ANR' FIELD gs_selfield-value.
CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
ELSE.
MESSAGE w208(00) WITH 'Select by Order only!'.
ENDIF.
ENDCASE.
ENDFORM. -
Error while updating data using session and call transaction method
Hi all,
i have to update data using MM01 transaction from flat file to database.i have used both session method and call transaction method to do that.in both the methods data has been transferred from internal tables to screens but while updating the data that is by clicking the ok-code at the end of the transaction iam getting a dialogue box stating
SAP EXPRESS DOCUMENT "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "SAP".
please tell whether the problem lies and solution for that.
thanks and regards.hi,
check your recording.check whether u saved your material no in recording or not.
once again record the transacton mm01.
MATNR LIKE RMMG1-MATNR,
MBRSH LIKE RMMG1-MBRSH,
MTART LIKE RMMG1-MTART,
MAKTX LIKE MAKT-MAKTX,
MEINS LIKE MARA-MEINS,
MATKL LIKE MARA-MATKL,
BISMT LIKE MARA-BISMT,
EXTWG LIKE MARA-EXTWG,
these are the fields which u have to take in internal table.
this is the record which i took in my flatfile.use filetype as asc and hasfieldseperator as 'X'.
SUDHU-6 R ROH MATSUDHU " 001 7890 AA
i did the same.but i didn't get any error. -
How to get a list of current users and their transactions code?
SM04 and AL08 give the list, but its not comprehensive. in sm04, we have to click the username and select sessions and then a
new popup comes giving all transactions for the user.
I want a list such that each and every transaction corresponding to the user is listed at same time.Hi,
Use the FM TH_LONG_USR_INFO.
Just give parameter user as * (it means all users, other wise current user)
It will give ALL transactions for ALL users.
Regards,
Amit Mittal.
Edited by: Amit Mittal on Dec 30, 2009 1:00 PM
Edited by: Amit Mittal on Dec 30, 2009 1:03 PM -
Log file in session and call transaction methods
Hi Experts,
How to see log file in session and call transaction methods?hi
If its a session then goto SM35, select ur session and then u can see log button over there at the top... that will give the log
If its a call transaction then in ur program u need to declare internal table IT_MSGS like this
DATA: IT_MSGS LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
LOOP AT IT_SALES.
PERFORM POPULATE_BDC.
CALL TRANSACTION 'VA01' USING IT_BDCDATA
MODE MODE
UPDATE UPDATE
MESSAGES INTO IT_MSGS.
IF NOT IT_MSGS[] IS INITIAL.
LOOP AT IT_MSGS.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = IT_MSGS-MSGID
LANG = 'EN'
NO = IT_MSGS-MSGNR
V1 = IT_MSGS-MSGV1
V2 = IT_MSGS-MSGV2
V3 = IT_MSGS-MSGV3
V4 = IT_MSGS-MSGV4
IMPORTING
MSG = V_MSG
EXCEPTIONS
NOT_FOUND = 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.
WRITE:/ V_MSG.
ENDLOOP.
ENDIF.
ENDLOOP.
This will create a log for you, dont forget to award points if found helpful -
Problem with use of COM+ Transaction and DB Transaction
Problem with use of COM+ Transaction and DB Transaction
We build a Web site that use sometime COM+ Transaction and sometime DB
Transaction. If we use a COM+ Transaction and a few seconds later we try to use
a Database Transaction (OracleConnection.BeginTransaction), we get the error
Connection is already part of a local or a distributed transaction
Of course the error does not produce everytime; it takes some try before we get
the problem. And of course, if i use pooling=false on the connection string,
the problem does not appear.
i run the Web page
and push the COM+ Transaction and DB Transaction one after the other for some
times and the problem should appear.
Environment: Windows server 2003, .Net Framework 1.1, ODP.Net 9.2.0.401,
Database Server 9.2.0.4> Why in form builder can't I...
Is this happening at runtime or at buildtime? You'll need to provide more info on what you are actually doing that's causing the problem.
Regards,
Robin Zimmermann
Forms Product Management -
Different Exchange Rate between Daily Transactions and Tax Transactions
Hi All,
I would like to ask abount define Exchange Rate for tax calculation. I set our standard exchange rates (For Daily Transactions) by using exchange rate type 'M'. But I want to calculate the tax element using exchange rate type 'T'. It is because there is a different exchange rate which is used for Daily Transaction and Tax Transactions. Does anyone know a way of doing this in config to separate this exchange rate for tax calculation?
Thanks for any help,
JohnI think its a bit misleading...The requirement is to post an Invoice with a base taxable amount of Exchange Rate A and a tax amount of Exchange Rate B. The Base Currency is JPY and the System Currency is SGD. So the Report S_ALR_87012357 should see the amount in SGD there. The Issue is caused by the different exchange rate on the tax amount submitted by the Vendor Invoice.
Example: Vendor Invoice Amount: 926,413.00 JPY, then we created PO to Invoice with Base Currency JPYalso amounted 926,413.00 JPY. However, in the Vendor Invoice Amount, the Tax Chargeable is 923.00 SGD (based on their exchange rate 65.66 JPY per SGD). But our Exchange Rate (System Rate) is 63.49 JPY per SGD. How can we reflect the Tax Amount as 65.66 JPY but still the correct SGD amount is based on the Vendor Original Invoice Exchange Rate 65.66 and not the System Exchange Rate, 63.49 in the same Invoice Creation (MIRO)? -
Ora 02290 when using qms_transaction_mgt and autonomous transactions
Hi all,
I'm using the qms procedures:
qms_transaction_mgt for openeing and closing transactions.
Somewhere in my procedure when the transaction is opened i call another procedure which contains a autonomous transaction.
The next time qms_transaction_mgt.close_transaction is called i get an ORA-02290: check constraint (HST65.QMS_NEED_TO_CLOSE_TRANSACTION) violated
When i debug the qms_transaction_mgt.close transaction the g_current_trans_id variable is empty, which indicates the transaction is allready closed.
When i remove the pragma autonomous_transaction statement and the commit statement from the procedure i call, the problem is resolved.
Version information:
Designer 9.0.2 with a with a Oracle 9i 9.2 database and Headstart 9i.
Does anybody know how i can resolve this or if this is a bug and how to fix it?
Thanks,
YvonIan, Yvon,
It is unfortunately a know restriction that the CDM RuleFrame component of both Headstart for Designer 6i and Headstart for Designer 9i doesn't work in combination with autonomous transactions.
The reason is that the RuleFrame administration relies on information stored in 1. pl/sql package variables and 2. database tables. Using autonomous transactions (that involve CDM RuleFramed DML) causes this information to dissynchronize.
A year ago I investigated the possibilities to make autonomous transactions possible with RuleFrame but unfortunately this is fundamental problem: RuleFrame wants to combine multiple DML-actions into one logical transaction (gards this with the "need_to_close_transaction" constraint), while autonomous transactions intend to to the opposite: commit a part of a transaction while the rest of the transaction still is posted/not committed.
There is one exception: if you call an atonomous procedure that does DML on a non-ruleframe-enabled table (no TAPI triggers that intend to open/close the transaction, no CAPI etc), everything functions.
Problem explanation:
====================
1. Outer transaction is opened (by front end or TAPI triggers of first DML)
2. DML takes place
3. Autonomous transaction-procedure is called
4. Auto-transaction again tries (and succeeds!) to open the transaction, it doesn't see that the transaction is opened (db table qms_transactions is empty for the autonomous transaction on query)
5. DML within auto-transaction is posted
6. Auto-transaction closes transaction
7. Auto-transaction is committed
8. Outer transaction thinks the transaction is already closed, because the auto-transaction cleaned out the package variables when it closed the transaction.
9. Commit of the outer transaction fails as the deferred check constraint need_to_close_transaction avoids this to happen (rollback takes place because of this violation).
Hope this helps
Kind Regards
Marc Vahsen
Headstart Team Oracle NL
Maybe you are looking for
-
I plugged my iphone into my computer, clicked "Check for Updates" and it downloaded the software and installed it.. and then while it was "Verifying Software Update" it gets an error saying "The iphone "iPhone" could not be updated. An unknown error
-
IChat says my camera is in use by another application
I recently bought an IceCam2 and plugged it into my computer, but when I open ichat to use the video, it says that the camera is in use by another application, but I am running no other applications. I have tried to restarting my computer, which has
-
Logon screen doesn't allow to navigate b/w fields.
Hi, I have deployed successfully forms on web using Forms6.0 and OAS4.0.7 with 8i as the back-end. I have a strange problem with the Logon Screen. When I request for the URL it loads the applet and displays the forms Logon screen, here, I can't navig
-
Hey! I've got problems with my iTunes, and in need of solving it soon since I use it for my iPod. When I open iTunes just before I can click any song or anything a error window opens. The error windows is titled "Microsoft Visual C++ Runtime Library"
-
Ive just installed portal on a clean machine , i would like to know the the services i need to start up to run portal, i mean first the repository db listener, second the db...is any script by the way? im running linux red hat