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

Append VS ASSIGN for my requirement with Field Symbol

$
0
0

Hi Gurus,

 

I have a structure <lw_rtab_wa> with the below fields:

 

RECNO I(4)

DOC_NUMBER C(10)

S_ORD_ITM  N(6)

CH_ON  D(8)

CREATEDON  D(8)

 

 

There is also a field symbol <LT_RTAB> which has the below structure:

 

RECNO I(4)

DOC_NUMBER C(20)

S_ORD_ITM  N(12)

CH_ON  D(8)

CREATEDON  D(8)

 

Basically the lengths of DOC_NUMBER & S_ORD_ITM are different. When I use the statement

 

DO.

      ASSIGN COMPONENT sy-index OF STRUCTURE <lw_rtab_wa> TO <lt_rtab>.

     IF sy-subrc NE 0.

    NEW-LINE.                             " Shift Cursor to next line

     EXIT.                                       " EXIT to next work area

   ENDIF.                                   " IF sy-subrc NE 0.

     ENDDO.

 

I get the message ASSIGN_TYPE_CONFLICT.

 

If I just try to use APPEND <LW_RTAB_WA> to <LT_RTAB>, I see that the data in <LT_RTAB> is all clubbed together in the first 3 columns as lengths of DOC_NUMBER & S_ORD_ITM are bigger in <LT_RTAB>.

 

How do I use the APPEND statement but also make sure that data is split accurately into individual columns and not clubbed together?

 

Thanks

Arvind


Re: Transaction Notification

$
0
0

Hi Kuldeep,

 

Please try below query.

 

IF @transaction_type in ('U','A') AND @object_type = '97'

 

 

Begin

IF exists(SELECT T0.[OpprId]

   FROM OOPR T0

   left join OPR5 T1 on T0.[OpprId] = T1.[OpportId]

   WHERE T1.[ReasondId] is null and

   T0.[Status] = 'L' and

   t0.OpprId = @list_of_cols_val_tab_del)

 

 

BEGIN

 

 

SET @error = 1

 

SET @error_message = N'Please add reason for current Opportunity Status.'

 

 

END

END

 

Thanks & Regards,

Alvin

Scheduling agreement for service procurement

$
0
0

Hi All,

 

Am trying to create Scheduling Agreement for Services to Maintain Validity period for a longer time and do

service entry sheet and invoice manually.

 

But am not able to do service entry sheet , is there any option to do SES

 

Other Side

 

I did frame work order ( FO Document type ) with in ME21N,  With validity periods and with GR/IR tick mark and Services tick mark and created Frame Work order . SES posted and MIRO posted.

 

If i want to through Scheduling Agreement is it possible or not

 

Regards

Ramakrishna

9840159223

Re: cant remove previous period stock, need to change valuation category

$
0
0

Hi k j,

 

Thank you so much for your reply... Just two more queries...

I want to change valuation category at plant level, do I need archive all the batches associated with the material.

 

And what about the PP stock in material master showing in above sreenshot, I can't understand why is it showing, whereas I have removed all the current and previous period stocks.

Kindly suggest.

 

Regards

Abhishek

WM create single TO for several deliveries

$
0
0

Hi,

   I will ask a question about creat To, i am using 1 step picking, and now  i hope the same custome's delivery will be create one To, but i have tried LT42 , it will create more than one TOs.

   and i have tried FM:L_TO_CRATE_DN_MULTIPLE    ,but i dont know how to input it

 

   I hope to create one To, can you help me?

 

Thanks

Re: Script Logic - Writing to Base members

$
0
0

Hi Jaco,

 

Why your VBA code put CU_DUMMY in selection list?

 

Gersh

Re: Find numbers in a string

$
0
0

Hi Lars

Yes, i did check that syntax ..unfortunately we are on SP8 and hence am unable to use these.

 

Also ... though my example shows same number "52" on all three rows. In actual scenario we have data with different numbers, 52 - 10 , etc. as well.

 

Any other recommendations?

 

Thanks

 

VN

Re: Revenue Account Determination based on Sales Order Document Type & Service Order Type

$
0
0

Hi Prakash,

 

Yes, you can certainly add new table fields into the field catalog KOMKCV and KOMPCV and use it during account determination. You will also have to add these new fields in the user exit RV60AFZZ for it to work. I believe you will need ABAPer's help to make this work. The abaper will have to crate a ZZFIELD (ZZAUART for example) and put it in the structure and use the same in the user exit to pass the values.


In your case, what I am not sure is, are you looking to modify the existing standard tables or creating new ones. My suggestion is to create the new condition tables with these new fields (like document type) after adding it to the field catalog. Only modify the access sequence (KOFI) in such a way that your new tables are access first before it goes into standard tables (or you can adjust it according to your scenario.


We have done it in our company and it is working fine. Basically what we have done is to create new tables instead of modifying the standard ones. We have adjusted the access sequence in such a way that some of our custom tables are accessed first before the standard SAP tables (C001 to C005).

 

I found a similar requirement on SCN. This might help.

 

Adding New Field in Account Determination

 

Hope this helps.

 

Regards,

Mukund S


GTS block for return purchase order

$
0
0

Hi,

 

Our ERP system is integrated with GTS system. After creating a return purchase order in ME21N the order is blocked on 'Sanctioned Party List Screening' and 'Legal Control'. However, it is still allowing to create return delivery with movement type 161 in VL10B even if the GTS block is not released.

 

We need to build control to stop allowing to create return delivery if the order is blocked in GTS. Is there any standard way of controlling this or we have to custom develop it? Kindly guide me on how to achieve this.

 

Thank you,

Ranjith

Re: DEV system automatically shutdown

$
0
0

Hi Arif,

 

If possible could you share system logs from SM21 with dev_w0 & dev_disp log files.Please confirm for any recent activities on the system in regards kernel upgrade or any ?

 

Regards,

Re: MAKit for SMP 3.0 ?

What are the Delta Changes for all Modules from EHP 1 - 7?

$
0
0

Hello Guys,

 

I need your help to know what are the changes or upgrades for all the modules in SAP from EHP 1 - EHP 7. Appreciate if you can point me to the right direction or provide me a documentation on this. Thanks!

 

Regards,

Nathan

Re: Problem in Promotions & articles sent to POS from SAP

$
0
0

Hello Amit,

Thanks for your reply. This will definitely help me to to start my research.

Actually we are using background jobs which send the articles & promotions to POS through XML files. Generally we check these generated XML files if the data is not sent to POS.

 

But sometimes the data is not in POS, though the XML file is generated for that article & promotion. In that case we check whether background job is successful of not & then we send the data again manually.

 

I'll check the tables BDCP2, WIND.
Are there anything more you can suggest in this case.

 

Regards,

Avinash

Re: Delete PO Line Item with Down Payment Existing in Header

$
0
0

Hi There is simple way to clear the downpayment. please transfer the balance of down payement to other PO for same vendor. or if there is invoice for the same vendor with the same downpayemnt amount once you post the vendor , vendor will get credit clear the debit and credit balance of the vendor thanks

Re: Creating users in SAP C4C using Solution Manager

$
0
0

Thanks Chandan for reverting to the query.

 

The objective is to create users in SAP C4C from SAP Solution Manager. Are you trying to say that there is no direct integration between SAP Solution Manager and SAP C4C and that this replication can be achieved via SAP Solution Manager -> SAP ECC -> SAP C4C or SAP Solution Manager -> SAP CRM -> SAP C4C?

 

Currently the users can be also created by replicating Employee data into SAP C4C but this is a separate interface and does not happen when the users are created in Solution Manager.

 

Regards,

Sandeep


Re: BusyIndicator on a Dialog.

$
0
0

Yes, indicator is freezed (it does not rotate), and after sometime it is closed.

Re: BusyIndicator on a Dialog.

$
0
0

Hello Dhananjay,

 

This is not the case.

Re: N:1 Transfomation using I-flows is it possible ?

$
0
0

No problem. Do close the thread if you have no more queries related to this thread.

Re: ALV Header Center Aligned

$
0
0

If possible can you paste the whole code including class definition and implementation.

Re: PS-MM issue

$
0
0

Hi,

 

Please close this thread by marking it as helpful or correct answer if your issue is resolved.

 

Regards,

Amit

Viewing all 10548 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>