Quantcast
Channel: SCN: Message List
Viewing all 8851 articles
Browse latest View live

Ayuda en ALV Grid

$
0
0

Hola, buenas noches. Estoy haciendo un reporte ALV en el que entre otras cosas se muestra la diferencia de días desde cuando se crea, asigna (primera aprobación) y las diferentes aprobaciones que ha tenido una solicitud (rev-trac).

Cuando se hace el cálculo para una sola solicitud no hay problema alguno. La diferencia que se hace entre fecha de creación y primera aprobación está bien; así como entre fecha de aprobación conforme va ejecutándose el loop.

El problema se da cuando se tiene más de una solicitud ya que en vez de validarse fecha de creación y fecha de aprobación de la solicitud actual está tomando la fecha de aprobación anterior que corresponde a la solicitud anterior (imagen). Más sin embargo, la segunda posición de la solicitud actual (en el ejemplo sería la 379) hace el cálculo de días con la fecha anterior y así sucesivamente hasta que termina de forma correcta.

Este problema que menciono solo lo tengo cuando amplio el rango desde la desde la pantalla de selección así como para la primera posición de una segunda, tercera, ..., solicitud (rev-trac). Si solo hay una solicitud, no hay problema.

 

<<Destaco que mis datos ya están ordenados por lo cual sé que el orden presente es el correcto; mismo que lo hago en un FORM anterior.>>

 

Hasta ahora mi código y lo último agregado:

 

*---------------------------------------------------------------------*

FORM imprime_datos .

 

*  Declaración de variables locales.

  DATA: lv_date_last    TYPE sy-datum,  "Última fecha

        lv_date_current TYPE sy-datum,  "Fecha actual

        lv_index   TYPE i.       

 

*  Inicio modif. 06.05.2016.

  DATA: lv_rt_current TYPE zreq,

        lv_rt_last    TYPE zreq,

        lv_flag       TYPE i.

*  Fin modif. 06.05.2016.

 

  LOOP AT lt_app.

    lv_index = sy-tabix.   

    lv_flag  = sy-tabix.    "Add 06.05.2016

   

  CLEAR lv_diff.         

 

*   Lectura de datos por solicitud.

    READ TABLE lt_req WITH KEY request = lt_app-request.

 

    SELECT SINGLE texto

      FROM zstapp

      INTO lv_txtst

      WHERE status EQ lt_app-status.

 

    IF sy-subrc EQ 0.

      lt_out-txtst = lv_txtst.

    ENDIF.

 

    IF sy-subrc = 0.

*   Validación de la primera fecha.

      IF lv_index = 1.

        lv_date_last = lt_req-cdate.

      ENDIF.

      CLEAR lv_index.

 

* Inicio modif. 06.05.2016

      IF lv_flag = 1.

        lv_date_current = lv_date_last.

        CLEAR lv_flag.

      ENDIF.

* Fin modif. 06.05.2016.

    ENDIF.

 

    CLEAR: lv_date_current.

    lv_date_current = lt_app-mdate.

 

*  Diferencia de días entre status.

    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'

      EXPORTING

        i_datum_bis = lv_date_current

        i_datum_von = lv_date_last    "Aprobación.

      IMPORTING

        e_tage      = lv_diff.

 

    IF sy-subrc EQ 0.

      lt_out-diasdif = lv_diff.

    ENDIF.

 

*  Inicio modif. 06.05.2016.

    lv_rt_current = lt_app-request.

    IF lv_rt_current NE lv_rt_last.

      lv_flag = 0.

    ENDIF.

 

    lv_rt_last = lt_app-request.

 

*  Fin modif. 06.05.2016.

 

*   Traspaso de registros en tablas.

    MOVE-CORRESPONDING lt_req TO lt_out.

    MOVE-CORRESPONDING lt_app TO lt_out.

 

*   Agregar registros.

    APPEND lt_out.

 

    lv_date_last = lv_date_current.

 

  ENDLOOP.

ENDFORM.                    " IMPRIME_DATOS

*---------------------------------------------------------------------*

 

Podrían orientarme de favor.

De antemano gracias.

 

 

Saludos.


SFSF ADAPTER IN SAP PI 7.4 Dual Stack

$
0
0

Hi ,

 

We are having SAP PI 7.4 dual stack system . our requirement is to send Employee master data to HCM ..

 

Scenario: ECC-->PI-->HCM.

 

Kindly guide me how SFSF adapter can use in dual stack..

Re: Send pictures through PI

$
0
0

1) ABAP proxy with pic as attachments

 

2) File to File transfer withous using message mapping

 

which of the option is best suited for integrating pictures in ECC (sender) with File server(receiver)

Re: How to modify .htm page attributes from outside the .htm?

$
0
0

Hi Phil,

 

The page attributes you see in the HTM page are all context nodes of the view.

 

There is an additional variable CONTROLLER, this is the IMPL class of View.

 

You can access these variables outside HTM page, just as how you would access a context node.

 

me->typed_context->*nodeName*

 

Thanks,

Pratheek

Automatic Clearing-GR/IR-F.13

$
0
0

Dears

 

We are trying to run automatic clearing F.13 of the GR/IR Clearing accounts.

System has cleared many items. Thanks.

Out clearing criteria is : assignment field.

But there are some other items (whose assignment field is same) found not cleared even though the total of all the debit (multiple items) and credit items (mutiple) is zero.

 

When analyzed it was found that for some items with the same amount in local currency, the amount posted in group currency is different.

 

Document 510000002    +231.00 INR  (Gr. Curr 3.72 USD)

Document 510000003    - 231.00 INR  (Gr. Curr 3.71 USD)

 

Hence even though though the local currency amount is same, the system is not considering them as the Gr. currency amount is different.

 

We want the items to be cleared when the local currency amounts are matching.

 

Is it possible ?

Re: Add Subject Profile Categorization in Document Change History

$
0
0

Hello David,

 

Thank you:-)

Parameters are assigned as suggested in note: 1266940

Categorization is customized properly for us but when we make changes to categorization it is not captured in service document history.

 

Regards,

Hari

Re: converting MT100 file to file tabdelimiter

$
0
0

Hi Shaik,

 

the option is to convert the MT100 to XML format, then map the structure with your target structure. In mapping you can add the header and footer node/structure. and pass the values you want to pass to header and footer.

 

Then in receiver File adapter content conversion, convert the target XML to tab delimited file.

 

regards,

Harish

Re: Tax Add up


Re: How to post valuates material into non-valuated stock

$
0
0

Dear Andrey,

 

Agreed with Prasoon suggestion, Your requirement is stock the material first at store, after than Issuance to concern Cost Center or Asset. For this there is configuration of material type as per your requirement where we have to make material valuated on all plant like in below mentioned screen shot.

5-9-2016 10-44-03 AM.png

 

Split valuation would be suggested in case if few needs to be handled.

 

 

 

Best Regards

Mohsin Abbasi

Re: Serial Number wise Inventory report

$
0
0

Hi,

 

Try below query,

 

SELECT T0.[ItemCode],T1.[ItemName],T0.[SuppSerial], T0.[IntrSerial], T0.[WhsCode],

T0.[Quantity], T0.[U_model], T0.[U_Clr], T0.[U_Intr], T0.[U_Variant], T0.[U_ModelYr] FROM OSRI T0

inner join OITM T1 on T0.[ItemCode] = T1.[ItemCode]

inner join OINM T2 On T0.[ItemCode] = T2.[ItemCode]

WHERE T0.[WhsCode] =[%0] and T2.DocDate <= [%1]

and T0.[Status]<>1

ORDER BY T0.[ItemCode]

 

Thanks,

Harshal

Re: Add Custom Field in screen 501 for FCH5

Every Day - The FRS does not have a CMS connection. (FWB 00060)

$
0
0

I got a fresh Installation of SAPBO BI 4.2 SP2. I created a simple Webi Report which i can run once, on the next day the Instance get the Error:

 

The FRS does not have a CMS connection. (FWB 00060)


After i restart the Servers, it works again but thats not a option for me. Does anybody knows whats the problem?

Re: pricing condition in order creation with sale order bapi

$
0
0

Hello Jelena,

 

my requirement is to create a sale order with pricing conditions through BAPI but as pricing conditions are not manual ( means in V/06 Manual entry = 'D'), so it is not creating and throwing error.

 

Cheers,

Bharat

Re: how it reads documents from the archive

$
0
0

Try ARCHIVE_READ_OBJECT function module

Re: Workflow overall status shows as complete even work items appeared in users inbox

$
0
0

Hi,

 

 

  You should check and share screenshot of  Technical log.

 

  This might  possible  that   you are checking  another instance of workitem


Re: Possibility to define Key and text setting of characteristics in reports

$
0
0

Hi Audrey

 

I am not sure whether I understood you correctly.

 

Do you mean setting up key is ID & Text is Description as below?

 

Then you can make this settings global in Business Analytics Workcentre --> Design Reports --> Web Browser view.

 

2016-05-10_16h10_08.jpg

 

Please let me know if this solves your requirement.

 

 

Thank you

Kakarla

Re: Message transform not converting flat file to xml

$
0
0

The screen shot does not show the mapping logs.

Can you share - your Message Type screen shot so we can check this with the configuration and see what is different?

 

What I think is happening is : something in your MessageType does not match the Configuration and hence the issue in the mapping.

 

Regards,

Bhavesh

Display Personal Settings NWBC 5.0 for users

$
0
0

Hallo,

 

i hope somebody can help me.

 

We use recently NWBC 5.0 with the PL12. Now i need some help in the subject "Personal settings" (file NWBCOPTIONS.xml) 

 

Using the NWBC 4.0 i have had the possibility to deactivate, for example,<ShowTechnicalNames Final="False">False</ShowTechnicalNames> and do not show this item for the users. Now (NWBC 5.0) I do not find this possibility, only to deactivate (fade out) all personal settings.  (<ShowSettingsMenu>false</ShowSettingsMenu>

 

I have realy no other possibility as to activate or deactivate all personal settings?

 

Best regards
Jens Christoffer (Hannover/Germany)

 

You can answer in Englisch, German or French

Re: Message transform not converting flat file to xml

$
0
0

Also, check the Input Payload in your PIMonitoring. Is it the same as expected by the payload when you generate through your mapping editor?

Need to concatenate Sales Order and Item

$
0
0

Hi,

 

I got a requirement to concatenate Sales Order and Item in an InfoObject. So i have written a field routine and removed the standard FM to remove the zeroes in Order and Item. Then in the result I made the concatenation.

 

But while loading data, it took maximum time to process each Data Package. Is there any other way to achieve this requirement.

 

Kindly share your thoughts.

 

Thanks,

Satish.

Viewing all 8851 articles
Browse latest View live




Latest Images