RERAIV transaction
Good day!
Just want to inquire if anyone has encountered a possible bug in this transaction for Flexible RE in ECC 6.
In the selection parameter of this transaction, a parameter to filter FI documents coming from a specific posting transaction (e.g. REPP,REOP, etc ) is provided - Process. However upon simulation, it seems like this parameter is not working since all other FI documents not generated from said processes were included in the invoice run. I have several questions here:
1. Documents generated from RERAPP carries the identification (or debit position ID) indicated in the cashflow into the reference field of the document header (eg. xxxxxxxxREPP). Will this be the main validation of RERAIV for the Process parameter?
2. For selection parameter "Only FI documents", is there a further qualification for document types being considered in the invoice run?
3. For resulting open items coming from residual payments, will this be included as well on the next invoice run together with future due items?
Hope someone could enlighten me on this.
Thanks,
Ester
Hi Ester,
indeed the invoice select only FI documents items that orgin from RE-FX posting activities and have the required identification (you have the reference transaction + Tcode in the Header and other fields in the line item).
Regarding the "Only FI Documents" - this refer to what kind of items you want to include in the invoice : only the ones that were posted (FI Doc.) , only the planned items from the contract cash flow (not yet posted) or both
If you have items that you already included in past invoice but wasn't cleared you could print a copy of the old invoice or select the "Already Invoice" check-box
Hope this helps
Yudit
Similar Messages
-
Creation of Invoice for Accounts Payables - RERAIV
Hi Gurus,
I would like to create invoices (or in this case credit memos) to accounts payables with transaction RERAIV.
Is this possible. Can I influance this via an enhancment?
thx in advance,
br, ChristianHi,
yes the contract type is 0-External Contract.
I have now analysed the programm in detail. I seems that it will be not possible to create invoices to vendors without a modifikation.
In the class "CL_RECN_CONTRACT" there is a check with method IS_DEBIT, which forbits the creation.
WIth some modifcations it is no possible to create invoices to vendors from planed positions, not from posted.
I will inform you about my solution.
br, christian -
_*Wrong Posting getting done by RERAPP before RERAIV*_ in RE-FX
Salute Masters!!
Wrong Posting getting done by RERAPP before RERAIV in RE-FX
After doing posting through RERAPP, system is picking other paid transactional detail while creation of RE Invoice.
Say... Rs. 1000/- has been posted on 11 March 2011 by RERAPP, in between party has paid Rs. 500/- on 15 March 2011, while creation of Invoice by RERAIV on 20 March 2011, instead of Rs. 1000/- Invoice, system is showing Rs. 1500/- Invoice.
How to rectify this?
Rgds.
Srivastav
+91 7829755109Hi,
This is no the right forum for this message. It should have been in Real Estate Forum. As far as your problem goes, when ur are running the tcode RERAIV, there is an option of putting the posting run ID. Whenever there is a posting through RERAPP a posting run ID is generated. If you pass the same in the RERAIV. The system will not pick any other value.
Hope this helps..
Regards,
Deepak -
RERAIV - Real Estate Invoice mailing - BADI_RECP_SF
I am working for emailing of the smart form and found the same badi BADI_RECP_SF. But to update the recepient details i hope, i need to use cs_mail_recepeint. Please let me know how i need to fill this details. If not this CS_MAIL_RECEIPIENT, is there any other option to provide the mail id. I want to send the invoice to the mail-id updated in BP transaction.
My business requirement is when we creates the invoice through RERAIV, the output should go to customer through mail.
one way of doing is select check box "Email" in RECPA520, but my business don't want to execute this manually. And through this process i can send output only to one emial id (standard) which is maintained in business partner master.
Is there any way to send mail to other mail-ids which are maintained in business partner?
For achieving this functionality, we have badi: BADI_RECP_SF. But I am trying to know how to update or pass the parameters for this BADI method 'PRINT'.
If you have achieved this, please let me know.
Thanks in advance.Hi Vipul,
Sorry to reply you late, our client doesn't have internet access.
Standard process, doesn't give you mail body as per my analysis.
If you want mail body then u need to customize whole process. Maintain the mail body in SO10, using READ_TEXT attach mail body.
Eg.
ld_guid = id_docguid.
CLEAR ls_doc_output.
READ TABLE is_job_output_info-spoolids ASSIGNING <gv_spoolid> INDEX 1.
if sy-subrc = 0.
SELECT SINGLE RQCLIEnt RQO1NAME INTO (lv_client, lv_rqname) FROM tsp01 WHERE rqident = <gv_spoolid>.
CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
EXPORTING
AUTHORITY = 'SP01'
CLIENT = lv_client
NAME = lv_rqname
PART = 1
IMPORTING
* CHARCO =
* CREATER =
* CREDATE =
* DELDATE =
* MAX_CREDATE =
* MAX_DELDATE =
* NON_UNIQ =
* NOOF_PARTS =
* RECTYP =
* SIZE =
* STOTYP =
TYPE = type
OBJTYPE = objtype
EXCEPTIONS
FB_ERROR = 1
FB_RSTS_OTHER = 2
NO_OBJECT = 3
NO_PERMISSION = 4.
if objtype(3) = 'OTF'.
is_otf = 'X'.
else.
is_otf = space.
endif.
if is_otf = 'X'.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = <gv_spoolid>
NO_DIALOG = ' '
* DST_DEVICE =
* PDF_DESTINATION =
IMPORTING
PDF_BYTECOUNT = numbytes
PDF_SPOOLID = pdfspoolid
* OTF_PAGECOUNT =
BTC_JOBNAME = jobname
BTC_JOBCOUNT = jobcount
TABLES
PDF = pdf
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11.
IF sy-subrc = 0.
CONCATENATE LINES OF pdf INTO l_string RESPECTING BLANKS.
l_len = strlen( l_string ).
EXPORT my_data = l_string(l_len) TO DATA BUFFER l_buffer.
IMPORT my_data TO ls_doc_output-pdf FROM DATA BUFFER l_buffer IN CHAR-TO-HEX MODE.
ENDIF.
endif.
ENDIF.
CHECK ls_doc_output-pdf IS NOT INITIAL.
l_mm = sy-datum+4(2) + 1.
IF ( strlen( l_mm ) = 1 ).
CONCATENATE '0' l_mm INTO l_mm.
ENDIF.
CONCATENATE l_mm '/' sy-datum+0(4) '.' INTO l_mmyyyy.
TRY .
* create persistent send request
lo_send_request = cl_bcs=>create_persistent( ).
* get PDF xstring and convert it to BCS format
ld_pdf_size = XSTRLEN( ls_doc_output-pdf ).
ld_pdf_content = cl_document_bcs=>xstring_to_solix(
ip_xstring = ls_doc_output-pdf ).
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
ID = 'ST'
LANGUAGE = 'E'
NAME = 'ZRE_INVOICE_MAIL'
OBJECT = 'TEXT'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
LINES = lt_tlines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT lt_tlines INTO ls_tlines.
IF ls_tlines-tdline cs 'MM/YYYY.'.
REPLACE FIRST OCCURRENCE OF 'MM/YYYY.' IN ls_tlines-tdline WITH l_mmyyyy .
ENDIF.
IF ls_tlines-tdline cs 'DD/MM/YYYY'.
REPLACE FIRST OCCURRENCE OF 'DD/MM/YYYY' IN ls_tlines-tdline WITH '01/08/2013' .
ENDIF.
ls_message_body-line = ls_tlines-tdline.
APPEND ls_message_body to lt_message_body.
ENDLOOP.
ld_subject = is_options-tdtitle.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = ld_subject ).
CONCATENATE 'Invoice statement_' is_doc-buskey+4(13) INTO lv_filename.
TRY.
CALL METHOD LO_DOCUMENT->ADD_ATTACHMENT
EXPORTING
I_ATTACHMENT_TYPE = 'PDF'
I_ATTACHMENT_SUBJECT = lv_filename
I_ATTACHMENT_SIZE = ld_pdf_size
I_ATT_CONTENT_HEX = ld_pdf_content.
CATCH CX_DOCUMENT_BCS .
ENDTRY.
* add document to send request
lo_send_request->set_document( lo_document ).
* add recipient (e-mail address)
select single customer INTO lv_kunnr FROM but000 as a INNER JOIN
cvi_cust_link as b ON b~partner_guid = a~partner_guid
WHERE partner = is_doc-partner.
select single adrnr into lv_addrcomm FROM kna1 WHERE kunnr = lv_kunnr.
if lv_addrcomm is NOT INITIAL.
select smtp_addr from adr6 INTO TABLE lt_recipient WHERE addrnumber = lv_addrcomm.
LOOP AT lt_recipient INTO lw_recipient.
ls_recipient-smtp_addr = lw_recipient-smtp_addr.
lo_recipient = cl_cam_address_bcs=>create_internet_address(
i_address_string = ls_recipient-smtp_addr ).
* add recipient to send request
lo_send_request->add_recipient( i_recipient = lo_recipient ).
ENDLOOP.
* send document
lf_sent_to_all = lo_send_request->send(
i_with_error_screen = 'X' ).
IF lf_sent_to_all = 'X'.
* message i022(so). "Delete DEVK917667
ENDIF.
* ---------- explicit 'commit work' is mandatory! ----------------
COMMIT WORK.
endif.
* * exception handling
* * replace this very rudimentary exception handling
* * with your own one !!!
CATCH cx_bcs INTO lo_bcs_exception.
WRITE: text-002.
WRITE: text-003, lo_bcs_exception->error_type.
EXIT.
ENDTRY.
* endif. -
Error while comitting a transaction in oSB. The following is the error stack
Error while comitting a transaction in OSB. The following is the error stack
<Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Hi,
Have you tried Cancelling the release before adding the version?
Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
Please let me know if it worked!
Vijay -
hi i have a doubt....
in fbl1n transaction, there are open items and cleared items.
in it the cleared items for certain document types such as invoice etc is not present in the open item table (bsik)
however the cleared items for document types such as general voucher its present in the open items table (bsik)
is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
plz exlain!Hi
There are 2 tables(open and Closed Items) in FI for Account Payables and Account Receivables and GL accounts
1.Account payables: BSIK is Open Items and BSAK is Closed items
2.Account Receivables; BSID and BSAD for OPEN and closed items
3/GL accounts : BSIS and BSAS for Open and Closed Items
<b>Reward points for useful Answers</b>
Regards
Anji -
Hi All,
I want to create an Order in CRM with reference to the Standard Order (which is created in ECC and replicated from ECC to CRM).
When I open the Transaction (which is created in ECC and replicated from ECC to CRM).
in CRM and clikc on follow up I am not able to create the follow up transaction.
The follow up transaction is in display mode.
Can anybody give me inputs in this regard? where is wrong
Will award the points for the helpful answer.
Regards,
-Rahul.Hi Shalini,
The document is replicated from ECC to CRM without any errors.
For this document I just want to create follow up transaction in CRM.(I dont want to change the document in CRM)
The follow up transaction is in display mode. this is my problem.
Hi Rekha:
I have done following setting in CRM to create follow up transaction in CRM for the document which is replicated from ECC to CRM.
1) Defined the Copying Control for Transaction type
2) Defined Copying Control for Item categories
3) Defined Item category determination when copying
Thanks in advance,
Regards,
-Rahul. -
Follow-up Business Transactions
Hi Experts,
I have a problem with follow-up transactions. I created two transactions, a Quotation and a Standard Order.
Then I created follow-up for these transactions in the copying control, ZAG --> ZTA. Now, when I create a new Quotation in the Web Client UI and I open the drop down list "create follow-up" I just can see many diferent activities like Contact, Task, incoming e-mail, etc. but no Business Transaction.
How can I display the new created Business Transaction ZTA (Standard Order) in the drop-down list?
Hope sb can help me.
Thanks.
SebastianHello Sudeep De,
Thanks for your reply but thats not the problem.
Also in the standard I have the same problem. The standard also defines follow-up transaction for AG (Quotation), AG --> TA (Standard Order) in the copying control. When I log in whith the role salespro and I create a new Quotation, save this Quotation and try to create a new Standtard order with the drop-down list "create follow-up", I just can see activites but no Business Transactions. Why can I just see activities (Task, ...) and no Business Transaktions? All these activities I can see are not defined in the copying control.
Can you help me?.
PS: I can find my Business Transaction in the Web Client UI. I just can not find the Transaction in the "create follow-up" List as a follow-up transaction
Edited by: Sebastian Wilhelm on Oct 1, 2008 11:48 AM -
Open follow up transaction type screen automatically after confirm account
Hi Gurus,
I have a transaction type Z010 for interaction record that is copied from standart 0010 transaction type.
I define dependent transaction type SRVO that is service order as a follow up of Z010
My requirement is to open automatically open service order screen after confirming account
As agents must do everything vey quickly while they are on phone, it is needed urgently.
Now they have to open Z010 interction record screen, have to press follow up button, click to clipboard and then can open the scrren of service order.
How can we automatically open service order screen after confirming account??
I will be very pleased if you will help...
Thanks.Hi Denis, thanks for reply.
I read it and see that interaction record is automatically created. How can it be made, is it a standard customizing?? Our interaction record is created automatically when follow up process-it is service order here- is created. First we confirm customer, then press to Interaction Record at the left hanside, then in this screen we press follow-up button, then click on Activity Clipboard, then service order screen is opened. I want to pass two steps, pressing Interaction Record and pressing follow up record, how can I do this??
Exactly I have to define process type Business Activity for interaction record, I can't give Service Order process type directly to interaction record. Service Order type must be dependent to business activity, is it true?? If there is a way to directly giving service order type as an interaction record type, and making interaction record creation automatically after confirming, my problem is solved as very well. -
Material Transaction Open Interface Error
Hi,
I'm getting following Error in Cost Manager after running the Transaction Open Interface,
Interface work well to update the stocks, but it returns error Layer Cost Worker Concurrent.
Error1
Bills of Material: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
CMCLCW module: Layer Cost Worker
Current system time is 10-OCT-2012 14:16:32
debug_level = 0
CM_EXTENDED_DEBUG = 2
CSTPLCIN.COST_INV_TXN:CSTPLVCP.interorg (160): ORA-00001: unique constraint (INV.MTL_CST_TXN_COST_DETAILS_U1) violated
Failing Transaction ID is 28227
Start of log messages from FND_FILE
Standard costing org : -1
Interorg transfer send org: (consume layers) ...
84:5
28227:1
Entering get_layers_consumed for transaction 28227 and a required quantity of 2 with a consumption mode of NORMAL
Trying custom layers
There are 0 custom layers
General consumption
Using SQL SELECT inv_layer_id,layer_quantity FROM cst_inv_layers WHERE layer_id = :i AND inv_layer_id <> :j AND NVL(transaction_source_id,-2) <> :k AND layer_quantity > 0 ORDER BY creation_date, inv_layer_id with 1,-1,-1
End of log messages from FND_FILE
No completion options were requested.
Output is not being printed because:
The print option has been disabled for this report.
Deleting output file.
Concurrent request completed
Current system time is 10-OCT-2012 14:16:32
Error2
Bills of Material: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
CMCLCW module: Layer Cost Worker
Current system time is 10-OCT-2012 14:16:32
debug_level = 0
CM_EXTENDED_DEBUG = 2
CSTPLCIN.COST_INV_TXN:CSTPACDP.insert_account (10) ORA-01400: cannot insert NULL into ("INV"."MTL_TRANSACTION_ACCOUNTS"."BASE_TRANSACTION_VALUE")
Failing Transaction ID is 28228
Start of log messages from FND_FILE
Standard costing org : -1
----------l_to_method---------
=5
Interorg transfer receiving org: (create layers) ...
90:5
28228:2
i_txn_id 28228
1 records updated in mclacd for 15005
1 records copied from mclacd for 15005
interorg_cost_txn(..)
transaction_id:28228
org_id:90
i_txn_org_id:90
i_txf_org_id:84
i_txf_txn_id:28227
i_exp_item:0
i_fob_point:0
l_snd_rcv:2
l_from_org:84
l_to_org:90
Sending org distributions
Receiving org distributions
l_intransit:0
Calling Inventory acct
In Inventory_accounts
In insert accounts
l_ussgl_tc :
Payable amount(l_value): acct: 414240
In insert accounts
l_ussgl_tc :
DS - others Exception, sqlcode = -1400
End of log messages from FND_FILE
No completion options were requested.
Output is not being printed because:
The print option has been disabled for this report.
Deleting output file.
Concurrent request completed
Current system time is 10-OCT-2012 14:16:32
My Coding
insert into mtl_transactions_interface
(transaction_type_id, --------------1
transaction_uom, --------------2
transaction_date, --------------3
organization_id, --------------4
transaction_quantity, --------------5
last_update_date, --------------6
last_updated_by, --------------7
creation_date, --------------8
created_by, --------------9
transaction_mode, --------------10
process_flag, --------------11
source_header_id, --------------12
source_line_id, --------------13
source_code, --------------14
transaction_header_id, --------------15
inventory_item_id, --------------16
transaction_interface_id, --------------17
subinventory_code, --------------18
distribution_account_id, --------------19
transaction_cost, --------------20
transaction_reference, --------------21
transfer_organization, --------------22
transfer_subinventory, --------------23
-- transfer_cost, --------------24
primary_quantity, --------------25
lock_flag,
transaction_action_id,
transaction_source_type_id,
dst_segment1,
dst_segment2,
dst_segment3,
dst_segment4,
dst_segment5,
dst_segment6)
values
(v_trx_type_id, --------------1 ------transaction type id
i.uom_code, --------------2 ------transaction_UoM
sysdate, i.creation_date, ------------3 ------trasnsaction date
i.from_organization_id, --------------4 ------org id
nvl(i.quantity_delivered, i.quantity), --------------5 ------quantity
sysdate, --------------6 ------Last update date
-1, --------------7 ------last updated by
sysdate, --------------8 ------creation date
-1, --------------9 ------creation by
3, --------------10 ------transactio mode
1, --------------11 ------process flag
1, --------------12 ------source_header_id
1, --------------13 ------source_line_id
i.mrn_trx_number, --'MRN Interface', --------------14 ------source code
'999999', --------------15 ------transaction header id
v_item_id, --------------16 ------inventory item id
xx_mrn_mtl_trx_int_seq.nextval, --------------17 ------transaction_interface_id
i.from_subinventory_code, --------------18 ------sub inventory
v_code_id, --------------19 ------code compbination
v_item_cost, --------------20 ------cost
'MRN Interface', --------------21 ------reference
i.organization_id, --------------22
i.to_subinventory_code, --------------23
-- (nvl(i.quantity_delivered, i.quantity) * v_item_cost) --------------24
nvl(i.quantity_delivered, i.quantity),
2,
v_trx_action_id,
v_trx_source_type_id,
'01',
'00',
'000',
'141013',
'000000',
'00000');
ThanksCan you get the following for the errored transaction?
SELECT transaction_id txnid, transfer_transaction_id txfrtxnid
, organization_id orgid, transfer_organization_id txfrorgid, subinventory_code subinv
, transfer_subinventory txfrsubinv, cost_group_id cgid
, transfer_cost_group_id txfrcgid , prior_costed_quantity
, transfer_prior_costed_quantity , rcv_transaction_id rcvtxnid
, transaction_action_id txnactid , transaction_source_type_id txnsrctypid
, transaction_type_id txntypid , costed_flag cstdflg
, transaction_group_id , inventory_item_id invitmid
, transaction_source_id wip_entity_id , transaction_cost txncst
, shipment_number shipnum , new_cost , prior_cost
, actual_cost , project_id , transaction_uom txnuom
, transaction_quantity txnqty , primary_quantity priqty , prior_costed_quantity priorqty
, currency_code altcurr , currency_conversion_rate currconvrt , currency_conversion_date currconvdt
, TO_CHAR (mmt.creation_date, 'dd-mm-yyyy hh24:mi:ss') creation_date
, TO_CHAR (mmt.last_update_date, 'dd-mm-yyyy hh24:mi:ss')last_upd_date
, ERROR_CODE errcode
, error_explanation errexpl
FROM mtl_material_transactions mmt
WHERE transaction_id IN (&Trx_Id) -- Error transaction_id
ORDER BY transaction_id DESC -
Transaction for Open Sales Orders
Hi Experts
can u let me know the Transaction for Open Sales Orders.
Regards,
kumaryou can check the tcode
VA05.
vijay -
Cancelled Invoice showing as Zeros in Unaccounted Transaction Report
The invoices were entered and the error occured because there is no currency rate conversion for entered currency , then we cancelled the invoices .It is showing as 0.00 in Unaccounted Transactions Report and need swept every month." Please suggest how to remove this from report .
Hi,
If it is not validated you can delete this invoice . if validated then needs to do accounting and transfer this to GL ,hopethe cancelled invoice will not have any impact on entries .
Regards
Muthu -
Help to catch the output of a Transaction
Hi,
I have this issue and need help, I have a program lets say "ZPROGRAM", this programs calls a RFC "ZFUNC" this function must be able to send the parameters to execute a SAP standard transaction for example MB51, the function must send the plant number, storage location, and material number, then this RFC must catch the output of the report into an internal table so that i can work with the output in "ZPROGRAM", in other words what I see on screen as result of MB51 I need it in an internal table so that I can manupulate the data.
I hope someone could tell me how to accomplish this.
Thanks in advice.Hi,
Pls try
DATA list_tab TYPE TABLE OF abaplist.
DATA vlist LIKE table of LISTZEILE WITH HEADER LINE.
submit RM07DOCS
with XXX
EXPORTING LIST TO MEMORY
and return .
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
list_index = -1
TABLES
listasci = vlist
listobject =list_tab
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
Regards,
Pole
Edited by: Pole li on Jul 17, 2008 3:57 AM -
Print a report after transaction
Hi,
I want to know if there is any solution to print a report after a transaction (after commit).
when i do any modification in a table, i want to print data that have been modified.
thanks in advance for your helps.Have you given thought for Oracle Alert.
-
MDB Timeouts and transaction behavior
Hi, thanks in advance for any help with this.
We have a MDB where we have set the timeout to five minutes. In a particular case this timeout is being reached but even though the MDB times out the transaction and sends the message for redelivery the original transaction that was processing the message continues until something happens from an application standpoint to cause that original transaction to complete. This means that we have the same message processed twice under these circumstances.
I would have expected that if a transaction timed out that the transaction would have been terminated and therefore our processing would have stopped. Is there a way to force this behavior or do we have to put an alarm in our code and kill ourselves such that we never encounter the transaction time out?
Thanks,
Sue ShanabrookI should have mentioned that we are using container managed transactions.
Maybe you are looking for
-
Mac Mini does not detect DVI monitor on boot but does so on awake
Hi, my Mac Mini fails to detect a monitor on the DVI port when it boots (monitor says no signal). If I leave it a few minutes to boot, then put it to sleep and awake using the power button, then the display appears. This problem does not occur with t
-
Radius-Authentication / Cisco 2600 fails MiscError -1642
Hi, Im trying to configure BM 3.8 SP3ir3, Radius (NMAS 2.3) to authenticate a Cisco 2600 against my BM. Under BM 3.7 this setup is working fine, but now with 3.8 I get the following error: Access rejected, Miscellaneous error (-1642) Ive configured t
-
Suddenly nothing plays in Premiere Pro
I have been dealing with this since Sunday morning when I allowed Adobe Updater to do its thing. Ever since then Premiere has been useless. When I hit the space bar or press the play button nothing happens. I might hear a nanosecond of audio and th
-
Captivate 5 in Smartbuilder - Scroll Bars
I imported Captivate 5 into a Smartbuilber page and there are scroll bars. Smartbuilder said I had to change the size of the Captivate file. How do I do this?
-
hi there, can u please let me know the use of reports RBDMANIN, RBDMANI2, RBDAPP01, RBDMON00