While adding KONA table in query(sq02), relevant billing doc not displayed
Hi experts,
When I am changing an existing query through sq02( I am joining table KONA with already existing tables VBRK & VBRP and adding fields , Agreement number & Validity date from & Valid till) , after execution , query displays 3 additional columns of Agreement number, Validity from & Validiy to, but it ceases to display records of those documents in which rebate is accrued. It only displays those documents where rebate basis is present in condition records of billing item data, but zero rebate is accrued.
Any suggestion are highly welcome.
Best Regards
Vimal
Hi Vimal,
Unfortunately, it is not possible to find out the list of invoices which have accrued to a rebate agreement. This is true not just for rebate for also for credit management as an example. If you want the list of sales orders which have resulted in the open order value in FD 32 for the credit customer, it is not possible.
This is true for every other functionality which uses the Infostructure update instead of normal table update. It is because infostructure update is always cumulative and table update is always record specific. When infostructure update gets a new value, the old value is erased. Hence it is not possible to find out the entire list of entries which contributed to the total value and we can only see the total value.
To sum it up, it is not possible to find out all the invoices which have resulted in the accrual value of a particular rebate agreement. Also it is not possible to find out all the sales orders, which resulted in the open order value of a credit customer in his credit master data in FD32. If this has to be done, it has to be done manually by using a complex logic.
If you want to find out the invoices relevant for rebate agreement, you need to find out all the invoices created within a timespan, find out all the partners, material etc. Then find out all agreements relevant for this period (or involving this period) involving the customer (payer/sold to party) and the material. Then match both the entries to get what you want. That is lot of work and even after that, accuracy of data is in question.
Similar Messages
-
SQ01 Query on VBRK billing docs
Hi Experts
I have a issue where we ran an customised query for the return billing documents the value for the return items is not showing the negative value in the report , Pls help me to know how does the Query report the billing values shows,
Please adviis there ant report or query which gives the value of the retuned
sales orders or and the cost with neagtive values
As already Reazuddin pointed out, no report will show the value with sign positive or negative. But in order to differentiate this, definitely, you should be having a different sale order types and billing types for normal sales and return sales. So in that way, to check the returned sales value, go to SE16, key in VBRK and execute. There input return billing type (credit memo) and execute. Whatever value populates there can be treated as returns. Else if you want to see the for how much value, return order is created, the same logic applies. In SE16 table, key in VBAK and execute. There give return sale order type and execute. You will get the desired result.
thanks
G. Lakshmipathi -
Table linking rebate agreement to billing doc?
Hi,
Is there an SAP table that contains both rebate agreement nbr AND billing doc nbr? I have a requirement to extract this info for one of our pricing team.
Thanks in advance.
MikeHi,
Run the Report "SDBONT06" in the Test Mode It should give you the list of billing documents per the particulat agrrement. You can take this data.
Regards
Ram Pedarla -
RUN Time error while use filter table in query generator
Hai..
I have 2 Functions under "Scalar valued functions" in SQL Server,i try to call this functions in Query generator its working fine,result also display correctly, but i click filter table system showing Error Message " Run Time Error,Abnormal program termination" then SAP is get closed,i tested this scenario in 3 Database am getting same error , Is this BUG in SAP B1?There is no error number in error messageThis is my function
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date, ,>
-- Description: <Description, ,>
-- =============================================
ALTER function [dbo].[Get_TransObjName](@Obj_type NUMERIC(20,5))
returns varchar(500) as
BEGIN
DECLARE @Obj_type_Name varchar(100)
select @Obj_type_Name =
case @Obj_type
when -2 then 'Opening Balance'
when -3 then 'Closing Balance'
when 1 then 'oChartOfAccounts'
when 2 then 'oBusinessPartners'
when 3 then 'oBanks'
when 4 then 'oItems'
when 5 then 'oVatGroups'
when 6 then 'oPriceLists'
when 7 then 'oSpecialPrices'
when 8 then 'oItemProperties'
when 12 then 'oUsers'
when 13 then 'A/R Invoices'
when 14 then 'A/R Credit Memo'
when 15 then 'A/R DeliveryNotes'
when 16 then 'A/R Returns'
when 17 then 'oOrders'
when 18 then 'A/P Invoice'
when 19 then 'A/P Credit Memo'
when 20 then 'Goods Receipt PO'
when 21 then 'Goods Returns'
when 22 then 'PurchaseOrders'
when 23 then 'Quotations'
when 24 then 'IncomingPayments'
when 25 then 'Deposit'
when 28 then 'oJournalVouchers'
when 30 then 'JournalEntries'
when 31 then 'oStockTakings'
when 33 then 'oContacts'
when 36 then 'oCreditCards'
when 37 then 'oCurrencyCodes'
when 40 then 'oPaymentTermsTypes'
when 42 then 'oBankPages'
when 43 then 'oManufacturers'
when 46 then 'VendorPayments'
when 48 then 'oLandedCostsCodes'
when 49 then 'oShippingTypes'
when 50 then 'oLengthMeasures'
when 51 then 'oWeightMeasures'
when 52 then 'oItemGroups'
when 53 then 'oSalesPersons'
when 56 then 'oCustomsGroups'
when 57 then 'ChecksforPayment'
when 58 then 'Stock List'
when 59 then 'Goods Receipt'
when 60 then 'Goods Issue'
when 64 then 'oWarehouses'
when 65 then 'oCommissionGroups'
when 66 then 'oProductTrees'
when 67 then 'Inventory Transfers'
when 68 then 'oWorkOrders'
when 69 then 'Landed Costs'
when 70 then 'oCreditPaymentMethods'
when 71 then 'oCreditCardPayments'
when 73 then 'oAlternateCatNum'
when 76 then 'Postdated Deposit'
when 77 then 'oBudget'
when 78 then 'oBudgetDistribution'
when 81 then 'oMessages'
when 91 then 'oBudgetScenarios'
when 97 then 'oSalesOpportunities'
when 93 then 'oUserDefaultGroups'
when 101 then 'oSalesStages'
when 103 then 'oActivityTypes'
when 104 then 'oActivityLocations'
when 112 then 'oDrafts'
when 116 then 'oDeductionTaxHierarchies'
when 117 then 'oDeductionTaxGroups'
when 125 then 'oAdditionalExpenses'
when 126 then 'oSalesTaxAuthorities'
when 127 then 'oSalesTaxAuthoritiesTypes'
when 128 then 'oSalesTaxCodes'
when 134 then 'oQueryCategories'
when 138 then 'oFactoringIndicators'
when 140 then 'oPaymentsDrafts'
when 142 then 'oAccountSegmentations'
when 143 then 'oAccountSegmentationCategories'
when 144 then 'oWarehouseLocations'
when 145 then 'oForms1099'
when 146 then 'oInventoryCycles'
when 147 then 'oWizardPaymentMethods'
when 150 then 'oBPPriorities'
when 151 then 'oDunningLetters'
when 152 then 'oUserFields'
when 153 then 'oUserTables'
when 156 then 'oPickLists'
when 158 then 'oPaymentRunExport'
when 160 then 'oUserQueries'
when 162 then 'Inventory Valuation'
when 163 then 'oCorrectionPurchaseInvoice'
when 164 then 'oCorrectionPurchaseInvoiceReversal'
when 165 then 'oCorrectionInvoice'
when 166 then 'oCorrectionInvoiceReversal'
when 170 then 'oContractTemplates'
when 171 then 'oEmployeesInfo'
when 176 then 'oCustomerEquipmentCards'
when 178 then 'oWithholdingTaxCodes'
when 182 then 'oBillOfExchangeTransactions'
when 189 then 'oKnowledgeBaseSolutions'
when 190 then 'oServiceContracts'
when 191 then 'oServiceCalls'
when 193 then 'oUserKeys'
when 194 then 'oQueue'
when 198 then 'oSalesForecast'
when 200 then 'oTerritories'
when 201 then 'oIndustries'
when 202 then 'oProductionOrders'
when 203 then 'A/R Down Payment'
when 204 then 'A/P Down Payment'
when 205 then 'oPackagesTypes'
when 206 then 'oUserObjectsMD'
when 211 then 'oTeams'
when 212 then 'oRelationships'
when 214 then 'oUserPermissionTree'
when 217 then 'oActivityStatus'
when 218 then 'oChooseFromList'
when 219 then 'oFormattedSearches'
when 221 then 'oAttachments2'
when 223 then 'oUserLanguages'
when 224 then 'oMultiLanguageTranslations'
when 229 then 'oDynamicSystemStrings'
when 231 then 'oHouseBankAccounts'
when 247 then 'oBusinessPlaces'
when 250 then 'oLocalEra'
when 280 then 'oSalesTaxInvoice'
when 281 then 'oPurchaseTaxInvoice'
when 300 then 'BoRecordset'
when 305 then 'BoBridge'
when 260 then 'oNotaFiscalUsage'
when 258 then 'oNotaFiscalCFOP'
when 259 then 'oNotaFiscalCST'
when 261 then 'oClosingDateProcedure'
when 10 then 'oBusinessPartnerGroups'
when 278 then 'oBPFiscalRegistryID'
else cast(@Obj_type as char(20)) end
return @Obj_type_Name
END -
Getting Warning while adding Dimension table to FACT LTS
Hi,
While i am applying join betwwen fact and Dimension at BMM level, i am getting warning as there is no join with Fact Source, even though i provided join there.
Can any one help in this.
thanks
ManuHi
Make sure you have set the Content Level of all LTS of all Fact Tables...
Double click on LTS of fact, go to Content Level --> change to Logical Level to 'Column (or) Detail Level'
then u will not get warnings..
Please mark helpful or correct if this helped you out -
BW query: appended master data information not displayed
1-30-07
I had existing info-object for sales orders with some master data. I
appended the master data with additional sales order numbers. I then loaded
transaction data ( which included additional sales order numbers ) into new
infocube.
However when I run the query, I do not see appended sales order numbers. I
checked data in infocube for SID numbers for sales orders. Then I matched
SID table for sales order infoobject to make sure that new SID numbers are
added for the appended sales orders. Master data is also activated.
Everything matches. But I don't see the appended sales order numbers in
query.
How to correct this problem ?
Thanks for your help.
manoharSudheer
ACR window shows several hierarchies which are not applicable to sales orders.
I tried to collect the infoobject which is modified. However, I am unable to select
ANY infoobject. ( Infoboject list button --> new window opens --> search icon --> when I try to search for the infoobject, I get no hits. Even when I enter the exact name, it does not pop up )
So I am lost here.
Can you help ?
Thanks
manohar -
How to Transfer only VPRS to COPA, Billing Doc not relevant to accounting
Hi Gurus,
I have a scenario where Revenue and Taxes are posted in SD (And COPA) in a Billing document, but the COGS occurr in a later moment, in another Billing document. IT can occur days after the first billing document.
So we decided that we will send COGS to COPA through VPRS only in the second moment, so FI and COPA will be reconciliated.
The problem is that this second billing document only posts COGS via delivery document, and the Billing document is not relevant to accounting. But I need to send the COGS of VPRS from this billing document to COPA.
Do you know if there is a way to send This billing document to COPA even if it's not relevant to FI? With KE4S i'm not being sucessful.
Kind Regards
MayumiThank you all for the replies. I was very helpful.
I coudn't use note 337488 to make COGS flow to COPA from PGI, because I had already mapped all the SD processes to flow COGS from VPRS and this pro-forma Billing Document was the only situation where I had a different scenario.
We decided to make a workaround, by changing the doc category in SD and the operation group, and we are releasing this billing dc to accouting by posting a debit/credit in FI (making it Zero), and this way we made it possible to generate COPA documento registering only the COGS through VPRS.
Kind Regards
Mayumi -
Query on Multiprovider - Data is not displayed correctly
Hi,
I have two cubes in a multiprovider.
1st has following Characteristics :
1. Service Order
2. Product line code
3. Cost Center
4. Fiscal Period
5. Fiscal Year
6. Actuals - Key Figure
2nd cube has
1. Product Line code
2. Cost Center
3. Budget type
4. Fiscal Year
5. Fiscal period
6. Budget Amount - Key figure
I have a query to display: Service Order, Product line, cost center, fiscal period, actuals and budget amount.
When I execute I get 2 rows:
1 st row displaying - Actual values with all the data
2nd row displaying Product line and Budget with all other fields containing '#' sign or "not assigned" .
I will appreciate if you can tell me what mistake I am doing. I have checked the multiprovider 'Identification' - all the fields are selected.
Thanks in advance.
Regards
JitendraHi Jitendra,
This is because you have got service order charcterstic in 1st cube only and does not exist in 2nd cube. when you try to display Service order, you will get two records. If you remove service order from display of query, you will be able to see one record as charcterstics are common in both cube.
If you want to display service order and wud like to resolve this issue, try the following:
Restrict Budget amount with characterstic service order and right click it and select Constant. Then execute the query.
Cheers
SB -
Query based on ODS do not display on the EP using LDOC
Hello everybody,
I have a query based on ODS. It can display on the workbook. It also can display on the web using LDOC. But when i excute it as iview on the EP, it show nothing. I am so doubt. Who can help me?
Thanks Thomas.Hi Thomas,
If you are able to see records on web but not on Portal, it will be something to do with your portal setting.
try to check other queries as well on portal.
hope it helps
Regards
Vikash -
In query, turkish column name is not displayed correctly?
In my characteristic and key figure infoobjects , i used turkish characters for explanation but in Bex they are displayed as illegal characters for column names.
How can i correct this or where would i make a mistake?
Thanks.Hi Tuncer,
I am dealing with the same problem you had.
Turkish characters in the column names, infocube names are not displayed although in BW turkish characters are displayed properly. Did you solve your problem about Turkish characters in column names.
If you could solve, I would be glad to hear your solution.
Thank you.
Mehmet Cekdemir -
Bold 9000: problem while adding email address to TO:
Hi Guys!!
I am facing a problem while adding email addresses (whcih are already stored in my BB Bold 9000). while adding "To: or CC:" only 1 email stored contact is displayed. others are not.
please help me some solution.
regards
Thanks & regards
Ajay JainIf I understand you correctly, while adding email addresses to any particular email IDs you're can't see multiple email IDs. Email addresses are stored under the contact names. You can save multiple email address under one contact. Now while putting name in To/CC field you should be typing the names of the contact and when pressing/selecting names you would be prompted with multiple email addresses.
Try this -
When you device is POWERED ON, remove the battery for a minute, and then reinsert the battery. This make a reboot to your device which minor issues with the BlackBerry device.
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
Multiple base DN while adding LDAP server
Hi all ,
I want to add multplie base DN , while adding ldap server. Because all our users are not in the same base DN .
So is there a way to do that ?
Thanks!
Regards,
Vijay.Nope. You can select a higher level OU which includes all nodes.
Sent from Cisco Technical Support iPhone App -
Error while adding records in user defined table
Dear all,
I am adding a record in user defined table using .add() method. the code is given below. while adding it raises the following error
"-1[Microsoft] [SQL Native Client] [SQL Server] Conversion failed when converting the nvarchar value '-3 @BG_MAILSETTINGS' to data type int. (CINF). "
All the fields are varchar date type.
Dim oUDT As SAPbobsCOM.UserTable
oUDT = oCompany.UserTables.Item("BG_MAILSETTINGS")
With oForm.DataSources.UserDataSources
oUDT.Code = "1"
oUDT.Name = "SMTPSERVER"
oUDT.UserFields.Fields.Item("U_SERVER").Value = .Item("EDTSMTPSVR").ValueEx
oUDT.UserFields.Fields.Item("U_EMAIL").Value = .Item("EDTFEMAIL").ValueEx
oUDT.UserFields.Fields.Item("U_PORT").Value = .Item("EDTSMTPPRT").ValueEx
oUDT.UserFields.Fields.Item("U_USERNAME").Value = .Item("EDTSMTPUSR").ValueEx
oUDT.UserFields.Fields.Item("U_PASSWORD").Value = .Item("EDTSMTPPWD").ValueEx
oUDT.UserFields.Fields.Item("U_AUTHENT").Value = .Item("CMBSMTPAUT").ValueEx
K = oUDT.Add
If K <> 0 Then
oCompany.GetLastError(iErrCode, sErrMsg)
MsgBox(CStr(iErrCode) & "-" & sErrMsg, vbCritical, "Error")
Exit Sub
End If
End with
Could any one please say the solution for this.
Many thanks,
Manikandan.
Edited by: Rui Pereira on Dec 23, 2008 3:49 PMDear Manikandan P,
Is there any change and check in stored procedure SBO_SP_TransactionNotification?
Best Regards
Jane Jing
SAP Business One Forums team
Edited by: Rui Pereira on Dec 23, 2008 3:56 PM -
I want to create a query to send auto email to customer while adding AR Invoice
Hi
Friends
I want to create a query to send auto email to customer while adding AR Invoice in SAP Business One 8.82.
using the following fields & Text like
email ID from - BP Master
' Dear Sir '
Invoice is generated on the name --- BPName
Quantity --- 22.5 Tones
Invoice Value --- 85,000/-
date & Time --- 12-07-2014 : 16:18
Thanks & Regards
XXXXXXXXXX
Please tell me how to set this in SAP B1.
SrinivasI want to to send email to customer automatically the current invoice details while adding AR Invoice in SAP Business One 8.82.
using the following fields & Text like
email ID from - BP Master
' Dear Sir '
Invoice is generated on the name --- BPName
Quantity --- 22.5 Tones
Invoice Value --- 85,000/-
date & Time --- 12-07-2014 : 16:18
Thanks & Regards
XXXXXXXXXX
Please tell me how to write query in stored procedure to send email automatically.
Srinivas -
Error while adding user fields to user table using vb6.0
Hi,
I am adding a user tables using vb6.0 using DIAPI.
I am able to add the user table successfully.
I am getting the following error when i am adding the fields to the table.
"The metadata object for this object cannot be updated, since it's ref count is bigger than 0."
My code is as follows:
oUserFieldsMD.TableName = TABLE_NAME_ITEM_LOCN
oUserFieldsMD.Name = vTableFields(0, lCount)
oUserFieldsMD.Description = vTableFields(1, lCount)
oUserFieldsMD.Type = vTableFields(2, lCount)
oUserFieldsMD.EditSize = CLng(vTableFields(3,lCount))
lRetCode = oUserFieldsMD.Add
This error does not come up when i try to add the field to my table using the vb sample provided by SAP.
Your help will me much appreciated.
Thanks.Hi Satish,
The problem is that you added the table and the objetc that you used to add the table is not freed properly. You need to free the object and then the reference count to that table will be 0 - which will enable you to add the fields
e.g
Dim pUTables As SAPbobsCOM.UserTablesMD
'Do your stuff
Set pUTables = Nothing
Dim pUFields As SAPbobsCOM.UserFieldsMD
'Do your stuff
Set pUFields = Nothing
Maybe you are looking for
-
Using Variable within Filter expression will not parse.
IN ODI 11.1.1.3.0, I defined a Variable (SelectionDate) of type "Alphanumeric", Default Value = 01-JAN-1970 with the select query: select to_char( SYSDATE , 'DD-MON-YYYY') from dual. I intend to use this variable as a scenario variable (parameter) th
-
IPhoto '11 duplicates when editing in external editor
What the topic says. iPhoto automatically creates a duplicate, that actually shows up as a duplicate in the library, when you choose to edit a photo in an external editor (such as Photoshop). It used to just replace the original, thus showing only th
-
Image to move with keypad?
How I get Image to move when I press x-key on keypad?
-
Default Mac Dictionary Missing
hey guys i need some help. i just started using the macbook. my default mac dictionary does not want to open up. i tried opening it up on my desktop but it displayed a question mark. Also i have been searching for it on my laptop applications and eve
-
How To Fix NUMBER in Matrix array (LABVIEW 2011)
If I want the values in the matrix array to store the values entered. It was close and then open a new value is retained. I have to do. I need my fix. Attachments: HW8.vi 69 KB