Bubbleevent in SAP 8.8
We recently upgraded to SAP 8.8 from 2007A and notice that our routines do not work the same in 8.8. For example, we have some features that will do queries and fill in default data on the Sales Order line item such as Tax Code after we do a VALIDATE on Item Number. We use the bubbleevent = false so that after we fill in the Tax Code it will come back to the next field which is Item Description. In 8.8, it does not come back to the Item Description and goes to the field after Tax Code which is Discount %.
Has anybody else had this issue? Did anyone solve it?
Roger,
Did you recompile your add-on using 8.8 or did you just install the 2007A compiled version with 8.8? If you did the latter, you may try recompiling and then testing. I am not aware of the issue.
Eddy
Similar Messages
-
Choose from List Condition - SAP 9.0 visual studio 2010
Hi,
How to set condition for CFL. I am using SAP 9.0 Patch Level 12, Visual Studio 2010. I could find the event, ChooseFromListBefore event. I tried coding as below,but its not working:Got error like "Public member 'GetConditions' on type 'SBOItemEventArgClass' not found."
Private Sub ChooseFromListBefore(sboObject As System.Object, pVal As SAPbouiCOM.SBOItemEventArg, ByRef BubbleEvent As System.Boolean) Handles EditText0.ChooseFromListBefore.
Dim pCFL As SAPbouiCOM.ISBOChooseFromListEventArg = pVal
Dim oCond As SAPbouiCOM.Condition
Dim oconds As SAPbouiCOM.Conditions
' Adding Conditions to CFL1
oconds = pCFL.GetConditions() --Getting error in this line.
oCond = oconds.Add()
oCond.Alias = AliasName
oCond.Operation = Operation
oCond.CondVal = CondVal
pCFL.SetConditions(oconds)
end sub
Any help is appreciated.
Thanks in advance.
Parvatha Solai.NHi Parvatha,
The conditions should get from the CFL object it self, not the CFL Event object.
Dim oCFL = oForm.ChooseFromLists.Item("cflUID");
oConds = oCFL.GetConditions();
Regards
Edy -
Open and Savefile dialogs behind SAP
Hi all...
I know that showing open and save file dialog have allways been a problem in SBO Addons. A few years back this was a discussed topic at the SDN, and back then the solutions was to use a Winforms TopMost property
Sample:
System.Windows.Forms.Form winForm = new System.Windows.Forms.Form();
System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();
winForm.TopMost = true;
if (ofd.ShowDialog(winForm) == System.Windows.Forms.DialogResult.OK)
{ /* do stuff */ }
At that time this did work, but my experiance is that with the current versions (SP01) this workaround tend not to work...
Anyone have had the same problem, and perhaps found a new workaround?I dont know if my problem is the same but looks like it
I'm using a Windows Form of my own and here's my code
BubbleEvent = false;
if (ActivateCFQMenu)
if ((pVal.MenuUID == "Criteria") & (pVal.BeforeAction == true))
CFQAddon.frmInvoiceScouring InvoiceScouringForm = new CFQAddon.frmInvoiceScouring();
System.Windows.Forms.Application.DoEvents();
InvoiceScouringForm.ShowDialog();
InvoiceScouringForm.Activate();
Once the form is loaded, it doesn't popup in front of SAP but behind so I have to click on the TaskBar to show it.
I'm trying all kind of things, DoEvents TopMost etc..etc..etc
No result yet ! -
Prevent adding udo by bubbleevent
hi,
i want to prevent to add the udo document by using bubbleevent=true
Private Sub moSboApplication_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles moSboApplication.FormDataEvent
Select Case BusinessObjectInfo.EventType
Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
If BusinessObjectInfo.FormTypeEx = "FrmSeparate" And BusinessObjectInfo.ActionSuccess = False Then
oForm = moSboApplication.Forms.Item(BusinessObjectInfo.FormUID)
If gocSeparate.book(oForm) = False Then
BubbleEvent = True 'error happened, do not save udo now
End If
End If
If BusinessObjectInfo.FormTypeEx = "FrmSeparate" And BusinessObjectInfo.ActionSuccess = True Then
'UDO is added, so write docnums into documents purchase invoice, goods issue, goods receipt
gocSeparate.writeDocnumInDocuments()
End If
the bubbleevent=true is set (i checked it with my debugger), but it doesen't interest the sap-system, because the debugger is afterwards jumping to my second if-Block actionsuccess=true. The document (udo) is added.quit a simple mistake:
i have to set the bubbleevent=false -
Error creating Payments in SAP 2007 A
While creating Payments using SAPbobsCOM.Payments I am getting error message "Credit sum is zero [RCT3.CreditSum][line: 1]" but code working fine with 2005 DI API
Thanks Trinidad for you reply
After debugging I have found that there is no problem in payment code but there is a problem with "FormDataEvent" it's not returning the proper output
My code
Private Sub con_FormDataEvent(BusinessObjectInfo As SAPbouiCOM.IBusinessObjectInfo, BubbleEvent As Boolean)
If BusinessObjectInfo.FormTypeEx = "139" And BusinessObjectInfo.ActionSuccess = True Then
If BusinessObjectInfo.Type = "17" Then
SoDocType = True
Else
SoDocType = False
End If
ElseIf BusinessObjectInfo.FormTypeEx = "133" And BusinessObjectInfo.ActionSuccess = True Then
InvoiceDocentry = 0
If BusinessObjectInfo.Type = "13" Then
Set oXMLDoc = New MSXML2.DOMDocument
oXMLDoc.loadXML BusinessObjectInfo.ObjectKey
InvoiceDocentry = oXMLDoc.selectSingleNode("DocumentParams").selectNodes("DocEntry").Item(0).Text
End If
End If
End Sub
Now the line "BusinessObjectInfo.Type = "13"" not returning the docnum of 13 but returning docnum of base document. Same code working fine in SAP 2005. What could be the problem? -
SAP's messagbox blocks add event
Dear All,
I have put some user choice through SAP's message box on the add click event of sales order form. if user selects 'No', I dont let him add it. if he selectes 'Yes' button, the sales order should execute normal addition with its default addition. but nothing happens after the user clicks any button. it seems the appearance of messagebox blocks the add event. what should I do??
the code is :
If (pVal.FormType = "139" And pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And pVal.Before_Action = True) Then
oform = Nstk_Application.Forms.GetForm(pVal.FormType, pVal.FormTypeCount)
ocombo = oform.Items.Item("ExpDoc").Specific
Dim SaveSO As Integer
Try
SaveSO = Nstk_Application.MessageBox("Do you want to save this Sales order without LC Details?", 2, "Yes", "No")
If SaveSO = 2 Then
BubbleEvent = False
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
if I put simple msgbox instead of SAP's messagebox, the "Add" is triggered.
Thanks,Hi Kevin,
Sorry about the late reply.
Here what SAP replied to me:
Statement from Harshavardhan Jegadeesan (SAP):
"We are working on an official presentation. For now we can send an executive summary:
1 SAP Event Management is a track & trace solution in the Supply Chain space.
SAP Operational Process Intelligence is a native HANA solution for operational intelligence and process management.
2 Both solutions are complimentary and can help customers gain visibility, manage by exceptions and ensure business processes are running as per plan.
3 SAP will support to extend track & trace scenarios built with SAP Event Management seamlessly with operational intelligence, predictive
analytics, real-time analytics and KPIs, business situation detection with business rules and remedial actions with SAP Operational Process Intelligence in HANA."
Our Company is still in the process of gathering Business Requirements. Once that is completed we will decide which route to go.
Maybe both, i.e. utilizing EM for certain functions and OpInt for others according to business needs.
Cheers,
Jo. -
UPPSS.... sorry for html format!!
Repeat a message:
hi experts, I have an innusual problem with bubbleevent
Public Function F149_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent)
As Boolean
' Formulario Ofertas venta Dim x As Integer
Try
oForm = oApplication.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If pVal.Before_Action = True Then
F149_ItemEvent = True 'amm 20100907 DEBUGGING
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_VALIDATE
Select Case pVal.ItemUID
Case "4" 'cardcode 20100907 DEBUGGING probar... que el bubbleevent va ok??
F149_ItemEvent = False
End Select
End Select
Else '(before_action = false)
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_VALIDATE
Select Case pVal.ItemUID
Case "4" 'CardCode
If pVal.InnerEvent = False Then
... code here (ALWAYS EXECUTE!!!!??)
End If
End Select
End Select
End If
Catch ex As Exception
F149_ItemEvent = False
GestionError("F149_ItemEvent", ex)
End Try
End Function
In Main.vb i have an Itemevent Controller:
Private Sub oApplication_ItemEvent(ByVal FormUID As String, ByRef pVal As
SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean)
Handles oApplication.ItemEvent Dim FormType As String
Try
If pVal.EventType SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD And _
pVal.EventType SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE _ Then
FormType = IIf(pVal.FormType = 0, FormUID.Substring(0, 3), pVal.FormType)
Select Case FormType
Case "149" ' Ofertas de venta
BubbleEvent = F149_ItemEvent(FormUID, pVal)
End Select
End If
Catch ex As Exception
GestionError("Application_ItemEvent(" + FormUID + ", " + pVal.EventType.ToString + ")", ex)
End Try
End Sub
As you can see... i put bubbleevent always "FALSE" (via F149_Itemevent=false) for debug.... so addon ALWAYS EXECUTE!!!!?? the part of before_Action=false??
what i doing wrong??? I miss something?
thanks in advanced & kind regardsHi,
Just write
BubbleEvent = False
when you wants SAP to stop doing the action.
And do this in your actual class, no need to go to main class.
regards:
Sandy -
Does SAP maintain log of all the messages displayed on screen using MESSAGE statement?
We are investigating a problem and want to see the messages displayed by SAP during the time when problem occured.We have custom development for picking and confirmation. Last week we found that in some deliveries there is difference in delivered quantity and packed quantity.
Custom development is calling sap-standard FMs. Problem occurs randomly, roughly 10 deliveries in a week has this problem.
We are still trying to investigate the reason that is causing the problem.
Custom program does display the message to user if FM raise any message. We asked user of they are getting any message while picking, and if they are ignoring it.
They just confirmed that they are getting message 'Packing Not Possible Since there is no Quantity to be Packed' and they did ignored this. -
Rendering xml-table into logical filename in SAP R/3
Hi,
I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
Do I have to use the method gui-download or shall I loop the internal xml-table?
When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PMI believe you posted in the wrong forum.
This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
Ludek -
Manual de Integracao v300-2009-03-16 - SAP 4.7 SP30 preparado para NF-e?
Boa tarde,
Estou iniciando um projeto de implementação de MP135 + NF-e + SPED na versão 4.7 do SAP, este ambiente encontra-se atualizado com o SP30.
Gostaria de saber se é possível configurar a NF-e com base no novo layout definido no "novo" manual de integração do contribuinte (emitido em 16/03/2009) versão 3.00, a versão 4.7 com SP30 está preparada?
Como estamos iniciando a fase de blueprint, foi colocado por parte do cliente o interesse de implementação da NF-e com esta nova versão, permitindo desde já que a empresa emita NF-e já novo layout definido.
Desde já agradeço pela atenção,
Att,
André TeixeiraBom dia André,
O projeto NF-e no R/3 4.7 tem como prerequisito mínimo o SP 30, conforme SAP Note 989115. Então você está tranquilo quanto a isso. Faça uma busca em XX-CSC-BR-NFE no market place filtrando este support package para obter a lista de notas que deverá aplicar em seu ambiente.
Fiz uma rápida análise no manual 3.0 e concluí que as principais modificações são relacionadas ao DANFE, que no manual 3.0 diserta sobre a possibilidade de impressão em formulário contínuo e também a diferença do DANFE em contingência. O novo manual aproveita para documentar novas rejeições, novos retornos de protocolo (adicionando valores para o SCAN/DPEC), e o consulta de cadastro de emissor (atualmente sem suporte).
O layout utilizado continuará sendo o 1.10, com mínimas modificações no domínio de alguns campos (ex.: bairro exige hj de 1 a 60 caracteres, está mudando para 2 a 60 caracteres).
Respondendo sua pergunta, a solução SAP/GRC pode emitir NF-e conforme este novo manual pois o layout 1.10 já é suportado, regras de validação deverão ser atualizadas no GRC para evitar falha de schema (215/225) na Sefaz.
Atenciosamente,
Fernando Da Ros -
Perfis de Usuários do SAP R/3, GRC e PI
Pessoal,
Estou iniciando um projeto de NF-e (com B2B) em um novo cliente e estão solicitando todos os perfis de usuários para criação dos mesmos, alguém já passou por isso e poderia ajudar? basicamento serão para os usuários:
- De Comunicação entre R/3 e o GRC
- De Comunicação entre o GRC e o R/3
- De Comunicação entre o GRC e o PI
- De Comunicação entre o PI e o GRC
- Usuários que utilizarão o Monitor Web do GRC.
No aguardo, obrigado.
DaniloPara os usuarios de comunicacao, verifique o item 3.3.5. Communication User Details desse link: SAP GRC NFE 1.0 - New Solution Introduction & Implemention Best Practices
Com relacao aos usuarios dos monitores, vc pode filtrar o acesso (que notas eles conseguem ver) pelo CNPJ.
Para isso, crie uma role Z como copia da /XNFE/TAXNUMBER e nessa role Z, coloque o numero do CNPJ do emissor (filial ou matriz) das notas que esse usuario pode ver no activity respecitvo.
Att,
Henrique. -
Inutilização de uma nfe com mensageria não sap
Prezados Colegas,
Gostaria de solicitar uma preciosa ajuda de vocês.
Estou em um projeto de implementação, utilizando a solução SAP para NF-e, porém com uma mensageria NÃO-SAP que o cliente já utiliza hoje.
Preciso entender como funciona o seguinte cenário:
Foi emitida uma NF-e no ERP SAP e enviada para a Mensageria. Por algum problema na SEFAZ não houve uma resposta para a mensageria e neste intervalo o faturista vê que tinha erro na NF-e e resolve cancelar a nota.
No monitor de NF-e a nota está com estes parâmetros:
Status Ação : engrenagem
Etapa do Processo: em processamento
Status do Documento: Aguardar resposta
Status de Com. Sistema: Enviado ao Sistema de Envio de mensagens
Como devo proceder para cancelar esta nota e solicitar inutilização na SEFAZ ? A NF-e tem uma chave de acesso, a Inutilização vai gerar uma outra chave correto?, e na volta está chave (da inutilização) ficará gravada na tabela, e no Livro de Saídas aparecerá como inutilizada ?
Confirmem se são estes os passos que tenho que seguir:
No monitor, seleciono a nota e faço um ESTORNO ANTES DA AUTORIZAÇÃO; em seguida ESTORNAR DOCUMENTO DE ORIGEM, e depois eu clico em ENVIAR (ESTA É A SOLICITAÇÃO DE INUTILIZAÇÃO ?)
E pelo fato de ser outra mensageria, tem alguma implicação diferente, algo que eventualmente não funcione na atualização do SAP ?
Antecipadamente agradeço,
DiógenesFernando,
Eu vou reformular minha questão, porque acredito que misturei o cenário que o cliente comentou que existe hoje e como isto se daria no SAP, com o que realmente eu preciso saber que é a Inutilização de uma nota fiscal.
Então o cenário seria este:
O usuário criou uma nota, e se deu conta que criou errada e precisa cancelá-la, a nota foi para a mensageria, porém esta (a mensageria) por algum motivo, alguma falha na SEFAZ, o ambiente estava fora, algo parecido, ainda não tinha recebido resposta para a nota, se foi autorizada ou rejeitada, consequentemente o monitor de NF-e no SAP não foi atualizado, para esta nota na coluna Status da Ação, continua aparecendo a "engrenagem".
Para que o usuário cancele esta nota no SAP e na sequencia peça a inutilização, tudo isso levando-se em conta que não obtivemos a resposta da SEFAZ, a sequencia de passos que ele tem que fazer é esta que coloco abaixo ? :
1 - No monitor, seleciona a NF-e
2 - Escolhe "Estorno antes da Autorização"
3 - Na coluna ETAPA aparece a atividade "2"
4 - Escolho "Estornar documento de Origem"
5 - Enviar NF-e as Autoridades Fiscais
E levando-se em conta que a SEFAZ não respondeu da 1a vez, que a nota não consta na base de dados dela, então a SEFAZ deve aprovar a inutilização.
Pelo fato de ser uma outra mensageria, o processo acontece normalmente, não há nenhum desenvolvimento a ser feito do lado do ERP SAP para que esta situação seja atendida, a saída da solicitação de inutilização é feita normalmente pela função J_1B_NFE_XML_OUT, e no nosso caso aqui temos o PI como middleware que envia os dados para a mensageria NÃO - SAP. Nós já fizemos o desenvolvimento para atender a Inutilização quando se tratar do gap de numeração, em que usamos o programa J_1BNFECHECKNUMBERRANGES.
Desculpe, se não fui muito claro anteriormente.
Atenciosamente,
Diógenes -
Alteração dos layout's de impressão padrão do SAP B1
Pessoal, bom dia.
Gostaria de saber como faço para incluir um novo dado em um layout padrão do SAP B1, por exemplo: Fluxo de Caixa.
Toda vez que tento incluir ou alterar qualquer campo o layout traz informações que não tem nada a ver ou repete em todas as linhas.
Eu queria alterar por exemplo, no Fluxo de Caixa, que ele traga o Nome do PN e não o código do PN.
Agradeço desde já.
Abraços,
Antonio MeloDanilo,
A questão é que os campos demonstrados no layout de impressão do fluxo de caixa não demonstram de quais tabelas sao os campos.
Criei um novo campo e o relacionei ao campo Código do PN. Ele me trouxe como resultado o nome do meu primeiro PN cadastrado no sistema para todas as linhas, ou seja, trouxe errado.
Continuo na mesma.
Abs,
Melo -
Impressão de Cheques - Padrão Brasileiro - SAP Business One v. 8.8
Olá Experts!
O Layout de impressão de cheques default do SAP Business One 8.8 que está pré configurado no PLD imprime cheques nos padrões brasileiros? Ou tenho que customizar o PLD para imprimir os cheques?
Muito obrigado,
Ricardo VieiraResolvi o problema alterando o PLD dos cheques.
-
Cannot Send Email from SAP Business One
Hi Experts
I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
Now I have an Issue for One User,
Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
Have anyone encountered the Issue before
Please hep to solve this issue permanently
Thanks and Regards
Vinodh Kumar MohanHi Vinodh Kumar Mohan,
If the email can be found in Sent box, it must be delivered already.
The problem could be on the email recipient side. It may go to the junk mail.
Thanks,
Gordon
Maybe you are looking for
-
How to print multiple small pages on 1 sheet of paper without changing size
I have a document 85x110mm which I want to print *at exactly that size* 4 times on a sheet of A4 paper. I have duplicated the pages in the document (so there are 4 of them) and in print -> layout I can choose that they all go onto one sheet. BUT they
-
Is a simple ABAP Engine Licence available ?
Hello all ! After many tests, showrooms and procedures, I am convinced that WAS is the solution I need to pilot some of my SAP R/3 processes. Now, I am wonderign which installation I could choose. My customer actually works on a 4.5C R/3 version and
-
HT204655 What is the best way to export a photo from OS X Photos to Photoshop?
What is the best way to export a photo from OS X Photos to Photoshop?
-
Backup Oracle EBS R12.1.3
Dear friends we have a single node oracle EBS server I need to take backup. kindly provide me the steps or oracle document. the following are the details OS: RHEL 5.7 EBS Version :R12.1.3 DB: 11.1.0.7.0 Thanks.
-
Z@R temp files left behind with roaming profiles removal
See previous old post: Acrobat/Reader: [email protected] files left behind in Temp folder after printing It states that the issue is resolved with Windows 7 and Server 2008 ang higher, however i'm running multiple Windows 2008 R2 servers and this pro