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

Re: Spool not generated when creating the TO from TR

$
0
0

can you add screenshots from the TO and from both spool files?


Re: Bapi of ca02 to load excel file

$
0
0

Hi Aniruddha,

 

reading the code, it appears that the BAPI_ROUTING_CREATE is called at each loop pass, for every row in the excel file (that is, for each operation), this resulting in the creation of different routing groups.

I would suggest to have an external loop based on each material code, and an inner loop for every operation for a given material. Before ending the external loop, have the BAPI call for that given material.

 

The concerned part of code (the fill_bdcdata_table form) should be looking like the following:

 

FORM fill_bdcdata_table.

  it_tab1[] = it_tab[].

 

  DELETE ADJACENT DUPLICATES FROM it_tab COMPARING matnr.

 

  LOOP at it_tab INTO w_tab.

 

    LOOP AT it_tab1 INTO w_tab1 WHERE matnr = w_tab-matnr.

 

      wa_item_operation-control_key     = w_tab1-steus.

      wa_item_operation-work_cntr       = w_tab1-arbpl.

      wa_item_operation-denominator     = '1'.

 

      wa_item_operation-nominator      = '1'.

      wa_item_operation-activity       = w_tab1-vornr.

*     wa_item_operation-description    = record-description.

      wa_item_operation-base_quantity  = w_tab1-bmsch.

 

      wa_item_operation-std_value_01   = w_tab1-vgw01.

      wa_item_operation-std_value_02   = w_tab1-vgw02.

      wa_item_operation-std_value_03   = w_tab1-vgw03.

     

      APPEND wa_item_operation TO it_operation.

 

    ENDLOOP.

 

    CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'

      EXPORTING

        input                = w_tab1-meinh

        language             = sy-langu

      IMPORTING

        output               = w_tab1-nos

*     EXCEPTIONS

*       UNIT_NOT_FOUND       = 1

*       OTHERS               = 2

           .

    IF sy-subrc = 0.

*     move uom_result to BAPI structure MARM.

    ENDIF.

 

*   group_counter = '1'.

    wa_items_task-task_list_usage       = '1'.

*   wa_items_task-description           = '1602T Forging Press'.

    wa_items_task-task_list_status      = '4'.

    wa_items_task-VALID_FROM            = sy-datum.

    wa_items_task-VALID_to_date         = '99991231'.

**  wa_items_task-task_list_group       = group.

    wa_items_task-group_counter         = group_counter.

*   wa_items_task-task_measure_unit     = '1'.

    wa_items_task-plant                 = w_tab1-werks.

*   wa_items_task-task_list_status      = record-status.

    wa_items_task-task_measure_unit     = w_tab1-nos.

    wa_items_task-lot_size_from         = '1'.

    wa_items_task-lot_size_to           = '99999999'.

 

    APPEND wa_items_task TO it_task.

 

*      w_SEQ-SEQUENCE_NO = '000000'.

*      w_seq-SEQUENCE_CATEGORY = '0'.

*      append w_SEQ to it_seq.

    bomusage           = '1'.

    application        = 'PP01'.

    wa_item_materailtask-material      = w_tab1-matnr.

    wa_item_materailtask-plant         = w_tab1-werks.

    APPEND wa_item_materailtask TO it_materialtaskallocation.

 

    CALL FUNCTION 'BAPI_ROUTING_CREATE'

      EXPORTING

        bomusage                  = bomusage

        application               = application

      IMPORTING

        group                     = v_group

        groupcounter              = v_group_counter

      TABLES

        task                      = it_task

        materialtaskallocation    = it_materialtaskallocation

*     SEQUENCE                    = it_seq

        operation                 = it_operation

*     SUBOPERATION                =

*     REFERENCEOPERATION          =

*     WORKCENTERREFERENCE         =

*     componentallocation         =  componentallocation

*     PRODUCTIONRESOURCE          =

*     INSPCHARACTERISTIC          =

*     TEXTALLOCATION              =

*     text                        = text

      return                      = return.

  

      IF sy-subrc = 0.

 

        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

          EXPORTING

            WAIT          = 'X'

*         IMPORTING

*           RETURN        =

               .

      ENDIF.

 

      CLEAR : v_group.

 

      REFRESH it_task.

      REFRESH it_materialtaskallocation.

      REFRESH it_operation.

 

  ENDLOOP.

ENDFORM.

 

 

 

The loop at it_tab is the external one for each material, the internal one at it_tab1 is dealing with operations for the related material. BAPI call is performed for each material, this assuring the creation of a single group, multiple operations, for every material.

 

I do hope this will fix the issue.

 

Thank you and bye,

 

Flavio

Can we identify HANA version from complete hana system's backup files?

$
0
0

Hi,

 

Assume I have a HANA system T1K. System is running on HANA version 85 currently. I have this system backup files which I took a few months ago. Now I want to refresh my system with this OLD Backup and I am pretty much sure this at that time system had lower hana version.

 

Backup files:

 

Z3P-20141217-060016_databackup_0_1

Z3P-20141217-060016_databackup_1_1

Z3P-20141217-060016_databackup_2_1

Z3P-20141217-060016_databackup_3_1

Z3P-20141217-060016_databackup_4_1

Z3P-20141217-060016_databackup_5_1

Z3P-20141217-060016.tar

 

 

By these backup files, is there anyway we can get to know what HANA version this backup belongs to?

 

Kindly help me.

 

Regards,

Dinesh Verma

Re: Not able to Stop Instance

$
0
0

Hi All ,

I had face the same issue while bring down the system ,

Instead of request rebooting of server , we reloaded the service process (srv) .which fixed the issue.:) then i tired to bring down the system It worked.

Re: Control capacity reduction field in work center

$
0
0

Caetano,

 

so, this field in workcenter is not relevant for Rem manufacturing and also for co15 (header confirmations)..

 

this is only relevant for co11n operaion level confirmations? am I right in saying that?

 

Thx

Re: No Receiver found

$
0
0

Hi Boopathi,

 

You should use 'Count' function to determine existence of a Node in a XML.

 

The count function returns the count of the occurrence of a field or node in the XML message. Hence in case a field exist in a message, the count return a value greater than Zero and if it doesnt exist, the value returned should ideally be zero.

 

 

 

Reference: To Exist Or Not to Exist is the Question - Process Integration - SCN Wiki

 

Regards,

Nabendu.

Re: Link of Preventive order Operation and package table

$
0
0

i do it with TABLE PLWP it gives you
PACKAGE as no.1,2,3    

Task List/ Activity Operation (NODE) as 1,2,3

 

TAKE CARE with field DELETION INDICATOR not equal X
because it's corrective when you make change of connectivity between package and node in TCODE ia06

Re: Excel file download issue

$
0
0

The attached jsp worked for me. A jsp is like an inside out servlet so any characters or newlines or anything outside your jsp scriptlet will be output by the server. This includes newlines after scriptlet etc. If you are trying to return a binary file with a jsp it will corrupt the file. I think this may be causing your issue.

 

Regards,
Christian


Re: Filter one record from model and bind it to an control like standard tile

$
0
0

Hi Kedar,

 

thanks for your response. Your code works well in the context having only one tile within the tile container.

I've missed to describe that I'm going to have multiple standard tiles in one tile container, each of them should show filtered data.

 

For example:

  • Tile 1: Bind a person where ID is 1
  • Tile 2: Bind a person where name is name1
  • Tile 3: Bind a person where attribute X is value y

 

Regards

 

Christoph

Re: No Amount Authorization for customers vendors in company code

$
0
0

Ok,  I really appreciate you all.

 

System went down again, and just now i am able to work on this issue.

 

I had to maintain the following as no entries were performed

 

T-Code  OBA0

T-Code  OMRB

T-Code OBA4

 

 

 

T-Code OBA3   has been already maintained

 

T-Code  OB57  is already maintained, but is it reading the Tolerance group from T-Code OBA3 ?

 

Error message Gone.

 

Now a new error of course surfaced !

"Define A Fiscal Year Variant FIRST for Company Code"

Define A Fiscal Year Variant FIRST for Company Code

Re: Wishing sapui5 openui5 be ported to typescript

$
0
0

Hi John, Denise & Joao,

 

My 2 cents - I talk about TypeScript from a more philosophical perspective. The purpose of TypeScript (IMO) is to get rid of simple type style/common JavaScript issues that can be identified with an additional preprocessor language.

 

While I don't think this is the solution for JavaScript, the problem is very real. My hope is that we get a much higher artificial intelligence in our linting programs that can effectively understand what the developer is trying to do (and ask questions if it doesn't understand).

 

The point is, UI5 is for enterprise programs, and enterprise programs are usually not prone to misspelling a variable name, and everything being okay.  UI5 programs can happily make it through to production without a red flag being notified to the basis team; and this is a real concern.

 

Linting is the best way we have today (which is not forcibly integrated in the deployment through WebIDE today), but I think we need more and TypeScript is one brute force solution to this.

 

So bring on the AI in linting that understand UI5, and introduce constants from XML views and Gateway Services that remove us from typing this.getView().byId("IncorrectId"), but that's a big project in itself, but what will be necessary to avoid developers used to heavily typed languages like ABAP making a mess of production UI5 code.

 

Just my 2 cents.

Cheers,

Matt

Re: No Amount Authorization for customers vendors in company code

$
0
0

This is a great shortcut to learn.   Thanks Erwin

 

but also i have attached the screen for the Table and T-Code OBA3

 

I have three different entries in the table !

Re: Unable to start hana cloud platform Java EE web profile server

$
0
0

Hi Ashish,

 

I'm having the same issue.

 

I hope you have solved this. If so, would you mind sharing the solution ?

 

Thanks and regards,

 

Elton

Re: Errors or warnings found in the "Fiori-Style Cockpit" module

$
0
0

Hi Karunakaran ,

IMHO, Patch 85 is not supported in SAP 9.1 PL 05.

 

You can check this note   -2001393 - Central Note for SAP Business One 9.1, version for SAP HANA



SAP Business One 9.1 PL05, version for SAP HANA is synchronized with and contains all the bug fixes in the following versions:

  • SAP Business One 9.1 PL05
  • SAP HANA Platform Edition 1.0 SPS 07 REV 74.3
  • SAP Business One analytics 1.1 PL5 powered by SAP HANA

 

 

Thanks.

Regards,
Darius

Re: Dump Error When Creating New Model in BPC 10.1 NW

$
0
0


I aready checked RFC Connection. There're no problem.


Re: PO output sent after deletion

$
0
0

Yes, we are using our own print program and that was the next option -- to modify it to not allow output of PO if lines are deleted.  I was just wondering if there was any standard setting or functionality that I may have missed?  Thanks!

Re: Unable to manage a PSA or delete data - too many requests

Re: PO output sent after deletion

$
0
0

replace your own print program with SAP standard and try again. If the standard works, then you are sure that you did something wrong. But as it is your program you should know best where you made your changes.

Define A Fiscal Year Variant FIRST for Company Code

$
0
0

Although this was already done and taken care of  Attached a screenshot 

of T-Code OBBP


Once i enter the amount, i am navigated to the Details tab, with the error message


" Define a fiscal year variant for company code DM01 "



Not too sure why would this error surface.  Attached a screenshot

Re: know how a particular column value has evolved in History column table

$
0
0

That's exactly one of the quite common requirements that cannot be fulfilled with HISTORY tables.

 

Given the other thread I saw from you, I assume you just "discovered" history tables and now try to match it to application level requirements (change history of records, application level validity, compare history with current, etc. ... ).

 

To start of you may check When I traveled through time using SAP HANA!! and especially the discussion in the  comments section.

 

If time related data processing is relevant to your application, make sure to read the book (link in the above discussion) of Snodgras and "bi-temporal-data".

 

- Lars

Viewing all 8676 articles
Browse latest View live




Latest Images