Refined query for customized numbering
Hi,
Below is the query that used to generate a customized number for service call
It was set to auto generate when user select the customer code.
The number will increment only if the service call is created.
Before it has no issue if one user create a service call at one time.
However, I found a issue when A user open a service call and number was generated (ABC0001), user haven't create the service call.
At the meantime, B user also opening a service call and number was generated (ABC001), B user created the service call, following by A user.
So when I run a report, there will be two ABC001.
So wonder is this issue due to query or some other setting ?
Declare @fmt_num as Integer
Select @fmt_num=count(OSCL.CallID) from OSCL
SELECT 'ABC'+ replace(str((@fmt_num)+1,7,0),' ',0)
Thanks
Hi,
1. Create header UDF
2. Assign your query to get customized number ( ABC0000005)
3. There is no message if two users are open service and update.
Thanks & Regards,
Nagarajan
Similar Messages
-
Querying for custom picklist values
Hello all,
I have created a new field on my opportunity type called "Industry" and gave it picklist values. However, the system is not allowing me to query for the values using the Picklist web service. Am I missing a step here, or does the system not allow querying for custom picklist field values? I can get to certain lists of picklist values for Opportunity (Type, Probability, some others) but not the picklist I created. Am I doing something wrong?
Thanks!
-Kevin GreenHi,
Find integration tag for custom field in Field Setup. When you call getPicklist method, pass three values like Object type(ex: Lead), integratin tag for the custom field, "" ( this is language, this field is no need for English languague)
Hope this willl work
Raja Kumar Malla
[email protected] -
Query for Customer Shipping instructions:
Hi
i want a query for Customer Shipping instructions. i am working on depot repair module
what about Customer data conversion template? can anyone help me in the queryHi Team,
This is a shipping report in header level we have the customer information with site address. The requirement is along with site address we need to show the phone number and Fax number .For this we need to write the formula column.Thes are the comes through HZ parties only. I have no idea how to achieve this.
Best Regards
NRC -
Query for customer and its all the underlying sites in AR
Hi Expert,
Please help me to build a query for a customer and its all the underlying sites .
ThanksPlease check this thread:
Running Total in QLD
Thanks,
Gordon -
SQL query for custom alert view
I have created a custom alert view and scoped to show alerts related to group of servers.
Alert view Criteria: Resolution State - New, Severity - Warning and Critical, Group - "Group 1"
I am trying to query the Operations Manager database to show the alerts with same criteria using below query.
select MonitoringObjectName, ResolutionState, Priority, Severity, TimeRaised, TimeAdded, TimeResolved, AlertStringName, AlertStringDescription from AlertView where ResolutionState = '0' AND (Severity = '2' or Severity = '1')
AND
MonitoringObjectId IN (select TargetObjectId from RelationshipGenericView
where SourceObjectDisplayName = 'Group 1')
in Console i see both warning and critical alerts where as in SQL query output i see only critical alerts. Could you please correct if I am using wrong query. also please share your suggessions if i am completely wrong on this.
Kind Regards,
Bommi
~Bommiyour query looks perfectly fine. Are you sure if the alerts you see in the console are of the 'Resolution State =0' (New). It might be the case where the alert have moved to a fidderent resolution state.
Also, take a sample warming alert from console, query for the same in DB and check the Severity value. If it is '2'.
Regards,
Saravanan -
Query for Customer site Phone number and Fax number in Oracle Apps
Dear All,
Can anyone guide me how to write qurey for Customer site phone number and Fax number for Acive customers.
Thanks in advance.
Best Regards
NRCHi Team,
This is a shipping report in header level we have the customer information with site address. The requirement is along with site address we need to show the phone number and Fax number .For this we need to write the formula column.Thes are the comes through HZ parties only. I have no idea how to achieve this.
Best Regards
NRC -
Restrictions in characters used for customer numbers
Is it advisable to use the charcter "&" in customer numbers and in business partner naming?
Dear Chandramouli,
In the name you can use but in the no. not advisable. When you are defining the no range, it is as following:
Intervals can only contain either letters or numbers, as sorting can differ between platforms (Code page):
Allowed: 000001 to 999999
AAAAAA to ZZZZZZ
Not allowed: AAAAAA to 999999
Please find the SAP help on this.
Thanks,
Atin -
Write query for Customer recievable Report.
*1.No concrete solution given to take project wise, bill wise. 2. Opening dues break up - project wise. Bill wise. 3. Aging days not able to select the required interval. Only standard intervals are available. 4. How to find the exact payment receivable for an customer. Pl tell me. How write a query in query generator..Sl no V.Code Customer Name Project Code Prj Type Series In no Posting Date Due Date Future Remit 0 - 30 30 - 60 60 - 90 90 + Total
For getting Customer receivable Aging Reports. Its SAP B1 2005 Version.*Hi,
Try this. May be this will help you.
select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb 'Debit GBP',syscred 'Credit GBP',
case JDT1.transtype
when '-2' then 'OB'
when '13' then 'IN'
when '16' then 'DN'
when '24' then 'RC'
else 'Other'
end 'Type',
Ref1,
fccurrency 'BP Currency',
CONVERT(VARCHAR(10), refdate, 103)'Posting Date' ,
CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
CASE
when DATEDIFF(dd,taxdate,current_timestamp) < 31
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "0-30 days",
case when (datediff(dd,taxdate,current_timestamp) > 30
and datediff(dd,taxdate,current_timestamp)< 61)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "31 to 60 days",
case when (datediff(dd,taxdate,current_timestamp) > 60
and datediff(dd,taxdate,current_timestamp)< 91)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "61 to 90 days",
CASE
when DATEDIFF(dd,taxdate,current_timestamp) > 90
then
case
when syscred 0 then syscred * - 1
else sysdeb
end
end "90 + days"
from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'C' and intrnmatch = '0'
ORDER BY OCRD.CARDCODE, taxdate
Thanks
Pradnya -
Transaction code thro' SAP Query for customer spefific report
hi experts,
how to create transaction code (using SE43-) for the sap query created on own??
I have created the following required for a customer specific report
1.Infoset thro sq02
2.user group thro sq03 and assigned it to infoset
3.query thro sq01 and saved it with text
earlier i have used logical database PNPCE ( relevant for PA and payroll modules reports)
using sq01 , go to basic list , selected required infotypes and fields and
then selected, SAP List viewer for viewing and i get the report.
Now my question is how to create a separate transaction code for this sap query which i created
should i use SE43( area menu maintenance and area class???_)
should i create a variant and go to SE43??
advice solicited
snrHello
when you excecute the query in right han side corner you can get the program name
go to se80 select program & type this name and then you can create a tcode for that prog in SE80
reward points if helpful.
the prog name will be something like : AQZZ/SAPQUERY/* " ur query name
you can search for the name also in this manner -
Query for customer classification
we have maintained some data as characteristics in the classes for the customer master, my requirement is to generate the characteristics maintained for the sold to party using the SAP querys.
Can some one assist in creating the required query?
regards,Please search the forum before posting;many of the questions are already answered;
For example, check this link, similar question has been answered Re: Tables related to relationship between Customer and Classification
Also check this link How to Get Customer Classification details
Regards, -
Query for Customer Receivables Aging Report
What is the query to the Customer Receivables Aging Report? I cannot seem to reproduce the same results that SAP has in my Crystal Report.
ThanksTo reproduce it by query would not be an easy job. Crystal Report is a better tool for report.
Thanks,
Gordon -
I need to create a SAP Query to generate a report for customers and i need to use KNA1,KNB1,KNVV,KNVP and KNB5 tables.I have no idea how to create Query's using SQ01,02 and 03.Can some help me reagarding this in terms of documentation or any usefull material.I am using ECC 6.0 any documentation based on this version is helpful.
Regards,
Sri.Review following link;
http://www.thespot4sap.com/articles/sap_abap_queries_create_the_query.asp
Thanks. -
Hi friends,
I am trying to create a query through SQVI. My requirement is
Input fileds(selection fields): Comapny Code
Output fileds: Customer No.
Customer Name
Recon. A/c
I have tried with join tables of LFA1 and LFB1 but I am not able to get the out put.
Can anybody tell in which table and fields are to be selected.Hi Muraleedharan,
I have tried by joining KNA1 and KNB1. I have taken
selection fields - KNB1- BUKRS
list fieds - KNA1-KUNNR
KNA1-NAME1
KNA1-ORT01
KNA1-AKONT
After execution i am not able to get the data. No data selected message is getting. -
Query for Customer Balances and Corressponding Incoming Payments
Hi all,
How to get the account balance of a particular customer with corressponding incoming payments.
Eg: Suppose one Invoice having 5000.00 for which i got 3 incoming payments of 1000.00 2000.00 and 500.00, now i need to give a report as
CardCode | Balance | Adjusted Amount | Un Adjusted Amount
xyz | 5000.00 | 1000.00 | 4000.00
xyz | | 2000.00 | 2000.00
xyz | | 500.00 | 1500.00
i have mentioned for one customer similarly i need for all the customers and vendors.
Waiting for you earliest reply,
Thanks in Advance.Please check this thread:
Running Total in QLD
Thanks,
Gordon -
We need a query for customer balance
Example :if i will give the from date 01.05.11 & to date 31.05.11 and from customer A & to customer E then in report data will display like Customer code ,Name, group,sales employee,last bill amt,last bill date,openning balance(from start to 30.04.11),total debit(from date 01.05.11 & to date 31.05.11 ),total credit(from date 01.05.11 & to date 31.05.11 ),last balance(31.05.11)
Please reply ASAPHi,
You have broken few forum rules already:
1. Never say ASAP on the forum. Here is a public forum. no one owe you anything
2. You have never close your threads properly
3. Sound like you are not B1 user. If you are, give your B1 version and PL
4. Even if you are B1 user, report forum is the right forum.
Thanks,
Gordon
Maybe you are looking for
-
Dear Friends, Is it possible to have multiple Ship to Addresses for One single vendor. The vendors are service providers to whom Installation material needs to be despatched ( One vendor would be operating from Various states). No invoices are to be
-
On line versions of Adobe Acrobat
With Acrobat XI I am able to secure a document with a password. I would prefer to use an on line version to enable device independence. Am I able to make a document secure (password protected) with any of the on line versions? thanks.
-
I just don't wanna be one those who just got GOT...
-
Annoying blank pop-up error messahe in iTunes with iPhone
Using iPhone 3G iTines 9.0.2.25 with my Win7 x64 I get a simple pop-up error with no information. Here is a link to what the error pop-up looks like. The iPhone still syncs after I close this error message 3 or 4 times in a row but it is very annoyin
-
My (new to me) Apple refurbished iMac has a 1TB hard drive. Running OS 10.6.7 Snow Leopard. When I tried to install a Boot Camp partition, prior to installling Windows 7- 64 bit, I discovered that the machine had a 20 GB Boot Camp partition, too sma