Ajuda de Pesquisa não funciona numa tela Web Dynpro
Bom dia meus caros.
Estou com o seguinte problema: uma ajuda de pesquisa está retornando os valores errados para os campos após uma seleção pela tela do web dynpro.
Tenho uma ajuda de pesquisa Z baseada numa tabela Z com 5 campos, sendo 3 como chave primária. A ajuda de pesquisa exibe todos os 5 campos.
Exemplo:
Resultado da pesquisa na ajuda de pesquisa:
CAMPO_A (PK) | CAMPO_B (PK) | CAMPO_C (PK) | CAMPO_D | CAMPO_E
A | B | X | Y | 1
A | C | X | Y | 2
A | D | X | Y | 3
B | B | X | Y | 4
Se o usuário selecionar a linha 1, 2 ou 3, o retorno será sempre a primeira linha.
Se o usuário selecionar a linha 4, o retorno será sempre a linha 4.
Ou seja, a ajuda de pesquisa pela Web está entendo que somente o CAMPO_A é chave.
Isso não ocorre dentro do ECC. Se eu executar a ajuda de pesquisa dentro do ECC, o retorno sempre é o selecionado e os 3 campos que são chaves são "pintados" de azul no resultado da ajuda de pesquisa.
Estou sem idéias. Alguém já viu isso? Pode me ajudar?
Grato.
Douglas S. Santos
ABAP
2) A tela (view) do web dynpro estava retornando dados incorretos para a tela.
Solução: na View do Web Dynpro existia um código no método WDDOMODIFYVIEW (Method for Modifying the View Before Rendering) onde estava sendo feito um SELEC SINGLE com apenas um campo no WHERE numa tabela que possui 3 campos como chave primária. Dessa forma retornava o registro errado para a tela. O código foi corrigido. Vou postar o código para que servir de exemplo de como consultar e retornar valores na tela do web dynpro.
DATA:
node_zstqmf001 TYPE REF TO if_wd_context_node,
node_importing TYPE REF TO if_wd_context_node,
elem_importing TYPE REF TO if_wd_context_element,
stru_importing TYPE if_nota=>element_importing .
* navigate from <CONTEXT> to <ZSTQMF001> via lead selection
node_zstqmf001 = wd_context->get_child_node( name = if_nota=>wdctx_zstqmf001 ).
* navigate from <ZSTQMF001> to <IMPORTING> via lead selection
node_importing = node_zstqmf001->get_child_node( name = if_nota=>wdctx_importing ).
* get element via lead selection
elem_importing = node_importing->get_element( ).
* get all declared attributes
elem_importing->get_static_attributes(
IMPORTING
static_attributes = stru_importing ).
IF ( NOT stru_importing-desenho IS INITIAL ) and
( NOT stru_importing-folha IS INITIAL ) and
( NOT stru_importing-revisao IS INITIAL ).
SELECT SINGLE zfolha zrevisao zposicao zitem
INTO (stru_importing-folha, stru_importing-revisao,
stru_importing-posicao, stru_importing-item)
FROM zstpmt001
WHERE znumdes = stru_importing-desenho
and zfolha = stru_importing-folha
and zrevisao = stru_importing-revisao.
node_importing->set_attribute( name = 'POSICAO' value = stru_importing-posicao ).
node_importing->set_attribute( name = 'ITEM' value = stru_importing-item ).
ENDIF.
Similar Messages
-
Hi I need KM funcionality in a web dynpro application.
Is it possible to upload, download and search for documents with the KM API ? If it is, I would be very glad if someone could give me some example code, especially for creating content in a KM folder.
Regards
FloHi Florian
Yes its possible..
go through these docs..
[https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/kmuploadusingwebdynproapplication]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70a60afe-d576-2a10-68bf-9ce3988dc39e]
Regards
Khushboo -
Can not click on tell web sites I do not want to be tracked firefox 4
I use Firefox 4.0. I go to tools, option, advanced, then I try to put a check mark in Tell web sites I do not want to be tracked the box is grey and will not let me put in he check mark.
Can you please help me.You're not in Private Browsing mode when you try to select that preference, are you?
-
HT1529 Will the serial num. tell the year?
New with Mac Book Pro my serial number isRM******YA3 need to know the Year. Model identifier, Macbook 2,1
<Edited by Host>You shouldn't publish your serial number. For your security I have asked the hosts to consider editing it out.
There's not enough detail to be absolutely sure but here is a document which should give you the answer.
MacBook Pro - Wikipedia, the free encyclopedia -
How to tell web host no meta tags or search words please?
I am getting ready to upload files to my new site but want to make sure there will be no search words for this site other than the URL. I use DW4. Thanks.
Meta tags are placed in the HTML. Your webhost has nothing to do with the content that you place on their servers, other than making it available to the world.
Look in files you created with Dreamweaver and see if you added any meta information, it would look something like this:
<meta name="typeOfMetaTagHere" content="The Actual meta info here">
If you don't see anything that starts with <meta... then you don't have any meta information on the page. -
Can anyone tell me the sdm password needed to deploy a web dynpro appln
Dear Friends,
I am new to web dynpro. I have developed the first example appln given in the sap documentation. But there is a problem when i try to deploy and run it.
i am asked the sdm password. I have tried with the default password " sdm " but it doesnt work. The J2ee engine settings are fine i.e. all the three components are green. I am using the remote server with port 3601.
Can anybody please help me with the sdm pwssword. Any help is appreciated.
Thanks & Regards.
Saurabh.Hey Saurabh,
First of all some questions to your installation:
- What version of the Web AS are you using?
- Do you have access to the file system of that machine?
- Do you know who installed the system and can you grab the person?
- Is it a Java standalone or a Java + ABAP system?
To your questions (and please correct me if I'm wrong here...):
1) follow the path that I posted before. You probably have a standalone installation, so try <b>J2E</b> for SID and <b>JC01</b> for instance.
2) every SAP system is installed with a (in your landscape) unique System Identifier (SID). For a java standalone system the default is J2E.
3) the application server can be set up to have several instances (at least 2) for load balancing / clustering environments.
Check out <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/45/dc863f455f3417e10000000a114084/frameset.htm">this</a> link for an overview of the system landscape
4) if step 1 does not work, search for a folder SDM on the server box, there you have subfolders "program" and "root". The sdm.bat file is within the "program" folder.
Cheers,
Mark -
How can I tell this FM to update the buffer before reading data??
Hi All,
I have developed a Web Dynpro Application that calls a FM.
Values are written into the database (I use a standard FM for that).
After that, values a read from the database to be show in the Web Dynpro Application again (Again, using a standard FM).
However, the data is not being updated, that is, the data delivered by the function module is not the updated, new data, but the old data.
If I select the data using simple select statements, ist is provided correctly (new data). That means the database already has the correct data, but the FM uses some sort of buffer which does not seem to be up to date at this point in time...
How can I tell the FM to update is buffers before being acually executed?
The function module in question is called HRIQ_ACAD_READ_TIMELIMITS, but I don't think this information is required to answer my question.
THANKS, Johannesaye, thats ecaxtly what i meant.
Displaying the data in a new process. i know this is not what you finally want, but if the data is correct in your new process we might get better ideas what is causing your buffer problems.
BTW is your system scaled? do you have more than one application server and may this be a synchronisation error? -
Who can tell me how to find the leave request Webdynpro for ABAP iview
Hi,Expert,
As I know Portal only has Webdynpro for java iview for leave request iview in the past.
but someone tell me SAP portal has delivered some new standard WebDynpro for ABAP iview.
I have a requirement to create a employee role for new Leave Request service created by WD ABAP . Under Content Provided by SAP in Content Administration, I couldn't find the iView assocated to the leave request except the Java one. Is there have any Employee Self-Service Web Dynpro ABAP workset ?
thanks
OliviaThe business package for ESS based on Webdynpro for ABAP is available only for ECC 6.0 EHP5.
If you are on EHP5, you may choose to use this version of the BP.
http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/340b0507434193adbfe3f8fc8896c7/frameset.htm
Leave Request application:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/1f/a073be62744fcca7e1fae9942f0031/frameset.htm
Thanks,
Shanti -
Can u please tell which book or site is good learning abap webdynpro
can u please tell which book or site is good learning abap webdynpro and workflow........................
Hi,
Check Thomas Jung's reply in this thread [Web Dynpro ABAP step by step guide for sample applications;. It has links to all elearnings and blogs.
Radhika. -
Boa tarde,
Gostaria de uma ajuda para entender melhor como funciona esse tipo de NFE - ISS para o distrito federal.
Realizei leitura de alguns tópicos, mas ainda não ficou claro.
Deverá ser criado uma nfe com um item de serviço (modelo 55)?
Essa nota no sap deverá ficar como nfe normal(marcado na j1b3n como nfe) só que com um item de serviço?
O envio para a (Mensageria)SEFAZ será feito por um xml padrão nfe (normal modelo 55), existe alguma tag nova para esse serviço?
Obrigado desde já.
AmandaBom dia Danilo
a SAP tem um acordo com a Skill que esta vendendo esse Add-on e sao eles que dao o suporte.
se precisar de contatos, fale com o Carlos Hernandez primeiro.
Um abraco
Rui Pereira
Euipe de Moderadores SAP Business One -
Consolidar IVA com Mestre de Material
Boa tarde
Temos uma necessidade nos Pedidos de Compra (MM).
Usamos esquema TAXBRJ ECC 6.0.
No mestre de materiais / campo MATUSE / usamos: 1 (Materia Prima) e 2 (Consumo) - forma STD.
Temos IVA's que são utilizados para consumo e para matéria prima. até este ponto OK.
Porém precisamos criar um subgrupo dentro dos IVA's. Temos hoje 4 classes de IVA:
1ª - Consumo adm (C0, C1, C3)
2ª - Consumo prod com PIS/COFINS mais demais impostos (Y0, Y1, Y3)
3ª - Importação (materia prima) (I0, I1, I3)
4ª - Materia prima com PIS/COFINS (Z0, Z1, Z3)
Porém precisamos que de acordo com o cadastro do material onde haveria este subgrupo, o sistema exibisse na pasta Fatura do Pedido, somente os IVA's deste subgrupo, hoje são exibidos todos.
Por exemplo, no mestre de materiais iria criar um subitem com 4 opções (consumo adm, consumo prod, importação, materia prima) e dentro deste exibiria os 3 IVA's pertencentes a este subgrupo.
Não sei se consegui ser clara?
Algúem já teve que fazer algo parecido? Porque minha área de suprimentos alega que os IVA's devem vir pré definidos do cadastro do material. e não exibir todos os ivas existentes no nosso esquema de calculo.
Obrigada pela ajudaOi
Vejo duas alternativas... uma é você usar uma lista personalizada de tax code onde o próprio usuário pode configurar na ME21N; bem simples... na verdade é só a aplicação de um filtro.
E, a outra é você criar "Ajuda para pesquisa/Search Help" Z seguindo a regra que você deseja e atribuir na tabela EKPO para o campo MWSKZ.
Abraço
Eduardo -
qaundo eu conecto ele no carregador ele ate liga
mais quando eu vou tirar ele desliga
e quando eu conecto ele no pc ele fica numa tela preta escrito iPod cpom o cabo carregador nelaGoogle translate:
My ipod is not out of the screen to send connect to usb, what i do?
Connect the iPod to your computer and restore via iTunes,.
iTunes: Restoring iOS software -
Fields for creation of BP in cProjects front-end are read-only
Hi everyone,
I'm a beginner in SAP-Development/Customizing so I hope this question isn't too easy
I can't create a Business Partner using the cProjects front-end (Ressources > Staffing) because the necessary fields and buttons are read-only... (> web-Dynpro Component: DPR_ROL_STAFF; View-Info: VI_SEARCH_CREATE)
I'm using CPRXRPM 450_700 patch 0006
The field-control is standard-SAP (0SAP).
My user-account has all cProject-roles + SAP-ALL
I assume i can change the behaviour of these fields in the Field Control but I can't identify which is the corresponding Object Category to apply the changes.
- Is there a documentation which field belongs to which Object Category in Field Control?
- Or can somebody tell me a procedure to find it out on my own?
Thanks in advanceHi,
generally it is recommended to use transaction BP or ALE distribution to get the business partner be created.
If you would like to create the BP in web UI directly, the user must have the Structural Authorization, see customizing path:
Collaboration Projects -> Resource Management -> Organizational Management.
It is very HR related topic, you may contact a HR consultant to know more details about it.
Kind regard,
Zhenbo -
Getting error COMPUTE_INT_TIMES_OVERFLOW in GUI_DOWNLOAD
Hi Experts,
I am using server SRM 7.0
and support package is SAP_ABA 701 0007 SAPKA70107 Cross-Application Component
I am getting dump in GUI_DOWNLOAD Function module
This is ST22
In the current program "SAPLSFES", multiplying the numbers 21550 and
131070 (using the operation '*' or 'MULTIPLY') resulted in a value
greater than 2147483647 or smaller than -2147483648. This
results in a whole number overflow.
Runtime Errors COMPUTE_INT_TIMES_OVERFLOW
Except. CX_SY_ARITHMETIC_OVERFLOW
Trigger Location of Exception
Program SAPLSFES
Include LSFESU17
Row 517
Module type (FORM)
Module Name MASS_DOWNLOAD
and its coming because of this
514 if prc_filetype = 'BIN' and bin_filesize ne 0.
515 tablesize = bin_filesize.
516 else.
>>>>> tablesize = lines * record_length.
518 binfilesize_lcl = tablesize.
519 endif.
Please tell me is there any Patch or note for it .
Thanks & Regards
Prashant GutaHi Rogério Ribeiro,
Thanks for Reply .
I can not reduce file because i am downloading Web Dynpro component by the download prgram given in Sap Link.
so Web Dynpro component is big thats why prblem is coming .
Thanks & Regards
Prashant Gupta -
Error when using Adobe form in Web Dynpro..
I created an adobe form and gave the form name in template source property of interactive form in web dynpro component.The context node used in that form is automatically created. I pass value to that node using set_static_attributes. When I run the application I am getting an error msg 'Node <node name> does not contain any elements'.Can someone tell me how to solve this problem?
Dear friend,
Check the Below link
https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
Maybe you are looking for
-
Hi, Can someone tell me how to find out my Skype ID? thanks
-
My iPod won't import all the songs on iTunes
My iPod Classic won't import all the songs in iTunes. Any ideas?
-
Why is the thinking icon alway by the battery symbol
For some reason the thinking symbol ( dotted lined circle) is continually by my battery when I'm on my home screen. I've tried turning off iCloud sync nothing happened turning off all syncs I have no idea what this is and I am worried my phone is try
-
Transaction Code to see the integration points between modules
Dear Gurus, I came to know that, there is a trnsaction available in SAP ECC to see the integration points between modules. Eg. PP-MM & MM-PP If anyone found pls post it here. Regards, Siva.
-
How to create dynamic stages in parallel within Complex Task in BPM..?
Hi All, I have a requirement where in single participant type stages needs to be generated in parallel dynamically based on one collection type complex element. InputPayload for HumanTask is as below. <v1:WFSteps>