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

Convert Dynamic internal table to internal table

$
0
0

Hi All,

   

        I have created a Dynamic internal table using field symbols.  Now i need to conver that dynamic itab to another normal internal table . Can anybody tell me how can i convert that dyn_itab to another itab.

 

Code which i used for create dynamic table:

 

 

   CALL METHOD cl_alv_table_create=>create_dynamic_table

     EXPORTING

       i_style_table             = 'X'

       it_fieldcatalog           = it_fcat1

     IMPORTING

       ep_table                  = gt_dyn_table

     EXCEPTIONS

       generate_subpool_dir_full = 1

       OTHERS                    = 2.

 

   ASSIGN gt_dyn_table->* TO <l_table>.

   CREATE DATA new_line LIKE LINE OF <l_table>.

   ASSIGN new_line->* TO <l_line>.


Re: Accessing Global Definitions within Program

$
0
0

Hi,

 

Accessing global variables of a program was discussed in the forum, e.g:

Re: Access to variables from calling subprogram using field-symbols

 

With smartforms there's another tricky issue, generated program name in to 'partner' namespace.

To access variable of a simple program:

ASSIGN ('(lv_progname)lv_varname') TO <lv_data>.

 

Code in smartform is defined in the function group, so you need to add SAPL prefix to f.group's name.

Also generated function module is in the 'partner' namespace - SAPL goes after /xxx/ prefix.

 

Example for lv_progname:

/1BCDWB/SF00000118 need to be changed into  /1BCDWB/SAPLSF00000118

 

Regards,

Radek

Conflict in stock value MMBE & MMCL

$
0
0

Hi experts,

 

We have activated DIMP functionality and we have Variant configuration in place. While checking the stock through MMBE it is showing 1 TON and MMCL it is showing 0.001 TON.

 

Can you please through some light on this why the system is showing different numbers?

mmcl.JPG

 

 

 

mmcl.JPG

Thank you..

My hana instance is in critical condition

$
0
0

Hi,

 

My hana instance is in critical condition.

I have no idea why, and how to move it back to its health condition?

I have 2 application on it now, and all of them cannot be run anymore in a web browser.

Anybody have similar experience? Can you share with me how to solve it?

Pls note that I dont want to delete my instance and create it again.

 

Regards,

Tjarliman

Re: Accessing Global Definitions within Program

$
0
0

Hi Arman,

 

Off the top of my head, one option to access them is - STACK ACCESS.

 

But I would like to know, what is the exact requirement -- why do you want to access the global variables' values?

 

Regards,

Balaji

Re: No sales order items in APO

$
0
0

Dear Yuan

 

Check your queues from ecc to APO whether they are stucked any where

also check your I model for sales orders is also active

 

check your CIF Post  Processing  also .

 

 

regards

Virender

New line for AutoManaged UDO based matrix

$
0
0

I have implemented an AutoManaged UDO based matrix following http://scn.sap.com/message/15978030 (Thank you, Edy!). The first column (#) is bound to field DocEntry of my Master Data Table. Since the AutoManaged matrix contains no new line to enter additional records, I have implemented this functionality in the OnCustomInitialize method this way:

Matrix0.AddRow(); Matrix0.ClearRowData(Matrix0.RowCount); 
int docEntry = (Matrix0.RowCount == 1) ? 1 : Convert.ToInt32(((EditText)Matrix0.Columns.Item(0).Cells.Item(Matrix0.RowCount - 1).Specific).Value) + 1; 
((EditText)Matrix0.Columns.Item(0).Cells.Item(Matrix0.RowCount.Specific).Value = Convert.ToString(docEntry); 

But when I want to store the new line after entering all mandatory data, SBO says that the data have been changed by another user or operation.

1. Is there any way to make SBO handle the DocEntry values?

2. Is it correct to add new lines during initialization (OnCustomInitialize) and after update procedure (DataLoadBefore)?

3. Do I have to remove the new line when the user changed data but did not add new data, within the update procedure (ClickBefore)?

Re: Release statergy revoke

$
0
0

Hello VINAY,

There is no way other than ABAPer solution. I see this can be managed through user-exits. You should be able to understand what is being written here. More than that you should have  ABAP support who can understand this better.

 

This is a solution combining the ideas of both Maria (extra User status) and Pavan (User-exit). The proposed solution here applies once your Order attains the REL Sy.Status. (There is no issue before REL status). It goes like this:

 

You maintain 2 extra user-statuses suppose one being AARQ (Additional Approval Required) and the other ADAG (Additional Approval Given).

 

Logic

The user-exit PPCO0023 senses any component changes/additions in the Order. So the code to be developed like this:

Whenever a Component is added, code first looks into the system status of the Order with the help of function module 'STATUS_READ' and if it is REL, then computes its cost of this component/s, if it is found more than what you specify  then the code sets the AARQ user status to the Order with the help of another function module 'STATUS_CHANGE_EXTERN'.

Then

1. A code to be given in user-exits IWO10009 to prevent any further processing of Order until the Order gets the ADAG user status from the approving authority. (Necessary Role modifications required to be done to prevent setting of these user-statuses by unauthorized users ).

2. Similarly A code to be given in the user-exit CONFPM02 to prevent Operation processing until the Order gets the ADAG status.

3. Also user-exit IWO10004 can be used to prevent Order TECO until the above user-status.

 

 

Sample usages of the user-exits are available in the links here:

User-exit   PPCO0023

User-exit   IWO10009

User-exits CONFPM02 and IWO10004

 

 

Good luck

KJogeswaraRao


Re: I can not download attachments in Fiori Client

$
0
0

Hello Hakan,

 

Is your issue resolved? If yes then would you please share your solution as we are facing the same problem.

 

Regards,

Faisal

Re: 404 error if click on name from SCN Wiki

Re: Unable to create trial instance - Unexpected exception in createSchema()

$
0
0

Just fixed.

The creation of Trial HANA instances is working again.

Splitting Values in Webi

$
0
0

Hi,

 

I want to split Column A's values to Column B's values, Column C's values, Column D's values and Column E's values by using separator "/" sign.


I could get ColumnB like below formula.


ColumnB=Substr([X Query ].[ColumnA];1;Pos([X Query ].[ColumnA];"/")-1)


Can you help me to get other values of other columns, please?


I should see the table like below.

 

ColumnAColumnBColumnCColumnDColumnE
AB/9.40/01200/KLMNAB9.4001200KLMN
AB/9.40/01200/RSMNAB9.4001200RSMN
AB/11.90/01200/RSMNAB11.9001200RSMN
BC/25.50/0400/TRLMBC25.500400TRML
BC/25.50/0600/PRMSBC25.500600PRMS


Best Regards,

Re: Error in SPAM - SPDD_SPAU_CHECK - ECC 6.0 EHP4

$
0
0

Hello,

Could you please share the solution ?

Re: error in post dep

$
0
0

hi mukhtar

i check it .

i settel whit tr:ko88 and  asset value date is 29/12/2014 but system calculate dep from first

period 12 . and period control  for this asset class is (Pro rata upto mid-period at period start date).

you think what is the problem in my system

Re: System Rename Preparation

$
0
0

Hi Sandeep

 

1.  Is it dual stack or ABAP / JAVA only system?  If it is Dual better you can perform the Normal System copy of PRD to Test system,

 

2. If it is Single system your can follow the steps as mention by Rana. before starting the check the SP /patch level  and restrictions. Refer the SAP note  1619720 - System Rename for SAP Systems based on SAP NetWeaver

 

BR

SS


Re: List -->Export -->Spreadsheet grayed out in ML84

$
0
0

Hello Sushant,

 

 

in transaction ML84 if I select the menu
List --> Export --> Local file...

a popup appears where I can select "Spreadhseet".

 

Also, if I select menu

System --> List --> Save --> Local File,

the same popup appears where I can also select "Spreadhseet".

 

Could you please check whether this is sufficient for the required function?

 

 

Best regards,

Laszlo

Re: KKS1 Variance Calculation and CO88 PP order settlement not process

$
0
0

Dear Mukthar

 

This is process order and process order status is TECO and DLV

 

10_2015-06-01_140410.jpg

 

We will implement COPA later on.

 

Regards

Tarek

Re: Add attachment in the background

Re: FI-AA insurance values when doing asset transfers

$
0
0

Hi Michael,

 

thank you for your reply. Both assets use the same index series and the series´ calculation is based on APC.

But when I read the document you attached regarding the 'prop.index' involved in asset transfers then I have the suspicion that this could be the initiator of our problem. I will investigate it.

 

Thank you and best regards

Björn

WIP is not calculated in KKAX

$
0
0

Hi guys,

 

My client want to use Sales Order Costing with costs settled to sales order item. However, when using KKAX to calculate WIP. the result is always zero despite the order status being REL and PDLV.

 

I have maintained all data required for Result analysis and Total variance but the issue still persists.

 

I would be grateful if anyone can point out what is wrong in this case.

 

Best regards,

 

Quan

Viewing all 8746 articles
Browse latest View live




Latest Images