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

problem in creating Table Cluster

$
0
0

while creating table cluster, add one field matnr as key element after save and check it gives error 'The key is longer than the maximum allowed length 000120' and '  You cannot change function fields (PAGENO: Type INT2 with length of 5, key field)'

please check screenshot

 

Cluster1.png

 

cluster2.png


Delete a append structure from Standard Structure - how?

$
0
0

Dear Experts ,

 

     i want delete the Append structure from Standard Append structure . How can i do ??

 

Remove_Append.JPG

 

 

 

If i want to add Description for highlighted Append structure in standard Structure.
in this case how can i do ??

 

Kindly guide me ....!!


Thanks & regards

Chinna..!!

/SAPMP/BAPI_ROUTING_PROCESS

$
0
0

Hello.

 

When I try to execute this FM I get the following error message in a dump:

 

The following syntax error was found in the program /SAPMP/SAPLCPCC_BUS1012 :

"The data object "LS_OPR_IF" does not have a component called "/SAPMP/M"

 

Has anyone faced such a problem and found a solution?

I've searched for notes, but found nothing.

ABAP save file

$
0
0

Hello,

 

i tried to save some .mht-file in the directory "C:\" + (filename test.mht) programmatically. the problem i have is that i have no access in windows for saving files in this workspace.

 

Is there a way to save my .mht-file on the application-server programmatically, so that all users can save the important file that is needed for the implemented webdynpro. I need this file to be stored, so i can load it in this Webdynpro.

 

So what i need is to save this file in some directory where every user got access to.

What i think is that i can save the file in the application server, because every user should have access for that, but how can i do that?

 

 

Regards,

Pascal

Cannot read Partner or Coordinator in IW31+ABAP

$
0
0

Hi Good day,

 

I have designed a ADOBE PDF form and done the Config and it Prints.

 

In the PDF i want to display the data called  : COORDINATOR or PARTNER. The Highlighted Field.

 

Coordinator iw31.jpg

 

I have checked all the Enhancements but this field is nowhere to be found.

 

does anyone know as to how to read this field?

 

Note : I want to read it in TCODE : IW31 on SAVE.

 

Your input is highly appriciated.

 

Thank you,

J.

Create attachment in MIR4

$
0
0

Hi,

 

I am not able to create attachment in MIR4 (In other transactions also). Though services for object button is there in MIR4 but when I click on it, nothing happens.

 

 

I get below pop up

 

 

 

Can anyone help me on this?

Adding fields in ALV Display for IW38 /39 T-code

$
0
0

Hi,

 

 

We have a requirement that i need to add 3 fields in final ALV Display for IW38 and IW39 T code.

for that i have added those 3 fields in standard structure RIHAUFK_LIST using Append statement.

 

 

Now my quarries are :

 

 

1 .Now when i check internal table 'object_tab' from program 'RIAUFK20', i am able to see all 3 fields in internal table in debugging mode

but those fields are not getting displayed in final ALV display.

2. how to get data for those 3 fields based on my Order No.

 

 

 

 

Please Revert me as soon as possible.

 

 

 

 

Regards,

Ankamma.

problem with the sap script barcode printing

$
0
0

Hi,

 

i have problem with the sap script form which prints the Bar code,

The Bar code and the data in the form is printing ok in the printer,

and the problem is persisting in another problem, can you please help rather than printer issue, is there any other point which we are missing here.

 

Thank you.


Type inferrence with 7.40 inline data declaration buggy?

$
0
0

Hi all,

 

We are developing on a SAP basis 7.40 SP 8 and experience some trouble with inline data declarations:

* we defined a data element with tpye P(9) DEC 2

* when using two variables with that data element as type the derived type is not a P(9) DEC 2, but only a P(8)

* in the debugger the tooltips show the types:

2016-05-13 13_23_00-Arpad Marton.png

 

Here both iv_base_amount and iv_offset_amount are of type P(9) DEC 2, but the derived type is P(8)

 

2016-05-13 13_22_55-Arpad Marton.png

 

I would consider this as a bug, right?

 

Does anyone know whether a note is already available?

 

Thanks in advance and kind regards,

Valentin

Header field is not visible fully in container class field catalog output @ ABAP Report

$
0
0

Hi Friends

 

We are displaying report output using container class in abap.When we execute the report, field header is not visible completely, some fields shows dots at the end, Then if I expand its showing full text.

 

I checked the below points

 

1.Field length is not a problem.

2.I tried field catalog setting also.

 

Not sure why its not displaying dots at end of few fields, then if I expand its showing complete header info.Please advise.

 

Thanks

Gowrishankar

Modifications on SAP Standard script data not displayed

$
0
0

Hi,

   I am facing problem on  SAP STANDARD SCRIPT .My requirement is  We can do some changes in in Purchase Order form   " MEDRUCK  "

   In standard the currency is not printing in terms of word so my requirement is i have to show the currency in words.

i am fallowing these steps:

1.Copying the MEDRUCK   to     zpo_MEDRUCK

2. After changing some changes in  ZPO_MEDRUCK

3. Through  NACE transaction i assigned to  Required program

 

These are changes in my form

 

 

In SE38 i am writing this code

DATA:LV_WAERS TYPE WAERS,
      LS_WORDS TYPE SPELL.
FORM F_AMOUNT_WORDS TABLES INPUT STRUCTURE ITCSY
                           OUTPUT STRUCTURE ITCSY  .

   DATA:LV_WAERS TYPE WAERS.

   READ TABLE INPUT WITH KEY NAME = 'EKKO-WAERS'.
   IF SY-SUBRC = 0.
     LV_WAERS = INPUT-VALUE.
   ENDIF.

   READ TABLE INPUT WITH KEY NAME = 'KOMK-FKWRT'.
   IF SY-SUBRC = 0.
     CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
         AMOUNT    = INPUT-VALUE
         CURRENCY  = LV_WAERS
*       FILLER    = ' '
*       LANGUAGE  = SY-LANGU
       IMPORTING
         IN_WORDS  = LS_WORDS
       EXCEPTIONS
         NOT_FOUND = 1
         TOO_LARGE = 2
         OTHERS    = 3.
     READ TABLE OUTPUT WITH KEY NAME = 'LV_WORDS'.
     IF SY-SUBRC = 0.
       OUTPUT-VALUE = LS_WORDS-WORD.
       MODIFY OUTPUT INDEX SY-TABIX.
     ENDIF.
   ENDIF.
*
ENDFORM.



--->after assigning the modified form to Standard program my logic is not trigger only Converting currency to word format ..remaining changes will be updated


Heading of custom field in table MARC not shown in SE16N

$
0
0

Hi SAP ABAP Experts,

 

Hope everyone can advise me some hints or recommend what steps I should perform in this below situation.

 

I have created a custom field ZZMATSOURCE in table MARC and assigned it in Purchasing view.  When I use SE16N to display table MARC, I can see the value but the heading is not shown properly.


Capture1.PNG


Capture2.PNG


Capture3.PNG


Capture4.PNG


Thanks and regards,


Danny

Unable to maintain a custom field in MASS

$
0
0

Hi SAP ABAP Experts,

 

I created a custom field ZZMATSOURCE in table MARC and added it to Bus Object BUS1001 in table MASSFLDLST.  However, when I run MASS, I still do not see it in the Fields list.  I would be grateful if everyone could show me some hints to sort it out ?


Capture1.PNG

 

Capture5.PNG

 

Capture7.PNG

 

Thanks and regards,

 

Danny

ME31K -BDC prefixing additional double quotes to short text

$
0
0

Hi Gurus,

Please help me out form the issue of ME31K -BDC prefixing additional double quotes

My task is to Create a Agreement using a already existing program, which is a BDC program.

This program works fine  and creates the Agreement.However for few contracts when it is creating short text

it induces " in the beginning of short text at item level.

 

Like If the short text (TXZ01) =  Begin of shortext

when i run the BDC in foreground i see the field of short text at item level gets the text "Begin of shortext  

 

I checked code of all BADI and user-exits  for me31k  ,I see no where this " getting prefixed.

 

 

What i see is not so common  in the given data is  the text in other line items are starting with *

 

ex: *Begin of shortext line20

 

Please support.

Thanks & Regards,

Lakshmi

Capture.PNG

Simple Transformation (Deserialization) - how to handle attributes with namespaces

$
0
0

Hi all,

 

I am currently working on a simple transformation to deserialize an XML file.

The file is pretty straightforward but the root element is giving me problems because it has attributes with namespaces.

The lines below is similar to what I'm getting in the XML file.

 

<RootElement xmlns="http://www.website.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.website.com RootElement.xsd">

 

I tried copying the whole string in my simple transformation but it ends up skipping everything and if I remove any of the attributes, I end up with 'System expected {http://www.website.com}schemaLocation' error.

 

I tried searching online for any direction but I haven't found anything so far. It would really appreciate any direction to resolve this issue.


Thanks a lot,

Jeff


Transport Request

$
0
0

I have requirement that  on the basis of TR Number An ALV Report will Call  before import that TR Number . My requirment that user will enter  TR Number in Seelction Screen an alv report will cal in which all deatails will show  regarding that TR number but my problem is that this is require before  TR  import in STMS ,Because without import TR in STMS  no values enter in table E070 and E070T.  an i am fetching data  from these tables . but it not possilble without import that TR  , if any solution of this please suggest .

Dump belongs to enhancements or exits or badi? how can i solve?

$
0
0

Hello guys,

 

I have an issue with tcode mm01.

The moment i hit enter its giving dump, im sure i have undone all projects in cmod under mm01.

Please find the following pic of dump. how can i decide whether its impl-enhancements or exits or badi????

 

 

new.JPG

 

 

thanks in adv.

Praneeth Chintapalli.

Re :T-code MM01 going to dump

$
0
0

Dear Experts,
    

     I am trying to open MM01 T-code but it is going to dump. Why it is going to dump.
Please find the attached file and do need full help. Please let me know why it is going to dump ?...

 

 

 

Error_Dump  Like....

 

Category               Internal Kernel Error

Runtime Errors         DDIC_TYPE_REF_ACCESS_ERROR

Application Component  BC-ABA-LA

Date and Time          13.05.2016 09:45:34

 

 

Short text

     Internal error in DDIC structure description

 

What happened?

     Error in the SAP kernel.

 

 

     The current ABAP "SAPLMG02" program had to be terminated because the

     ABAP processor detected an internal system error.

 

 

Error analysis

     There is an error in the structure description of the Dictionary type

     "YMARA". The type references the type "WPMARA".

     Error type: "referred type not found"

 

 

Trigger Location of Runtime Error

     Program                                 SAPLMG02

     Include                                 LMG02U23

     Row                                     231

 

 

 

 

Thanks & Regards
Chinna...!

Pricing requirement in MM

$
0
0

Hi Gurus,

     My requirement is to check packing material type for particular line item. And i want pick the packing material weight , and check main material weight from material master data. Based on this one need to calculate Gross weight and net weight. The tcode is VOFM. Pls any body help me. Thanks in advance

 

Regards,

Satish

ABAP 7.40: shift val left deleting leading space => shift_left( val = val ) ???

$
0
0

Hi, everybody.

 

I want to translate the statement

 

DATA:

   value type char10 value '    X',

   target type char01.

 

SHIFT value left deleting leading space

target = value(1).

 

into ABAP 7.40

 

target = shift_left( val = value....).

 

But how do I write "deleting leading space" in shift_left? sub = space does not work (due to documentation of shift_left and tests)....

Viewing all 8332 articles
Browse latest View live


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