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

Re: write internal table as text file on application server

$
0
0

Hi sachin,

 

Please try the following -

 

DATA: lv_file_name type string.

FIELD-SYMBOLS: <data>   TYPE ANY TABLE,
                 <line>   TYPE any.

 

"Convert internal table data into string data

  loop at lt_tab into wa_tab.

      concatenate lv_file_str  wa_tab-col1  wa_tab-col2 ....  into lv_file_str separated by ';'.

  endloop.

 

  "Convert String to Xstring
 
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
   
EXPORTING
     
text   = lv_file_str
   
IMPORTING
     
buffer = lv_xstring
   
EXCEPTIONS
      failed
= 1
     
OTHERS = 2
.


  "Convert Xstring to Binary to Save the data into the Application Server
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
   
EXPORTING
     
buffer     = lv_xstring
   
TABLES
      binary_tab
= lt_b_data
.


"Save the Data file in the Application Server
    ASSIGN lt_b_data TO <data>.

    OPEN DATASET lv_file_name FOR OUTPUT IN BINARY MODE.
    IF sy-subrc = 0.
      LOOP AT <data> ASSIGNING <line>.
        TRANSFER <line> TO lv_file_name.
      ENDLOOP.

      CLOSE DATASET lv_file_name.
    ENDIF.


Let me know if you have any doubts in this.


Regards,

Rachna


Issue in Loan Infotype

$
0
0

Dear Experts,

 

I have come across a very weird scenario. In IT45, for eg., if an employee is taking loan of Rs. 570, 614, with effect from 01.01.2014. Now for 2 months, deduction is done @ Rs. 22500. So, Jan - Rs. 22500 + Feb - Rs. 22500 = 45000. Same is being maintained in Payment Tab in IT45, same is been seen in IT78, and the same amount is deducted aga in RT as well. But in Loan Balance Amount it is showing as 0. Please find below screen shot for the same:

 

Screenshot from 2014-04-04 11:38:56.png

Screenshot from 2014-04-04 11:39:10.png

Screenshot from 2014-04-04 11:39:20.png

Here March Amount is also displayed, though payroll for march is still not yet run. So deduction has been made till Feb. As per my understanding, in Basic Data Tab, Loan Balance Amount becomes 0.00 in two cases:

 

1. If complete loan is paid as on date in RT.

2. If in Payment Tab Complete amount is added as Loan Payment (External), though in condition tab deduction amount will be entered and same will be deducted every month.

 

Why in this case Loan balance amount is coming as 0?

 

Please help solve my query.

 

Thanks and Regards,

Bhagyashree

Re: Issue with WF container elements using OOPS

$
0
0

Hi Madan,

Ok that is easy to fix.

Go to your Exception class in transaction SE24 and have a look at the tab Texts.

There will be line there that matches your class and shows the default text for that class.

 

For example, you can see in standard exception class CX_BO_INSTANCE_NOT_FOUND that the default text is "Error while searching for existing instance of business class '&CLASS_NAME&': Instance not found"

 

Now go to the Methods tab of your exception class.  You will see there are two methods:

IF_MESSAGE~GET_TEXT and IF_MESSAGE~GET_LONG_TEXT.  These are the methods that build the texts that you see in the workflow log.  They will have default implementations but you can override them if you need to.

 

Notice in the CONSTRUCTOR method of CX_BO_INSTANCE_NOT_FOUND how the attribute TEXTID has been filled.  This is important, because the existence of a text id dictates whether the text methods are called and thus whether the workflow log is filled.

 

Now look at the Attributes of your exception class.  These can be used as placeholders in your message text - you can see how this is done in the default text of CX_BO_INSTANCE_NOT_FOUND above.  If you need additional attributes to be passed by the calling program, all you need to do is create the attributes in your exception class, reference them in your default text or in your GET_TEXT method and activate your class.

 

By doing this, the attributes will then become input parameters of your RAISE EXCEPTION statement for this exception class.

 

And of course what you enter in the default text or via the GET_TEXT method will end up in the workflow log.

 

Hope that helps.

Rgds,

Jocelyn

Re: How to prorate infotype 0014

$
0
0

Hi Sankarsan,

You logic will work..

But the requirement is with mudh hatta. Not with me .

 

As you said logic

Z

OPIND

ELIMI A

PRINT

WPBPC

 

Followed by my pcr in XVAL will resolve mudh hatta Issue.

 

Lets wait for his response.... 

Re: Service Account for BO

Re: help regarding ehp6

$
0
0

Dear Abhay,

If you will go through the site which I have given in my earlier reply you will be able to see the version from which the new functionality is available(If it is EHP 4 that means the new functionality is available from EHP4 and above versions.) and with that you will get the documents as well for all modules as required by you.

 

Hope this helps you.

 

 

Regards

Eugene

Re: after system upgrade, Report MB5L is w/o matr description.

$
0
0

Hi,

 

Try this SAP note:-1726487.( Mat.Description blank & Wrong MatDoc displayed J_1HSTCD)

 

 

 

Regards

Rakesh

Re: Service Account for BO

$
0
0

Hi Ambarish,

 

I am doing good. Nice to see.

 

Thanks for the reply buddy. :-)

 

Regards

Chinmaya


Re: Transferring Tickets in EIC

$
0
0

Hi Shai,

 

The Assignment of the team can happen via "Rule Policies"

 

In Rule Policy, you define the "Condition" and state a relevant category and then define the "Action"

as "Route a Group"  or "Route to a Partner"

 

Hope this helps.

 

Regards

Bee

Re: Query - Can we use 'perform subroutine' in SQ02 code for customer fields?

$
0
0

Hi Wiktor. Thank you for your help.

I tried just now. The perform structure has been achieved.

CK11N: Itemization with Primary Cost Elements only

$
0
0

Dear Sirs

 

I have customized the Primary Cost Component split in OKTZ.

  1. I have not mapped Secondary Cost Elements to Primary Cost Component Split.
  2. In Primary Cost Component Split, Activity Costs are correctly placed - No Errors here. In CK11N, all Activity/Overhead Costs are properly placed in correct Cost Components; System does not generate any error.
  3. I did not create Aux Cost Component as it is not needed.


This shows that split is working properly.

 

Now users are requesting to see Itemization in Primary Cost Elements only.

They do not want Secondary Cost Elements in Itemization (Like Category 43 cost elements relating to activity allocation).

 

I am not able to figure out how to meet this requirement thru customization.

Therefore seeking your help.

Is it possible to get only primary cost elements in ck11n itemization?

Documentation mentions Function Module CK11_ITEMIZATION_TO_COSX_CONV to get appropriate reports.

However, I feel that development can be avoided and there must be a standard configuration for this requirement.

 

Requesting guidance and help.

Dynamic Recipients Error: Invalid report! Choose another report.

$
0
0

Hi!

 

After install new installation BO 4.1 SP2 and promote all universe (unx), report and publication, we can not bind dynamic subscribers to the publication.

 

Reproducing the Issue:

1. Create publication

2. Shoose source docement

3. Choose the Source for Dynamic Recipients

4. Select the datasource name for the document

5. Error - Dynamic Recipients Error: Invalid report!

 

Invalid report! Choose another report..png

Source report "EMails" contains Email list for publications. In 4.0 SP4.6 it worl ok.

 

I Update BO version from 4.1 SP2 to 4.1 SP3, repeat steps, and get some error: Invalid report! Choose another report. 

 

I tried to create a report "EMails" in the new version BO, then I try repeats steps

- choose the Source for Dynamic Recipients - ok

- Select the datasource name for the document - ok - NO ERROR

 

But I can not choose a report field (Recipient Identifier,Full Name,Email):

not selected field.png

 

after I select a field from the combobox, the widget is refreshe and reset field they are all empty.

Re: Howto activate multicast for NW 7.40 kernel?

$
0
0

Hello

 

You should find a solution in the here under note.

 

Regards

 

 

1931675 - IP multicast configuration for dispatcher wakeup mechanism

If needed (because IP addresses from this range are occupied by other applications or network devices in the subnet),

the base address and the offset can be configured with the profile parameters:

rdisp/request_queue_mc_address_base

rdisp/request_queue_mc_address_offset

Re: Error In Personnel Action

$
0
0

Hi tariq,

 

Kindly check Personnel Number 00000000.... i think number range should start from 000000001 ...

 

I would suggest reset the starting number range as 000000001...  This should solve your issue..

 

Regards,

Veeram

Re: Extended fields on UI not deleted

$
0
0

Hi, everyone.

           My problem has been accidentally solved by recreating the CustomerInvoiceRequest.xbo.

Does anybody know why?

Best Regards,

May T


Re: Howto activate multicast for NW 7.40 kernel?

Re: Mass change of WBS status

$
0
0

please use transaction code CJ02,here you can carry it out project wise

select all the WBS elements for whom the status is to be changed to techo

go to Edit tab-->status-->Techo

Re: help in profit segment

$
0
0

Hi Abhay,

Please go through the given path below for segment.

 

SPRO-Enterprise Structure-Definition-FA-Define Segment.

 

 

Hope this will help you.

 

 

Regards

Eugene

Re: Changes in OBBH - Substitution

$
0
0

Hi,

 

user GGB1 - create new step substitution -in already created one ,

 

and go to OBBH and again active same substitution

 

it will work

 

Thanking you

 

Regards

Mahesh 

Re: SAP NW 7.4 SR1 Java system post installtion activities

Viewing all 8713 articles
Browse latest View live




Latest Images