Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all 10425 articles
Browse latest View live

Translation of customer-HCM-infotype

$
0
0

Hi all,

 

I created a customer infotype MP900100. Now I have to translate the texts. So I intended to use TA se63. I follow the path translation --> ABAP-objects --> short texts --> S3 ABAP-texts --> SCRT screen painter texts. In field object name I put my MP9001* and press F4. From the following strike list I choose the entry with the dynpro I want to transalte. Translation from source language deDE to target language enUS. Then I push button Edit.

The error Object does not exist occurs. Unfortunately the help does not tell me more.

Does anyone know what is missing ?

 

regards.

Stefan


Re: Value not get fetched

$
0
0

What i get is follwong (correct me if i am wrong) : You have an article which you can configure or classify. You read a certain characteristic which holds the Area in squaremeters.

 

Since characteristics values get stored in CHAR, you want to convert it to a number, so that you can calulate with it, or make a nice output format.

 

So your only problem is the conversion from char to number, right?

 

you can simply move the char value to a number variable e.G.

 

DATA: lv_char   type c length 30 VALUE '3.123,33'.,

            lv_number   type kbetr.

 

lv_number = lv_char.

 

If the char value is a valid number it will work, otherwise it will DUMP.

to be a bit more sure that it will work you can eliminate those thousand seperators, and make sure the decimal is a comma (yeah thats the internal format).

Consuming external Web Service in ABAP (Change data type or size of field)

$
0
0

Hi All,

can we change data type or size of the field in WDSL file? Problem is one the char field in the webservice structure is greater than 10000.

 

 

 

Thanks,

Dev...

Re: Dot Matrix Print

$
0
0

I think it might be issue related to the device type. Set correct device type valid for your printer make(Google search might help) on the printer settings in SPAD. It is more important to get the right device type for dot matrix printers.


If it is not device type it might be related to font conversion. You can check font conversion from SE73.

Re: ALV Grid - Average Calculation for CHAR Field

$
0
0

Well, nice if that solves it for you.

 

Normally you would add a field to your ALV-Structure. A numeric field. While processing you move the value from your char field to this field.

 

Then in the ALV you can use the layout to NOT show your char field, but show your new numeric field.

 

Then you can easily use the SUM function of the ALV:

Re: Dot Matrix Print

$
0
0

after converting to smartform replace the font with which you require and if required create a new page style in  spad t code and replace the current format in smartform with newly created page format

Re: Specify Message ID on Function Pool

$
0
0

I tried this but the option is greyed out so I cannot Switch Off in any case.

Re: Dot Matrix Print

$
0
0

okay do one thing

develop a z program  and use the function module 'GET_PAYSLIP'

in your program in order to get the data that you see in the output of

tcode "PC00_M40_CEDT".

and again use the function module 'CONVERT_PAYSLIP_TO_SAPSCRIPT'.

after generating the sapscript. after generating the sap script go to se38

and goto progrram 'SF_MIGRATE' and convert the sapscript to smartform.

 



Re: Consuming external Web Service in ABAP (Change data type or size of field)

$
0
0

No, you should change the length of the field in the corresponding webservice ( or have it changed) and then generate a new wsdl (web Service DESCRIPTION Language)

Re: How many field can be added to database table?

$
0
0

LIPS has more than 287 fields in one of my systems.

 

What is your version, read first Note 355898 - Restrictions on transparent tables. As you can read, max length is now 4030 since release 6.0 SP25, max key length always 255 and max number of fields is 749 since release 46A.

 

And yes, there are minimal version allowed for database related to R3/ECC versions.

 

Regards,

Raymond

Re: BDC not working for XD01-Telephone field(TEL2) not being saved .

$
0
0

Hi sai Krishna ,

                           I checked it again , value is correctly passed as shown in the snap-shot . Data is being saved except one field so SAVE is working fine .

 

regards,

Kishore

Re: how to create second or third source code plug-in for same enhancement point?

$
0
0

Hello,

 

The SAP Help Link shows that you can have multiple enhancement implementations indirectly tied to an Enahncement spot. It does not show an enhancement point hacing multiple implementations.

 

An enhancement spot can have many enhancement points and each enhancement point ( enhancement definiton) - especially in the case of a source code enhancement can have only one enhancement Implementation assigned. Thats the limatation of the Enhancement option ( Source code Plugin ) and it makes sense. There cannot be multiple Source code enhancements for one poiint, if so how do you determine which plugin to pick at runtime?.

 

However,In the case of source code plugin's,  I am not sure if we can reassign an Enhancement point to multiple enhancement spots. I have never tried that.

 

Enhancement option like BADI's allow to have multiple Implementaions tied to one definition, because they provide us a mechanism to choose the right one ( Filters )..

 

Hope this Helps. Do correct me if I am missing anything.

Venkat.

Re: Sum Period Amounts into new column

$
0
0

HI Ahmad,

 

Try the below code.

 

*&---------------------------------------------------------------------*

*& Report  ZSUM_TEST

*&

*&---------------------------------------------------------------------*

*&

*&

*&---------------------------------------------------------------------*

 

REPORT  zsum_test.

 

TYPES : BEGIN OF ty_final ,

           period(7) TYPE c ,

           amount TYPE i ,

           persum TYPE i ,

          END OF ty_final .

 

DATA : wa_tab TYPE ty_final ,

        wa_final TYPE ty_final,

        wa_tab1  TYPE ty_final,

        it_tab TYPE STANDARD TABLE OF ty_final,

        it_final TYPE STANDARD TABLE OF ty_final.

 

DATA:lv_sum TYPE i.

 

 

CLEAR:lv_sum,

       wa_tab1.

 

CLEAR wa_tab.

wa_tab-period = '2012001'.

wa_tab-amount = '100'.

APPEND wa_tab TO it_tab.

 

CLEAR wa_tab.

wa_tab-period = '2012001'.

wa_tab-amount = '200'.

APPEND wa_tab TO it_tab.

 

 

CLEAR wa_tab.

wa_tab-period = '2012002'.

wa_tab-amount = '100'.

APPEND wa_tab TO it_tab.

 

 

CLEAR wa_tab.

wa_tab-period = '2012003'.

wa_tab-amount = '-10'.

APPEND wa_tab TO it_tab.

 

 

SORT it_tab BY period.

 

LOOP AT it_tab INTO wa_tab.

   wa_tab1 = wa_tab.

   AT NEW period.

     wa_final-period = wa_tab-period.

   ENDAT.

 

   wa_final-amount = wa_tab-amount.

   lv_sum = lv_sum + wa_tab1-amount.

   wa_final-persum = lv_sum.

   APPEND wa_final TO it_final.

   CLEAR :wa_tab,

          wa_final.

ENDLOOP.

 

 

please find the output.

 

Capture.PNG

 

let me know if any issue.

 

Regards,

 

Gurunath

Re: Ecatt - Business Partner Mass creation

$
0
0

Hi Mohamed,

     You can make use of BAPIs available for creating Business Partners. Create a program that takes required inputs and uses BAPI to create the partners.

 

     BAPI_BUPA_CREATE_FROM_DATA

     BAPI_BUPA_CREATE_FROM_DATA2

     BAPI_BUPA_FS_CREATE_FROM_DATA

 

     Also see if creating secatt script for transaction bup1.

 

Reward points if helpful,

~Athreya

Re: How to right allign the values in ALV top of page

$
0
0

Dinesh,

     Make use of HTML_TOP_OF_PAGE for writing the ALV header data. There are many options available to format the data. Drawback in using TOP_OF_PAGE is that it can take text upto 60 characters in a line.

 

     Note that if you are using html_top_of_page in alv, print preview will not have the header data. If you are going to print the alv output then you have no other choice but to use top_of_page only.

 

Hope this helps,

~Athreya


Re: Implementation of BADI using changing parameter of type "Index Table"

$
0
0

Hi Ankit,

     Check if the data you want to change is coming in field table_line. The easiest way to check this would be to create an implementation of the BADI, keep a break point and run the application. If the program run reaches the break point, you can know which field(s) have the data you require.

 

Hope this helps,

~Athreya

Re: Implementation of BADI using changing parameter of type "Index Table"

$
0
0

Hi Athreya.

 

     I have already checked that and values are populated in that changing table but since the this table has only 2 fields only 2 values are populated in SRM Table.

 

My main issue is how to work with generic abap type 'Index Table'. can i supply all other fields of SRM Table in Table_Line field of changing table, if yes then how.

 

Thanks.

Hope u understood my problem.

Re: having same name aginst different document no , I want total amount

$
0
0

hi ,

 

now if I am entering doc no having payment = ' T '  ( e.g. 1000 and payment = 'T' .) then output should  display.

 

otherwise output should not be display.  what should I do. pls help me

 

 

I have done that using collect statement .

 

Thanks for your response abaper's .

Rewarsd will get.

 

Regards

 

Navin

Re: How to link between BSEG and GLPCT tables.

$
0
0

Hi,

Try to use GLPCT link to GLPCA then from GLPCA to link BKPF, then BKPF will link to BSEG.

Also tcode 3KEH/3KEI set up for these balance sheet accounts to get a default profit center for GLPCAT and GLPCA.

 

Li

Re: PDF/XString to Image conversion

$
0
0

Hi Fred,

 

Thanks for your help!

But my project do not want to call any external system. I am still trying to look for something in SAP to convert the pdf/otf/XString into image hich can be then sent to any other device.

 

With Regards,

Garima

Viewing all 10425 articles
Browse latest View live


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