Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

Begin a SAP career starting as ABAP IV developer

$
0
0

Hello,

 

Soon I want to start a course in ABAP IV, with the aim to get certified in the medium term. I've played some SAP, and I think it could like me  much.

 

 

Anyway, I would like to make a career in SAP world, beginning as ABAP developer as IT professional I am. But in large term, I would like to get specialized in any module. So, I would ask you if this is a real possibility, or being an ABAP developer, you get stuck the professional career as ABAP developer.

 

 

 

Being IT, which module can I opt for?, Only BASIS?, or also can I opt for modules like BI, FI, Sales, .. without having studied something related with management and business administration?

 

 

 

Regards and thanks in advance from a newbie.


ALV to excel

$
0
0

Hi,

 

I am facing problem in dowloading alv to excel for one particular field.

 

Code for the column is:

 

month - yy.

 

for ex: July -13  But after dowloading it shows 13 - July.

 

CALL FUNCTION 'ISP_GET_MONTH_NAME'

      EXPORTING

       DATE               = wa_final-lwd

        language           = SY-LANGU

*       MONTH_NUMBER       = '00'

     IMPORTING

*       LANGU_BACK         =

*       LONGTEXT           =

       SHORTTEXT          = month

*     EXCEPTIONS

*       CALENDAR_ID        = 1

*       DATE_ERROR         = 2

*       NOT_FOUND          = 3

*       WRONG_INPUT        = 4

*       OTHERS             = 5

              .

    IF sy-subrc <> 0.

* Implement suitable error handling here

    ENDIF.

CONCATENATE month '-'  wa_final-lwd+2(2) INTO wa_final-month_yy.

 

Please help.

 

Thanks in advance.

SQ02 Upload Error: Compare query XXX InfoSet XXX : Field XXX missing

$
0
0

Hi,

 

I've changed my infoset and queries in development box and wanted to upload to quality box, but getting the following error when uploading infoset and queries in SQ02.

 

2014-06-13 12_03_59-Import log.jpg

In development box, I deleted VBRK-NETWR in infoset and added VBRP-MATNR, TEXT_VBRP_MATNR, VBRP-FKLMG and VBRP-NETWR in query.

I've tried to upload infoset and query separately, but still hitting the same error.

 

Any suggestion to fix this?

Thank you.

Issue with LOCL Output Device

$
0
0

Hi,

I developed two smart forms for PO and using a LOCL printer to print them. If I print it from my machine PO is printing fine and if I print it from other machine then alignment is not good. I am using same printer to print the PO's from both the computers. I need to use LOCL output device only, because there are lot of printers and all the printers can not be configured in SAP.

Please suggest if there can be done anything for ABAP developement poit of view.

Thanks.

 

 

Regards,

Ranganadh.

xml to application server

$
0
0

Hello

 

I create with a transfomation a xstring

and with the fm SCMS_XSTRING_TO_BINARY I create a table.

This table I can download by fm gui_download and I can open the file

with a xml-editor - it works.

 

But if I do the same, but download to the application server, there is an error,

I cant open the xml-file.

 

I'm looping throught the table what fm SCMS_XSTRING_TO_BINARY give me back

For each loop I call TRANSFER TO dataset

 

I can see, the last record is filled out with 0 (Hex 00)

I think this is the problem - by dowload with fm GUI_DOWNLOAD, I can set the file lenght,

but by download to the application server I can't

 

Thanks for any help

Daniel

parsing a packed decimal value

$
0
0

I am doing an extraction of BKPF and my ETL process is failing because the data which is being returned via RFC_READ_TABLE for KURS2 is '0.1234-'

When I go in to SE16 and look at that record, the displayed field value (based on localisation to F) is: '/0,1234'.

 

KURS2 has a datatype of P. Its values also should be always unsigned (since a negative currency conversion rate doesn't make any sense). Are signed values in P fields which come out of RFC_READ_TABLE have the - sign at the end (like a BCD?) or is it returning that because the RFC is misparsing the '/' in the actual field? And why would the UI allow someone to enter such a value? (I understand that it looks like whoever entered it wanted something to divide WRBT* by KURS2 to get DMBT2 or whatever, but that seems strange to me).

How to hide ABAP report source codes like program SAPMSYST

$
0
0

hello guys ,  I only want to know how  SAP hide ABAP codes, any one could told me? 

BRs.

Justin

Calculate size of attachments FI documents

$
0
0

Dear all,

 

I need to calculate the size of attachments FI documents. Can I calculatethe weight of theattachments in BD? Whattablestored? And the most important: is therea formula or mechanism tocalculate howthe basewill growin the futureaccording todocumentscontaining attach?

 

Were using standard functionality SAP-DB (not external like IXOS).

 

Thanks!


How to get the transaction called indirectly inside an ABAP program?

$
0
0

Hi All,

 

I need to find the list of transactions indirectly called when I invoke a transaction. I have tried to use the table TCDCOUPLES.  But it does not have any entries for the given tcode. Could anyone help me on where do I need to see the list of tcodes indirectly called ?

Http 500 web service issue

$
0
0

Hi ,


I have tested the below URL format  in the IE browser

 

http://host name<abc.efg.com>:port<1111>/sap/bc/srt/rfc/sap/z_ws (Generated for Web Service Administration  z_ws) /<client>/z_ws(Generated for Web Service Administration z_ws).

 

After entring the above URL format in to IE browser  I am getting below error.

 

The website cannot display the page
HTTP 500


Most likely causes:
•The website is under maintenance.
•The website has a programming error.


What you can try:

Refresh the page.

Go back to the previous page.

 

Do I need to test/ check any other settings ?

How to resolve the issue

 

 

Thanks,

Vimal Alexander

How to read data from field symbol containing Table

$
0
0

I defined a field symbols for reading output of a BRF plus rule however since fielk symbol is of type any

 

I cannot read its contents

 

Any inputs are highly appreciated

 

Please see attachment explaining problem

Express document error in ME29N.

$
0
0


Hi all,

 

When I release a PO and save , it is changed . when I come back it is showing "Express Document Error.. by author 'XXX' ". After going to transaction SM13 for checking the error, I found the below error.. Please reply asap...

 

image_Df.png

 

Thanks in advance.

ABAP Code Error

$
0
0

Hi,

 

I have following code in a query and I get an error (Incorrect logical expression: Operator (e.g. "AND") or end of    expression expected)when I try to save:

 

 

clear Z_BILL_AMOUNT2.

IF VBAK-AUART = 'ZASA'.

Z_BILL_AMOUNT2 = Z_QUOTE_VALUE_LEFT.

Z_BILL_AMOUNT = Z_VBAP_NETWR_SCHEDULE.

ELSEIF VBAK-VBTYP = 'G'

  and VBAP-ABGRU = 'Z1'

Z_BILL_AMOUNT2 = VBAP-NETPR.

ELSE.

Z_BILL_AMOUNT2 = Z_BILL_AMOUNT.

ENDIF.

 

 

 

 

============

 

Do you know what is missing or needs to be changed?

 

thanks

 

Joe

 

SPAU transport imported before patching!!

$
0
0

Hi Experts

 

We have a situation wherein the BASIS team has accidently imported the TR containing all the SPAU adjustment  into one of the systems, before actually doing the HRSP upgrade. Now the system is not allowing to continue with the upgrade and saying that one of the report is in inactive status.

 

We checked the report program and it says that one of the parameter is missing. This is just one of the object which is in the SPAU transport, which includes many a objects.

 

Can we anyhow revoke this TR import and its changes? Kindly advise on the resolution.

ABAP program is not working

$
0
0

I am using ABAP stage in Datastge job and new requirement is only add a new column where the column length is 25.

Previously the program was below

   IF d_len < 16000.

      d_pack+d_offset(77) = it_1.

      d_offset = d_offset + 77.

      d_len = d_offset + 77.

but now after adding new column

change the program as

   IF d_len < 16000.

      d_pack+d_offset(102) = it_1.

      d_offset = d_offset + 102.

      d_len = d_offset + 102.

it's not working if I use below code then it works but getting data small amount with some data is shift from one colum to another.

   IF d_len < 16000.

      d_pack+d_offset(102) = it_1.

      d_offset = d_offset + 102.

      d_len = d_offset + 102.

      d_pack+d_offset(77) = it_1.

      d_offset = d_offset + 77.

      d_len = d_offset + 77.

 

Ant idea how to solve the issue


open dataset in binary mode-data missing in pdf file

$
0
0

Hi,

 

I am downloading a pdf file to the appl server using the below code.

 

open dataset filename for output in binary mode.

 

OPEN DATASET file_name FOR OUTPUT IN BINARY MODE.
     LOOP AT lines INTO ls_lines.
       TRANSFER ls_lines TO file_name.
     ENDLOOP.
     CLOSE DATASET file_name.
     MESSAGE 'File has been Transfered' TYPE 'S'.

pdf file is downloading to the appl server.

 

I am reading the file using CG3Y transaction, an found that some tax values are missing.

 

please advice on how to fix this issue ASAP.

not able to leave module pool screen

$
0
0

Hi Experts ,

                  i created a zscreen in function module  using statement 'CALL SCREN ' statment .

                  but i am unable to come back to function module  when i press 'OK' button    even though i used

                  'Leave to screen 0'  in PAI of screen.

 

 

                code in function module is

 

EXPORT P_MAIL TO MEMORY ID 'ZMAIL' .

 

call SCREEN 101  STARTING AT 40 4.

 

IMPORT V_MAIL FROM MEMORY ID 'VMAIL'.


   and code in PAI of SCREEN is .



MODULE USER_COMMAND_0101 INPUT.

 

if OK_code = 'MAIL' .


  EXPORT v_mail to MEMORY id 'VMAIL'.

 

  leave to SCREEN 0.


  ELSEIF OK_CODE = 'CANCEL'.


  LEAVE TO CURRENT TRANSACTION.

 

  ENDIF.

 

END MODULE.



any solutions .




how to print Signature in smartform in a dynamic place ?

$
0
0

Hi experts,

                i have a requirement to print signature in a smartform (purchase order print) ,the signature has to printed in dynamic place.

  

                i have  to Print signature in in authorized signatory place, we cannot place static window with scanned signature in page ,

                as we cannot predict where the page will end.

 

                how can this be attained, i have attached a print preview , where signature has to be attached  ?

 

               please Help.

Sending mail while forward the work item in SBWP

$
0
0

Hi Experts,

 

Have to send the mail to the external mail id when the forward happens in SBWP .

 

I tried to find the BADI and exits but i couldn't find any badi or exit for this.

 

Is it possible to achieve this in any other way.

 

Please give me a suggestion on this.

 

Thanks in advance.

 

 

Regards,

Myil

IS-U: Separate dunning processes for contracts after move out?

$
0
0

Hi all,

 

we are working with IS-U (water, wastewater etc.). After a move-out has been created, the dunning process changes for the whole contract account (VK), as defined in the Customizing area.

 

The problem is - if only one contract out of 2 or 3 has to be ended, the dunning process changes for all of them and not only for the one that really has ended. This leads to wrong letters to the customers and a high amount of complaints.

 

I found out that there is a new table entry VKKVKP-UMZMAHNV, but as far as I could find out, this changes the dunning process only for a whole VK, too.

 

Does anyone of you have had similar problems and could give me a hint?

 

Best Regards,

 

Stefanie

Viewing all 8332 articles
Browse latest View live


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