Query with BAPI_PO_CREATE1 for Partial Service PO.
Dear Experts,
I am unable to create a Partial Service PO with BAPI_PO_CREATE1. No matter the Qty specified, in the field POSERVICES-QUANTITY; the Service PO gets created with the Qty specified in the RFQ.
For your ref, the sample ABAP code is as below:
"The PR has 2 line items, a coded Service and another uncoded service.
"The internal table service_data is filled by us for testing.
LOOP AT service_data.
MOVE service_data-introw TO poservices-line_no.
MOVE service_data-extrow TO poservices-ext_line.
MOVE service_data-srvpos TO poservices-service.
MOVE service_data-order_qty TO poservices-quantity.
APPEND poservices.
ENDLOOP.
The BAPI executes successfully and a Transaction Commit is also used for PO creation.
Kindly, let us know for any specific fields that needs to be passed to POITEM, POSERVICES or any other BAPI parameters that I have missed out.
Regards,
Yogesh.
Dear Yogesh,
The moment you give the reference of a quotation for Service PO Creation, the Service PO created will always be of the quantity of the quotation. That's because in Service PO Quotation maintenance, the gross price of the service is calculated as rate*quantity. Now, the addition of this Service Gross Price of all the sub-line items of the Service becomes the Basic Price for the corresponding line item.
Hence, any change in quantity in the quotation and the PO created through BAPI with quotation as reference will be in contradiction.
The only option is to create a PO and then amend it.
Regards,
Pranav.
Similar Messages
-
BAPI_PO_CREATE1 for Multiple service line items
Hi Exports,
I am using BAPI_PO_CREATE1 to create service PO. I am facing problem when each line item(ebelp) has multiple service line items. I am unable to map multiple service line items to a single line item (ebelp) properly.
Can anyone help.
Regards,
KiranHi ,
I am able to create service PO when only one service line item is there.
If multiple service line items are there. then i have to put the below code with in the loop.
here i am facing the probelm.
w_poservices-pckg_no = g_pckg.
w_poservices-line_no = g_pckg.
w_poservices-outl_ind = c_x.
w_poservices-subpckg_no = g_pckg + 1.
w_poservices-service = w_sdata-srvpos.
w_poservices-short_text = w_idata-ktext1.
w_poservices-quantity = w_idata-menge.
w_poservices-base_uom = w_idata-meins.
w_poservices-gr_price = w_idata-tbtwr.
w_poservices-matl_group = w_idata-matkl.
APPEND w_poservices TO i_poservices.
CLEAR: w_poservices.
w_poservices-pckg_no = g_pckg + 1.
w_poservices-line_no = g_pckg + 1.
w_poservices-ext_line = 0000000010.
w_poservices-outl_ind = c_x.
w_poservices-subpckg_no = g_pckg + 2.
w_poservices-service = w_sdata-srvpos.
w_poservices-short_text = w_sdata-ktext1.
w_poservices-quantity = w_sdata-menge.
w_poservices-base_uom = w_sdata-meins.
w_poservices-gr_price = w_sdata-tbtwr.
w_poservices-matl_group = w_idata-matkl.
APPEND w_poservices TO i_poservices.
CLEAR: w_poservices.
w_posrvaccessvalues-pckg_no = g_pckg + 1.
w_posrvaccessvalues-line_no = g_pckg + 1.
w_posrvaccessvalues-serno_line = 01.
w_posrvaccessvalues-serial_no = 01.
w_posrvaccessvalues-quantity = w_idata-menge.
APPEND w_posrvaccessvalues TO i_posrvaccessvalues.
thank you.
Regards,
Kiran -
Is there people who are having trouble with 4GLte for internet service?
I signup for the service and I am sorry that I did ,it is so slow that I have regress back to when the internet started, the battery life is lousy it does not last
very long. I should have stayed with Cable. Sales people are not very truthful.Hello manyhats,
I would like to help you. I will need to ask a series of questions to assist. What type of device do you have? Has the speed always been the same since you received your device or did this just begin? What city, state and zip are you experiencing this in? Does this happen every where you go or in a specific location? How long is the battery lasting after a full charge? Please respond to the previous questions so I may further understand and assist. Thank you.
TominqueBo
VZW Support
Follow us on Twitter at @VZWSupport -
Multiple Account Assignment issue with BAPI_PO_CREATE1 for service POs
Whle creating service PO through BAPI_PO_CREATE1, The account assignments at the service line items were not being added correctly at the item level, instead they are getting split further wrt tax jurisdiction. This is occuring when an item have multiple service line items with mutltiple account assignments.
The sample code is below, and the all the internal tables and structure were related to BAPI_PO_CREATE1. Tried with BADI ME_TAX_FROM_ADDRESS and User Exit enhancement SAPL2012, which were not helpful for this particular scenario.
Item Details
W_BAPI_ITEM-PO_ITEM = 1.
W_BAPI_ITEMX-PO_ITEM = 1.
W_BAPI_ITEM-ITEM_CAT = D.
W_BAPI_ITEMX-ITEM_CAT = 'X'.
W_BAPI_ITEM-ACCTASSCAT = K.
W_BAPI_ITEMX-ACCTASSCAT = 'X'.
W_BAPI_ITEM-PLANT = USMP. Tax Jurisdiction code 3604931001
W_BAPI_ITEMX-PLANT = 'X'.
W_BAPI_ITEM-MATL_GROUP = IT37.
W_BAPI_ITEMX-MATL_GROUP = 'X'.
W_BAPI_ITEM-QUANTITY = 1.
W_BAPI_ITEMX-QUANTITY = 'X'.
W_BAPI_ITEM-PRICE_UNIT = 1.
W_BAPI_ITEMX-PRICE_UNIT = 'X'.
W_BAPI_ITEM-PO_UNIT = LE.
W_BAPI_ITEMX-PO_UNIT = 'X'.
W_BAPI_ITEM-NET_PRICE = 100.
W_BAPI_ITEMX-NET_PRICE = 'X'.
W_BAPI_ITEM-PCKG_NO = 3456.
W_BAPI_ITEMX-PCKG_NO = 'X'.
W_BAPI_ITEM-PREQ_NAME = RTPTS02.
W_BAPI_ITEMX-PREQ_NAME = 'X'.
APPEND W_BAPI_ITEM TO IT_BAPI_ITEM.
APPEND W_BAPI_ITEMX TO IT_BAPI_ITEMX.
Delivery address details - Tax Jurisdiction 3305923401
W_BAPI_ADDRDEL-PO_ITEM = 1.
W_BAPI_ADDRDEL-NAME = COR.
W_BAPI_ADDRDEL-NAME_2 = Chairman.
W_BAPI_ADDRDEL-BUILD_LONG = 1001R
W_BAPI_ADDRDEL-CITY = plainview.
W_BAPI_ADDRDEL-STREET = old country road.
W_BAPI_ADDRDEL-POSTL_COD1 = 11803.
W_BAPI_ADDRDEL-COUNTRY = US.
W_BAPI_ADDRDEL-REGION = NY.
APPEND W_BAPI_ADDRDEL TO IT_BAPI_ADDRDEL.
First Account Assignment - 3310300441
W_BAPI_POACNT-SERIAL_NO = 1.
W_BAPI_POACNTX-SERIAL_NO = 1.
W_BAPI_POACNTX-SERIAL_NOX = 'X'.
W_BAPI_POACNT-CREAT_DATE = 11/03/2010.
W_BAPI_POACNTX-CREAT_DATE = 'X'.
W_BAPI_POACNT-QUANTITY = 0.75.
W_BAPI_POACNTX-QUANTITY = 'X'.
W_BAPI_POACNT-DISTR_PERC = 75.
W_BAPI_POACNTX-DISTR_PERC = 'X'.
W_BAPI_POACNT-NET_VALUE = 75 .
W_BAPI_POACNTX-NET_VALUE = 'X'.
W_BAPI_POACNT-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEMX = 'X'.
W_BAPI_POACNT-GL_ACCOUNT = 641099.
W_BAPI_POACNTX-GL_ACCOUNT = 'X'.
W_BAPI_POACNT-COSTCENTER = 10010394.
W_BAPI_POACNTX-COSTCENTER = 'X'.
W_BAPI_POACNT-CO_AREA = 1234.
W_BAPI_POACNTX-CO_AREA = 'X'.
APPEND W_BAPI_POACNT TO IT_BAPI_POACNT.
APPEND W_BAPI_POACNTX TO IT_BAPI_POACNTX.
Second Account Assignment
W_BAPI_POACNT-SERIAL_NO = 2.
W_BAPI_POACNTX-SERIAL_NO = 2.
W_BAPI_POACNTX-SERIAL_NOX = 'X'.
W_BAPI_POACNT-CREAT_DATE = 11/03/2010.
W_BAPI_POACNTX-CREAT_DATE = 'X'.
W_BAPI_POACNT-QUANTITY = 0.25.
W_BAPI_POACNTX-QUANTITY = 'X'.
W_BAPI_POACNT-DISTR_PERC = 25.
W_BAPI_POACNTX-DISTR_PERC = 'X'.
W_BAPI_POACNT-NET_VALUE = 25 .
W_BAPI_POACNTX-NET_VALUE = 'X'.
W_BAPI_POACNT-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEM = 1.
W_BAPI_POACNTX-PO_ITEMX = 'X'.
W_BAPI_POACNT-GL_ACCOUNT = 641099.
W_BAPI_POACNTX-GL_ACCOUNT = 'X'.
W_BAPI_POACNT-COSTCENTER = 10010393.
W_BAPI_POACNTX-COSTCENTER = 'X'.
W_BAPI_POACNT-CO_AREA = 1234.
W_BAPI_POACNTX-CO_AREA = 'X'.
APPEND W_BAPI_POACNT TO IT_BAPI_POACNT.
APPEND W_BAPI_POACNTX TO IT_BAPI_POACNTX.
Service Item detials
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-SUBPCKG_NO = 3457.
W_BAPI_SERVICE-LINE_NO = 1.
W_BAPI_SERVICE-PCKG_NO = 3456.
W_BAPI_SERVICE-EXT_LINE = 0000000000.
W_BAPI_SERVICE-QUANTITY = 0.
W_BAPI_SERVICE-BASE_UOM = 0.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 0.
W_BAPI_SERVICE-SHORT_TEXT = 0.
W_BAPI_SERVICE-MATL_GROUP = 0.
W_BAPI_SERVICE-DISTRIB = 0.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-LINE_NO = 2.
W_BAPI_SERVICE-PCKG_NO = 3457.
W_BAPI_SERVICE-EXT_LINE = 0000000010.
W_BAPI_SERVICE-QUANTITY = 10.
W_BAPI_SERVICE-BASE_UOM = STD.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 5.
W_BAPI_SERVICE-SHORT_TEXT = Cabling Services1.
W_BAPI_SERVICE-MATL_GROUP = IT37.
W_BAPI_SERVICE-DISTRIB = 2.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
W_BAPI_SERVICE-OUTL_IND = 'X'.
W_BAPI_SERVICE-LINE_NO = 3.
W_BAPI_SERVICE-PCKG_NO = 3457.
W_BAPI_SERVICE-EXT_LINE = 0000000020.
W_BAPI_SERVICE-QUANTITY = 10.
W_BAPI_SERVICE-BASE_UOM = STD.
W_BAPI_SERVICE-PRICE_UNIT = 0.
W_BAPI_SERVICE-GR_PRICE = 5.
W_BAPI_SERVICE-SHORT_TEXT = Cabling Services2.
W_BAPI_SERVICE-MATL_GROUP = IT37.
W_BAPI_SERVICE-DISTRIB = 2.
APPEND W_BAPI_SERVICE TO IT_BAPI_SERVICE.
Service Account assignment details
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 2.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 1. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 100 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 3.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 1. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 50 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
W_ACC_SERVICE-PCKG_NO = 3457.
W_ACC_SERVICE-LINE_NO = 3.
W_ACC_SERVICE-SERNO_LINE = 1.
W_ACC_SERVICE-SERIAL_NO = 2. "Account Assignment Link
W_ACC_SERVICE-NET_VALUE = .
W_ACC_SERVICE-QUANTITY = 50 .
W_ACC_SERVICE-PERCENTAGE = 50 .
APPEND W_ACC_SERVICE TO IT_ACC_SERVICE.
EKKN table entries:
When created thru ME21N with the same set of data,which is expected
ZEKKN MENGE NETWR SAKTO KOSTL
01 0.750 75.00 0000641099 0010010394
02 0.250 25.00 0000641099 0010010393
But through BAPI_PO_CREATE1, the below split is being done with respect to Tax Jurisdiction code.
01 0.500 50.00 0000641099 0010010394
02 0.250 25.00 0000641099 0010010394
03 0.250 25.00 0000641099 0010010393
Please advice the solution.
PS: there were different tax jurisdiction codes were being determined.
Plant, Cost Center and Delivery Address.Hi,
To commit BAPI or to run it properly , you need to fulfill all required data for BAPI.
You can go to BAPI documentation to check for mandetory parameters and also check with Function consultant for more data and confifuration/
Reward if useful! -
Compile build.xml with Ant for web service with annotations
Hi Friends,
I have a web service with annotations, using javax.annotation.PostConstruct, and javax.annotation.PreDestroy.
I have a build.xml to create a EAR for this web service.
When I run the ant task, the build complete successfully but the .war file cannot be deployed on the WLS server. Taking a closer look, I see that the required files such as, webservices.xml, weblogic.xml, weblogic-webservices.xml, Provision.wsdl files are not generated.
Following is the build.xml file:
<?xml version="1.0" encoding="windows-1252" ?>
<project default="jwsc">
<property file="build.properties"/>
<property name="weblogic.jar.classpath"
value="C:/bea_jDev/wlserver_10.3/server/lib"/>
<property name="oimclient.jar.classpath"
value="C:/_data/Project_Dc/OIM_jars" />
<property name="com.jar.classpath" value="C:/JDeveloper/mywork/Service_Test/lib" />
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">
<classpath>
<path id="weblogic.classpath">
<pathelement path="WEBLOGIC_HOME"/>
<fileset dir="${weblogic.jar.classpath}">
<include name="**/*.jar"/>
</fileset>
</path>
</classpath>
</taskdef>
<target name="all" depends="clean,build-service,deploy"></target>
<target name="build-service">
<jwsc srcdir="${src.home}" destdir="ear_directory" >
<classpath>
<path id="oim.classpath">
<pathelement path="OIM_HOME"/>
<fileset dir="${oimclient.jar.classpath}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${com.jar.classpath}">
<include name="**/*.jar"/>
</fileset>
</path>
</classpath>
<jws file="${jws.home}" type="JAXWS" />
</jwsc>
</target>
<target name="deploy">
<!--add wldeploy task here -->
</target>
<target name="clean">
<delete dir="output" />
</target>
</project>
Can you please point out what else is to be done and where exactly am I going wrong in writing the build.xml file.
Let me know if some else information is required.This is what I get when I run the ant task:
Buildfile: C:\JDeveloper\mywork\ProvisioningService_Test2\Provision\resource\build.xml
build-service:
[jwsc] JWS: processing module /com/fox/provision/webservice/endpoint/impl/ProvisionEndPointImpl
[jwsc] Parsing source files
[jwsc] Parsing source files
[jwsc] 1 JWS files being processed for module /com/.../provision/webservice/endpoint/impl/ProvisionEndPointImpl
[jwsc] [JAM] Warning: failed to resolve class org.apache.xmlbeans.XmlObject
[jwsc] [JAM] Warning: failed to resolve class com.bea.xml.XmlObject
[jwsc] [JAM] Warning: failed to resolve class javax.xml.rpc.holders.Holder
[jwsc] JWS: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\endpoint\impl\..EndPointImpl.java Validated.
[jwsc] Processing 1 JAX-WS web services...
[jwsc] warning: Specified AnnotationProcessorFactory, 'com.sun.istack.ws.AnnotationProcessorFactoryImpl', not found on search path.
warning: No annotation processors found but annotations present.
2 warnings
[jwsc] Compiling 2 source files to C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
[jwsc] Building jar: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\com\fox\provision\webservice\endpoint\impl\...EndPointImpl.war
[jwsc] Created JWS deployment outputFile: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\....\...\provision\webservice\endpoint\impl\..EndPointImpl.war
[jwsc] [EarFile] Application File : C:\..\...\..\...\code\ProvisioningService\src\com\.....\provision\webservice\deploy\ear_directory\META-INF\application.xml
[AntUtil.deleteDir] Deleting directory C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
BUILD SUCCESSFUL
Total time: 7 seconds
Due to some limitations, I edited the path in the build.xml files.
Please let me know what can be done. Thanks.
Edited by: user9112073 on Nov 22, 2011 9:52 PM -
Huge query with parameter for to use Dynamic Cursor with Parameters
Hi
Is possible put the query below like dynmic cursor passing Parameters ?
How can I do it ?
OPEN P_CURSOR FOR
WITH NOTIFICACAO AS(
SELECT
t1.cd_consultora,
t1.dc_nome_consultora,
t2.nm_notificacao_cn,
t2.dt_notificacao_cn dt_notificacao,
t2.dt_atendimento_notificado,
t1.cd_tipo_estrutura_comercial,
t1.cd_estrutura_comercial
FROM t_consultora t1, nc.t_nc_notificacao_cn t2
WHERE t2.dt_notificacao_cn BETWEEN w_DTA_INI AND w_DTA_FIM
AND t2.cd_consultora = t1.cd_consultora
AND t1.cd_setor = w_cd_setor
AND t1.cd_tipo_estrutura_comercial = p_tp_estrutura_comercial
AND t1.cd_estrutura_comercial = p_cd_estrutura_comercial),
T_NOTIFICADA AS ( select Count(t1.nm_notificacao_cn) over (partition by t1.cd_consultora,t1.nm_notificacao_cn ) QTD_NOTAS,
Count(t2.nm_item_notificacao_cn) over (partition by t1.cd_consultora,t1.nm_notificacao_cn ) QTD_ITENS,
T3.*
from nc.t_nc_notificacao_cn t1,
nc.t_nc_item_notificacao_cn T2,
NOTIFICACAO T3
where t1.dt_notificacao_cn >= to_date('01/09/2006','dd/mm/yyyy')
and t3.nm_notificacao_cn = t1.nm_notificacao_cn
and t1.nm_notificacao_cn = t2.nm_notificacao_cn
and ((t2.cd_tipo_item_nc = 4 and t2.cd_subtipo_item_nc = 6)
or t2.cd_tipo_item_nc = 2 or t2.cd_tipo_item_nc = 3)
and t3.cd_consultora = t1.cd_consultora (+) ) ,
T_BLOQUEADA AS ( SELECT T4.* FROM
(SELECT T3.*,
CASE WHEN T3.BLOQUEADA = -1 THEN 'Bloqueada'
WHEN T3.BLOQUEADA = 0 THEN
(CASE WHEN T3.QTD_NOTAS > 2 THEN
CASE WHEN T3.QTD_ITENS > 8 THEN 'Atencao / Analise'
ELSE
'Normal'
END
ELSE
'Atencao / Analise'
END)
END OBSERVACAO
FROM (SELECT CASE WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 1 then -1
WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 0 THEN 0
END BLOQUEADA, T1.*
FROM T_NOTIFICADA T1,
T_PS_CONSULTORA T2
WHERE T1.CD_CONSULTORA = T2.CD_PESSOA)T3) T4 )
select *
from (SELECT t1.*, ROWNUM r_linha
FROM (SELECT cd_consultora,
dc_nome_consultora,
fnc_busca_telefone(CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(CD_CONSULTORA, 2) TELEFONE2,
EMAIL,
observacao,
nm_notificacao_cn,
nvl(vl_total_final,0) vl_total_final,
dt_notificacao,
qt_produto_item_nc,
sg_notificacao,
ID_SITUACAO,
qtd_registros
FROM (SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
W1.cd_consultora,
W1.dc_nome_consultora,
fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
W1.OBSERVACAO observacao,
W1.nm_notificacao_cn,
sum(W4.qt_produto_nf *
W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
W1.dt_notificacao,
sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
'PENDENTE' sg_notificacao,
W5.dc_tipo_item_nc ID_SITUACAO,
W_qtd_registros qtd_registros
FROM T_BLOQUEADA W1,
nc.t_nc_item_notificacao_cn W2,
nc.t_nc_produto_item_nc W3,
nc.t_nc_produto_item_nf W4,
nc.t_nc_tipo_item_nc W5
WHERE W1.dt_atendimento_notificado is null
and W1.nm_notificacao_cn =
W2.nm_notificacao_cn
and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
and W2.nm_notificacao_cn =
W3.nm_notificacao_cn(+)
and W2.nm_item_notificacao_cn =
W3.nm_item_notificacao_cn(+)
and W3.nm_notificacao_cn =
W4.nm_notificacao_cn(+)
and W3.nm_item_notificacao_cn =
W4.nm_item_notificacao_cn(+)
and W3.nm_sequencia_produto_item_nc =
W4.nm_sequencia_produto_item_nc(+)
and W2.cd_tipo_item_nc not in (6, 7)
and ((W2.id_situacao_item_nc = 1) OR
(W2.id_situacao_item_nc = 3 OR
W2.id_solucao_definida is not null))
UNION
SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
W1.cd_consultora,
W1.dc_nome_consultora,
fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
W1.OBSERVACAO observacao,
W1.nm_notificacao_cn,
sum(W4.qt_produto_nf *
W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
W1.dt_notificacao,
sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
'ATENDIDO' sg_notificacao,
W5.dc_tipo_item_nc ID_SITUACAO,
W_qtd_registros qtd_registros
FROM T_BLOQUEADA W1,
nc.t_nc_item_notificacao_cn W2,
nc.t_nc_produto_item_nc W3,
nc.t_nc_produto_item_nf W4,
nc.t_nc_tipo_item_nc W5
WHERE W1.dt_atendimento_notificado is not null
and W1.nm_notificacao_cn =
W2.nm_notificacao_cn
and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
and W2.nm_notificacao_cn =
W3.nm_notificacao_cn(+)
and W2.nm_item_notificacao_cn =
W3.nm_item_notificacao_cn(+)
and W3.nm_notificacao_cn =
W4.nm_notificacao_cn(+)
and W3.nm_item_notificacao_cn =
W4.nm_item_notificacao_cn(+)
and W3.nm_sequencia_produto_item_nc =
W4.nm_sequencia_produto_item_nc(+)
)T2
---- here with NDS I changed order by
ORDER BY DECODE(p_nm_asc_desc,0,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) ASC, --,8,vl_total_final)) ASC,
DECODE(p_nm_asc_desc,1,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) desc --,8,vl_total_final)) DESC
) T1
where rownum <= W_TO_REC)
where r_linha >= W_FROM_REC;Is It Query very much great and how can I to pass parameters w_DTA_INI ,w_DTA_FIM, W_TO_REC,W_FROM_REc ....etc
TIAI did (some time ago and it was a packaged procedure) something like
Procedure p(p_one in datatype,p_two in datatype,p_dataset out sys_refcursor) is
the_sql varchar2(32000);
the_cursor sys_refcursor;
begin
the_sql = 'WITH NOTIFICACAO AS( ' ||
' SELECT ' ||
' t1.cd_consultora, ' ||
' where t1.dt_notificacao_cn >= to_date(''01/09/2006'',''dd/mm/yyyy'') ' || -- note the ''
' where rownum <= :W_TO_REC) ' || -- parameter 1
' where r_linha >= :W_FROM_REC '; -- parameter 2
open the_cursor for the_sql using p_one,p_two; -- just by the book
end p;if I remember correctly
Regards
Etbin -
How to query the data for required service calls
Hi Experts,
I have one requirement in oracle
I have one table with columns actvy_code, actvy_seq_id, date.
Data is as follows 400008 1234431 12/01/2013
400010 1234431 12/02/2013
400020 1234431 12/03/2013
400008 1234431 12/01/2013
400005 1234431 12/02/2013 etc...!!!
actvy_id is also containing 5M7, 5M8, 6M6, 4M4, 4M5 some are existed in same date and other codes present with different date.
Here I want to extract data based on the actvy_code column, say for example in scope I have some actvy_codes like 4M8, 4M5, 5M8 etc..
when you do select * from table where actvy_code in (4M8, 4M5, 5M8) gives the out put as needed.
But I want to know whether these codes are present with same date or not. How to do this.
Please do me this favor..
regards,
Sahadeva.one thing i forgot to add.
we shouldnt use ascii values for the special characters.
means we shouldnt use ascii values for restricting the sspecial characters.
pls get me the reply as soon as possible
thanq -
Build Query with MDX for BW cube
Hi All ,
I need to build a MDX query
I need to pass range of values from select options in the where clause .
thanks in advance for Any inputs .
Vinay KollaClassic Crystal Reports and Classic SAP connectivity questions
Classic Crystal Reports and Classic SAP connectivity questions -
Has anyone had experience integrating SAP with ESRI for customer service work within a utility? I am seeking lessons learned from an implementation such as this.
[GIS example|<a href="http://www.freeimagehosting.net/">[img]http://www.freeimagehosting.net/uploads/264f444180.jpg[/img]</a>]EP2005 wrote:
Where do I even start! I called about 4 times had issues with my dial tone on my phone. Had the same customer service rep attend my call did not help at all but dislike her attitude and her way of customer service very rude and unprofessional. I had the same issue happen to me before and did not have this entire drama go on like this, but my issue was taken care off right there and then. Her name was alissa or elissa one of those I was very upset then she hanged up on me. I called back this time i had a man for a representative and he then transfers the call to the same rep female and she raised her voice at me. I was hanged up once more i called again asked to speak to the supervisor another customer service female rep did the same thing and said she'll help me and was testing my phone line and while I was using my cell to call her she hanged up again. I've never been so disappointed with comcast after all the years I've been using their service.. now I would have to decide if i still want to keep using their cable services.To report this and get your services repaired try this: Send an email to: [email protected]
Include all of your information, full name, service address, phone numbers where you can be reached easily, as well as the phone number associated with your account, your account number, and details about all the issues you have been having. Also include a link to this post. -
Query with links to 'services for object'
Hi everybody
I need your help
We have pictures (jpg, pdf, tif) linked to materials in material master (in transaction mm02 services for object). Sometthing like this - but form materials:
http://www.le.ac.uk/mis/docs/sapdocs/ug/UG5-1%20Services.doc
We would like to create the "stock report" with links to these attachments. Can anyone tell me if it is possible to create these links in the report?
I would like the report to look something like this:
material_number1; stock1; link_to_picture_on_material_number1
material_number2; stock2; link_to_picture_on_material_number2
the user should be able to open the attached picture (if it exists) by clicking the link at each material number (even better if the pictures were already displayed in the report)
Thank you very much in advance
BR,
JanaThere are a number of classes with methods for accessing objects saved using services for object - look for classes starting CL_GOS*
Help for GOS is available at
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f5/e16f3a53dee246e10000000a11402f/frameset.htm">Generic Object Services (BC-SRV-GBT)</a>
In your report you could link to the relevant code to display the image based on an event like at line selection / at user command or using hotspots or similar in an ALV based report
Andrew -
How to Enable the LOV to query for partial user entries in af:query in an ADF search form
Hi guys,
I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
Thanks,
TanmoyTo enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?
-
Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD on a Windows 2008 server.
The global query block list is a feature that prevents attacks on your network by blocking DNS queries for specific host names. This feature has caused the DNS server to fail a query with error code NAME ERROR for wpad.contoso.com. even though data
for this DNS name exisits in the DNS database. Other queries in all locally authoritative zones for other names that begin with labels in the block list will also fail, but no event will be logged when further queries are blocked until the DNS server
service on this computer is restarted. -
Okay, so a few weeks ago my phone starting acting kind of weird. I had it off for a few days and when I turned it back on, I noticed it was not receiving very good signal at all in places where it used to have full bars. I can't make calls or send texts. I can receive calls but when I answer, the call is lost. It is basically just a pager now because I just have to call the people who call me or text me using a different phone. I can't even check my voicemail! 4G and 3G are working fine... When I have gone to the Verizon store TWICE, miraculously the phone all of a sudden has service but, of course, as soon as I leave it no longer has service. I have also called tech support twice to no avail. These people are of NO HELP and my phone is out of warranty. Unfortunately, informing them that ever since I got this phone back in January of '12, I had 5 replacements in the first FIVE months of having it because it had issues over and over again that could not be lived with such as not turning all the way on, not charging, etc. After the 5th replacement starting having minor issues, I ignored them and continued using the handicapped phone. Now, this is happening and I can no longer use it as anything more than a pager/internet browser! I read that the antenna is built into the battery cover of the phone but I don't know if that is just for 4G/3G or if it is also for regular service. If I get a replacement for the battery cover, will it possibly fix this issue??
Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
Tamara H.
Follow us on Twitter @VZWSupport -
Report and ready for input Query, with similar shadings are confusing
Some customers mix report and planning queries in their templates.
usually the shades for PLAN Queries are
o white - ready vor input
o blue- display data (e.g. LY, calc KPI)
In a Query with NO INPUT ready Cells the query has a zebra shading, blue and white, row by row.
That is confusion for users if they believe every Number on a white background can be changed.
Is it possible to change the shading for reporting queries to blue only?
Best Regards,
GeorgHi.
You can cancel zebra by setting off for ALTERNATE_STYLES in properties if analysis item in WAD, BUT it sets all cells as WHITE and not blue.
I dont know how it will be usefull, but you may try ...
Regards. -
I have been a customer with Verizon, since 1996. Recently, my husband has been added onto my account. We have both been experience drop calls. My husband contact Tech support for over 2 weeks. We were pretty upset to be paying a lot of money for a service that didn't work. Verizon advised us that would upgrade both of our phones (to see if that solved the problem). Ok...this is where Verizon has forgotten customer service rules. He order 2 phone...one for himself, one for me. 1st the wrong address on the package..Fedex couldn't deliver...2nd...missing condo number Fedex couldn't deliver again...(2nd call to Verizon)...3rd package was finally deliver with 1 phone...missing my phone. Contacted verizon rep...reorder my phone again..but sorry we cannot give the same price as quoted on 21April...even though...its our mistake...Ok...Ok..what a surprise..but we can do this...after 65 minutes...found a price that was a little bit more...fine...just order the phone....I reordered phone on 28April...on the April 29...no email..so I can Verizon for the 4times in a few days..sorry your order was delay due to our Fraud dept. OK...talked to fraud dept...ok..account is good..will release phone and ship. OK...Next day, no email with deliver confimation. Contact Verizon 5 times now...sorry..your order was cancelled...YES...cancelled again...2nd time now...but we can reorder...OK...sorry but we cannot honor that price that was quoted..really...agent messed up...again...but we can do this for you....I don't understand...your mistake...ALL the times...
Strange ...how my order gets cancelled twice by Verizon's mistake....yet you cannot honor prices that your agents quoted!!!
I didn't reorder the phone....I cannot in good faith same with a company that does not stand behind their own mistakes...and worse...they make the poor customer pay for it...
I will not be renewing my contact...its time to Cricket Wirless...which my sister-in-law loves for half the cost....I hope that you aren't complaining about dropped calls INSIDE your condo because no amount of switching or upgrading devices will solve that.
VZW will not guarantee service inside of any structure. There are just too many factors. If the problem is inside then you might want to look at one of the following:
1.) Network Extender (may cause issues for others in a condo or apartment style setting)
2.) A Google Voice Number (Free with a Gmail email address), downloading Google Hangouts Dialer and forwarding your calls to the GVN so that you can make and receive calls over Wi-Fi.
Maybe you are looking for
-
Moving to a frame in Movieclip timeline from the main timeline
I am in the learning process. Working with FlashCS5 and AS3. Please bear with me if the issue appears to be too simple for you. Placed a movieclip(mcassessJohn) on the main timeline and moved to the frame labelled "johnFeedback" in the movieclip time
-
ITunes cannot properly detect iPod even after uninstall and re-install
Recently I tried to sync my iPod nano (NOT touch) to my windows computer, but even after i completely uninstalled and reinstalled it says that it cannot properly detect it. I am running the most recent version of iTunes on Windows Technical Preview.
-
To handle cursor position in table control while using insert initial line
hi, I have a requirement to handle cursor position in my table control in which i am using insert initial line by incrementing the index. Now i am handling the cursor position by using set cursor but after 14 records it is going to the first fi
-
Keep beeping, cannot start, after installing security update. Please help.
I just apply the security update today in my MacBook (aluminum), but then the laptop cannot start. When starting, it beeps 3X, pauses, then beeps 3X, pauses, and so on - never stops. I press the power button to stop, but when pressing the power butto
-
Ssl VPN client for Vista doesn't work
I'm trying to find a way for my client swho are upgrading the PC to Vista to connect using web VPN to a ASA 5510. any help would be great