Query for Transaction number in Create Accounting = Draft Mode
Hi al!!
I run the Create Accounting program concurrent in my R12 instance in DRAFT MODE, and when the concurrent program finish i want to obtain the TRANSACTION number of the transactions in the XLA_AE_LINES table, how can i do that ???... it's for AP_INVOICES, AP_PAYMENTS, RECEIPT and CE Tables...
Thanks in advance..
Pablo.-
1 row in ap_invoice_distributions_all ------> 1 row in xla_ae_lines.xla_ae_lines will have more than one row. dr and cr has to be there for each journal entry.
I want to do a query that get lines from XLA_AE_LINES and then obtain the transaction number (AP_INVOICES_ALL.INVOICE_NUM) that was generated this line in the table.Check the link http://www.orafaq.com/node/2242
I know that this is possible to do using the XLA_ENTITY_TRANSACTIONS table... but when the concurrent is run in DRAFT mode no line are created in this table.The rows in xla_transaction_entities table will get created when the invoice is created. NOT after running accounting, which is much earlier.
Check the link http://www.orafaq.com/node/2243
Also some more details on draft, final accounting are available at http://www.orafaq.com/node/2240
By
Vamsi
Similar Messages
-
Hi Experts,
Bussines role - ZCC_ICAGENT
If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result page will be opened direct link.
So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
Thanks
KalpanaHi kalpana,
You dont need to do any setting for this.
Following URL will be used as per your requirement.
http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
sap-phoneno=9999999999
Here parameter sap-phoneno will contain the number you want to search for.
In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
DATA: lt_ivr_url_param TYPE tihttpnvp,
ls_ivr_url_param TYPE ihttpnvp,
lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
ls_searchcustomer TYPE crmt_bupa_il_header_search.
CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
CHANGING
cv_fields = lt_ivr_url_param.
lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
CHECK lr_searchcustomer IS BOUND.
READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
IF ls_ivr_url_param-value IS NOT INITIAL.
ls_searchcustomer-telephone = ls_ivr_url_param-value.
CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
eh_onsearch( ).
ENDIF.
Thanks & Regards
Richa -
Process :
1. We are updating ship to party for contracts(Transaction number ) , Here every thing is updating fine But i am facing the issue in CRMD_ORDER, Here what ever selected ship to party was not updating.
2. i have find out the issue reason for failure in Debugging , its giving error as " no_display_authority " in one standard function module 'CRM_ORDER_READ'.We are passing Header GUID to this FM .
3. Even i went inside this FM 'CRM_ORDER_READ', Here it was checking for ACE(ACCESS Control ENGINE) authority check by using Standard FM
"CRM_ORDER_CHECK_AUTHORITY_ACE" this FM giving error as "Access denied by Access Control Engine".
Can any help me on this how can i resolve this issue.
Thanks in Advance.
Regards,
VenugopalHi,
Go to SPRO - SD - BASIC FUNCTIONS - PARTNER DETERMINATION Just check whther your partner function (SH) is assigned to your account group and also exists in the partner determination procedure.
Just try and maintain it there against your account group and against your sales document type in VOV8.
Also open your customer master for which you are trying to create this sales order. Just check whther in the partners tab , SH is shown? You can either use transaction BP or XD03.
Let me know, reward points if helpful.
Regards
Ravi -
LSMW for transaction code -TRS_SEC_ACC- Securities Accounts
Hi Experts,
I have to create a LSMW for the transaction code TRS_SEC_ACC.please help me to find out any standard method for the above to create the Securities Accounts.
Regards
SwarajI have never worked with the transaction
TRS_SEC_ACC
but F4 search help in Bapi method in LSMW gives me
BUS5200
CREATE
maybe OSS Note 777320 - CMS 3.0: Data migration from CML to CMS
can help you further -
Query for posting date versus created date
Hi i would like a simple query (so i can use the query generator) to enable me to run a general ledger report that will include the date the transaction was created. This will be a usefull query to identify any prior month or prior year transactions. Currently if any balances change in the prior year it is impossible to find which ones they are. If the query can show the transaction and the created date it will be easy to identify those items pre dated back into previous months/year.
I have no experience in sql so am limited to use the query generator or can copy a query into the generator.
Would appreciate some help. To assist going forward i have created transaction codes for users to include in their journals so we can use the system general ledger report to identify them, however if the user leaves the code off we cannot detect them.
thanks judi
Edited by: Darius Heydarian on Mar 28, 2008 11:20 AM.Hi Judi,
I generated a query that lists all your Journal Entry details, based upon the document.
SELECT
T0.TransId, T0.RefDate, T0.Memo, T1.Debit, T1.Credit, T0.UpdateDate, T0.CreateDate,T2.USER_CODE AS [CREATOR NAME],T2.USER_CODE AS [UPDATEOR NAME]
FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId, OUSR T2
WHERE T0.UserSign = T2.USERID AND T0.UserSign2 = T2.USERID
1. open the query generator
2. Click the Execute Button. It trows an error. Please don't mind that.
3. Click the ICON - dEditText - Select completly and paste the above query.
Might be it will be helpful for you.
SAGAR -
Querying for large number of objects... searchspec limitation
As part of a product i'm developing i may come across a scenario where i need to query for 100+ specific objects based on ids.
I know the query input for WS 2.0 has a "searchspec" string field, but based on the sheer number of specific objects i need to query for i'm afraid the string may eventually get too large.
Is there a way around this? Can i send multiple individual queries in a batch request? Can i add more than one search object to a single query page request? Anything?
Thanks!
-KevinA few options available using the WS v2.0 Query methods:
1. Use Arguments like page size and startrownumber arguments. This will allow you to specify the pagesize of the recordset to be returned and also the starting row number.
2. The searchspec is a powerful argument and it supports a set of binary and unary operators. Refer the Ondemand user guide for a more complete set of operators supported by searchspec. To narrow the results of your query, you could use the "AND" operator between 2 or more fields in your object query.
Hope this helps.
Jaya -
Hello all,
I want a query for show all the record along with serial number.Here i mentioned a sample table along with data.
COMPCODE
ITEMCODE
ACTIVITY
DESIGNATION
QTY
105
001
A13
D7
50
105
001
A22
D7
44
105
001
A34
7
54
105
001
A45
D7
34
105
001
A45
D8
54
105
001
A52
D13
32
105
001
A52
D14
3
105
001
A61
D2
43
105
002
A12
D1
43
105
002
A25
D1
53
105
002
A35
D5
42
105
002
A35
D4
45
105
002
A35
D3
65
105
002
A44
D2
423
105
002
A55
D3
43
105
002
A62
D4
65
These is the sample table along with data.My requirement is I want show the serial number based on the itemcode and activity.
The final result should be like this
COMPCODE
ITEMCODE
SLNO
ACTIVITY
DESIGNATION
QTY
105
001
1
A13
D7
50
105
001
2
A22
D7
44
105
001
3
A34
D7
54
105
001
4
A45
D7
34
105
001
4
A45
D8
54
105
001
5
A52
D13
32
105
001
5
A52
D14
3
105
001
6
A61
D2
43
105
002
1
A12
D1
43
105
002
2
A25
D1
53
105
002
3
A35
D5
42
105
002
3
A35
D4
45
105
002
3
A35
D3
65
105
002
4
A44
D2
423
105
002
5
A55
D3
43
105
002
6
A62
D4
65
I tried write a query used with row_number() function but i didn't get the exact output.kindly help me for getting this type of outputI see, try dense_rank instead:
SQL> with your_view_resultset as (
2 select 105 compcode, 001 itemcode, 'A13' activity, 'D7' designation, 50 qty from dual union
3 select 105, 001, 'A22', 'D7', 44 from dual union
4 select 105, 001, 'A34', '7', 54 from dual union
5 select 105, 001, 'A45', 'D7', 34 from dual union
6 select 105, 001, 'A45', 'D8', 54 from dual union
7 select 105, 001, 'A52', 'D13', 32 from dual union
8 select 105, 001, 'A52', 'D14', 3 from dual union
9 select 105, 001, 'A61', 'D2', 43 from dual union
10 select 105, 002, 'A12', 'D1', 43 from dual union
11 select 105, 002, 'A25', 'D1', 53 from dual union
12 select 105, 002, 'A35', 'D5', 42 from dual union
13 select 105, 002, 'A35', 'D4', 45 from dual union
14 select 105, 002, 'A35', 'D3', 65 from dual union
15 select 105, 002, 'A44', 'D2', 423 from dual union
16 select 105, 002, 'A55', 'D3', 43 from dual union
17 select 105, 002, 'A62', 'D4', 65 from dual
18 )
19 --
20 --
21 --
22 select t.*
23 , dense_rank() over (partition by t.itemcode order by t.itemcode, t.activity) slno
24 from your_view_resultset t
25 order by t.itemcode, t.activity;
COMPCODE ITEMCODE ACT DES QTY SLNO
105 1 A13 D7 50 1
105 1 A22 D7 44 2
105 1 A34 7 54 3
105 1 A45 D7 34 4
105 1 A45 D8 54 4
105 1 A52 D13 32 5
105 1 A52 D14 3 5
105 1 A61 D2 43 6
105 2 A12 D1 43 1
105 2 A25 D1 53 2
105 2 A35 D3 65 3
105 2 A35 D4 45 3
105 2 A35 D5 42 3
105 2 A44 D2 423 4
105 2 A55 D3 43 5
105 2 A62 D4 65 6
16 rows selected. -
Free efax for hp photosmart 6525 'create account' grayed out
Trying to setup my free efax account and the "create account" portion is grayed out only allowing you to click "log in." Can someone explain this to me? thanks!
I need to know how to e-fax on my new printer for free ?
thank you -
Designing base VO for a page in create/update/view modes involving LOVs
Hi All,
We are developing a complete custom OAF page which is based on information in a single table.
The page will be used in create,update and view modes. 70% of the page fields are lov fields and hence I wanted to clarify my doubts before proceeding any further in development.
The page is based on a single table.
Example : XX_SUPPLIER_INFO(Columns : Supp_id,Supplier_trained_by_id,Service_manager_id,...etc).I created this as a EO based updateable VO
In the page "Supplier trained by" and "Service_manager" are LOV fields (messageLovInput style) that are based on plain SQL VOs.
Those LOV-VOs return displayable names and ids(key value) for those names and the IDs alone are stored in the base table(XX_SUPPLIER_INFO).
I am pretty sure of the above design will work for creation.
In update and view modes for the page will the lov field mapping help in automatically fetching the displayable names?
If not how should I design my Base page vo?
Any help on this is appreciated.
Thanks,
HarithaEditing Oracle seeded files is not recommended as they are not upgrade/ patch safe. Read OTL impl white paper for your custom LOV requirements, They have explained well.
--Mukul -
SAP Query-for Reporting how to create and use it
Hi SAP Gurus,
i need your help. in my project, client is asking to create queries to generate reports, i am not familiar with queries, so would appreciate it if any one can guide me and tell me the procedure for writing and creating queries soon.
also if you have any study material on steps on How to write and create queries for PP module
thank you very muchHi
Please refer below document
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Also refer below
How to Create Infoset Query (SAP Query)
Steps on how to proceed to create a Query:
ADHOC QUERY
A query can be created to extract information from master records i.e Infotypes. For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
Proceedure :
Decide on the various Infotypes we want to make the query. Decide on the area where we want to query i.e Global area or Standard area. Standard area is client specific and globel area will include all clients.
Menu : HR PM Admn - Information System - Adhoc Query
Select area standard and select the user group already created
Creation of new query :
TC SQ03 - Select Environment Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
TC SQ02 - Enter name of the Infoset Create enter name of Infoset - Data source -- > Table join by basis table give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
TC SQ03 - Select user group - eg. Payroll
Infoset - Enter name of newly created Infoset
Assign users and Infosets - Assign infosets - put tick on payroll - save and go back
TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity
Save the query by giving the same name as infoset for easyness..
For executing a query which is already created
1. Go to SQ01 transaction
2. Go to Environment menu->query areas->std areas
3. Then choose the user group where the query is created
4. It will display all the queries created for the group.choose the query you want to executeand click execute.
5. will take to the initial screen
6. Enter the required parameters and execute
Regards
Ranga
Message was edited by:
Ranganathan Srinivasamurthy -
Hi
i want query that
suppose i create 'i01' item make management method by batch.
when i create ap invoce at that time i add vendor refrence number add add that 'i01'
item with '5' quantity's then add. at that time it ask for batch update.
then i get new window of batch OBTN in that window i make user defined field.
"In that user defined field i want that vendor reference number which i give in ap invoce "
so plz help ..................Hi,
Unless I misunderstood your question (if so, sorry), I presume you mean formatted-search to copy vendor reference number from main A/P Invoice form to batch selection form, isn't it? You can't do this, formatted search works in one form, can't work across two form / document. Hope this help.
Best Regards,
Hendry Wijaya -
Query for serial number for items sold
hi,
I want a query which would show serial numbers for Product A and Product B which were sold. I know that following tables will be used
SELECT T0.[CardCode], T0.Docnum,T0.[DocDate], T0.[CardName],T1.Quantity,T1.[ItemCode],T6.DistNumber
FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
inner join DLN1 T4 on T1.DocEntry=T4.BaseEntry
inner join ODLN T7 on T4.DocEntry=T7.DocEntry
inner join OSRN T6 on T4.itemcode=t6.itemcode
WHERE T1.[ItemCode] in ('ProductA','ProductB') and T0.[CardName] like'% naaveol%' and T0.CANCELED<>'Y'
group by T0.[CardCode],T0.[CardName], T0.[DocDate],T1.[ItemCode] ,T0.Docnum,T6.DistNumber,T1.Quantity
Howerver I am doing some thing wrong and it is showing alot more records than it should. basically what I was trying to do was to get
item code
serial num
quantity
for the items mentioned sold to the particular business partner.
Your help will be greatly appreciatedHi again.......
Please try this.......
SELECT T0.CardCode, T0.Docnum,T0.DocDate, T0.CardName,T1.Quantity,T1.ItemCode,T4.DistNumber
from ODLN T0 inner join DLN1 T1 on T0.DocEntry=T1.DocEntry
left outer join SRI1 I1 on T1.ItemCode=I1.ItemCode and (T1.DocEntry=I1.BaseEntry and T1.ObjType=I1.BaseType)
left outer join OSRN T4 on T4.ItemCode=I1.ItemCode and I1.SysSerial=T4.SysNumber
Regards,
Rahul -
User Exit / BADI for Transaction IW31 to create a POP-UP.
Hi,
I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.Hi!
In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
Regards
Tamá -
SP_Transaction Notification Query for Transaction Category field
Dear Experts,
I want to make Transaction Category field mandatory under Tax Tab on Sales Order document and being tried SP_Transaction Notification.
Please send me right query or any other solution.....
Thanks.....Hi!
Try this
IF (@object_type = '17')
BEGIN
if (@transaction_type in ('A','U'))
BEGIN
if exists ( Select R0.Docentry from ORDR R0, RDR12 R12 where R0.Docentry=@list_of_cols_val_tab_del and
R0.Docentry=R12.Docentry and (R12.Transcat is Null or R12.Transcat=''))
BEGIN
set @error = 0
END
ELSE
BEGIN
set @error_message='Enter the Transaction Code in Tax Tab'
set @error=1
END
END END
Regards,
[Thanga Raj K|Q3 Wrap-Up: What happened in the third quarter of 2009 in the SAP Business One Community] -
R12 AP create account process success while no journal entries produced
Hi,
Enviroment:12.0.4
in AP, the invoice validate and create account all done successfully. while to query journal entries, there isn't any produced journal entries.
During the create account process, there is no error message, therefore i cann't find what is the problem.
can anyone give me a guide to how to find the problem is?or what the problem is ?
any help will be appreaciated.
Regards,
Chelseajust to give a background of this process in R12
As we know there are two methods to create Payables Accounting in R12,
1.Online Accounting method
The Online Accounting method can be called from either the Invoice or Payment workbench and has the following modes:
Draft - The accounting is only created in the XLA Subledger tables and is not transferred to the General Ledger. Draft accounting can be recreated based on changes to the transaction data or accounting rules.
Final - The accounting is created in the XLA Subledger tables and is not transferred to the General Ledger. Accounting created in final mode can not be recreated/altered. Run the Transfer Journal Entries to GL program to transfer these entries from the XLA subledger tables to the General Ledger tables.
Final Post - The accounting is created in the XLA Subledger tables and is also transferred and posted to the General Ledger tables.
2)Create Accounting process.
The Create Accounting process has similar options, you can create accounting in Final or Draft mode and if Final mode is selected, the Transfer to GL parameter can be used to automatically transfer the accounting created by the corresponding run. When the Create Accounting process transfers the journal entries to GL it only transfers the accounting created by the process that calls it. If there is accounting created by the online option = Final or a previous Create Accounting program that was not transferred, that accounting will not be transferred. The Transfer Journal Entries to GL program needs to be ran separately to transfer any accounting created online or created by a previous Create Accounting process that did not transfer the entries.
Based on the above cases, the following are possible causes of journal entries not transferred in R12:
1. The accounting is created in Draft mode and can not be transferred.
2. The accounting is created in error and can not be transferred.
3. The accounting was created by Online Accounting with Final Mode.
4. The accounting was created by the Create Accounting process with Transfer to General Ledger = No
Hope this makes a clear understanding and you know the root cause.
Maybe you are looking for
-
Form control to stop user from changing setting
I have a list when the form is opened only those users in a Group, 2nd list- can change the some of the columns in the list. Making half the list read-only to the 2nd group I have the "edit" form setup as two pages with buttons to flip back and for
-
What should should the "Section Number" text variable display?
Regarding the updating text that comes from "Insert > Section Number" and is placed in a layout... It seems that this text should always update with the section number, as the title states. However, each time I use it/test it, it displays the book ti
-
Problem initializing phd 2000 pump in LabVIEW
I am a LabVIEW rookie and I am trying to write a small programe controlling a Harvard Apparatus PHD 2000 pump. (I did find the driver for the pump from NI and it works fine, but it is too complicated for my purpose) I ran into problems at the beginni
-
have the H&R Block Deluxe Tax software (2013 on my Window's PC, would like to transfer that over to my new Mini Mac?
-
Hi, Has anyone successfully integrate Oracle Apex with extjs grid or jquery jqGrid? How can I call an onDemand process to return XML or JSON data and use that for those grids? Thanks. Andy