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

adding watch point

$
0
0

I encounter a error when I try to add watch point during VF01 debug, the watch point i am going to add is RK2R1000/variable GT_ITEM[].

 

it says:

Variable GT_ITEM[] in program RK2R1000 does not exist, or is not yet loaded

Message no. TPDA149

 

what should I do?


Add (BOM sign) EF BB BF to idoc file UTF-8 UNICODE

$
0
0

we are making idocs. these idocs are ported to an file port and our provider processes tjhem and send them to our customers.
This is going ok if there are no special characters in the IDOC

 

However if there are special chararters ( like ö )in the IDOC we check the unicode flag in we20/21 before sending.the idoc

 

Now the provider reports us that idoc file is not correct cause the special characters uses more bytes which is shifting the  chars behind that special characters and they get errors.

 

The provider gave us also the solution: we should add EF BB BF  as first 3 chars to the IDOC-files

 

We have an UNICODE system.

 

My questions:  why is not autmatically added these chars (EBBBBF) when unicode is checked.

 

Is there a possiblitie to take care these characters are added. bij customizing or user exits badies or whatever.

 

Thanx in advance

Recipe - XML Change Detection

how to re-Genereted deleted spool request(check number)

$
0
0

Dear Experts :

 

in our company we have face a problem that the spool deleted due to some reasons without printing the check ( UN-intentionally)

At this time we want to regenerate the spool and print the same check.

note: most of the requests are created by the T-codes

  •                    F-58
  •                     FBZ5

and few of them are created using the T-code

 

  • F110

 

so please how can we re-generate it??

 

appreciating your fast response for my urgent Question!!!!

 

best regards,

Error in ALV header "this program cannot display the webpage".

$
0
0

Hi Experts,

 

In ALV report I am facing error in top-of-page - "This program cannot display the webpage".

ALV report is being developed in ECC 4.6 version. The real dilemma is when my client is running the report he is facing this error, but when I am running the same report everything seems to be all right. Is'nt this happening due to different GUI that we are using???

Really have no idea about this. Any help will be great.

Delta for new field in 0MAT_PLANT_ATTR

$
0
0

hai

 

I ave added new field YYEISBE (safety stock) for the data source 0MAT_PLANT_ATTR.

I have done enhancement to popupate data to this field. Now can anyone tell me

How to do delta for 0mAT_PLANT_Attr.

 

Thanks

Jayaanand

Error after executing WS from FM

$
0
0

Hello all!!

 

I'm having some problems executing a FM after exposing it as a webservice. I have a Function Group where i have some useful FM's and never had a problem exposing them until yesterday. When I go to WS Navigator and try to execute it, the following error msg appears:

 

HTTP/1.1 500 Internal Server Error
content-type: text/xml; charset=utf-8 
content-length: 453<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode> soap:Servidor </faultcode><faultstring xml:lang="en"> RABAX ocurrido en el lado del servidor </faultstring><detail><sap:Rabax xmlns:sap="20130710093122SYNTAX_ERRORhttp://www.sap.com/webas/710/soap/runtime/abap/fault/generic"><SYDATUM>20130710</SYDATUM><SYUZEIT>093122</SYUZEIT><ERRORCODE>SYNTAX_ERROR</ERRORCODE></sap:Rabax></detail></soap:Fault></soap:Body></soap:Envelope>

 

As I said, this never happened before. Even whe i try to execute the FM ZWAPI_WF_END (the one where i cerated the WS) it in SE37, this error appears:

 

error.jpg

Sorry about attaching the error as an image, but i had some problems with my laptop and the time is precious right now.

 

Regards IA

problem with polish & Czech Characters when downloading in SAP 4.6C

$
0
0

Hi,

 

I am  trying to download the data which Contains Polish characters using GUI_download in SAP 4.6c, But ends up  with the some unknown  Symbols & characters. i dont have code page option in SAP 4.6cC for FM Gui_donload, So i have tried with FM Download with Code page option,but i didn't succeed in getting the required output.

 

I have tried with Codepages (0161,1401,1404.4110) with FM DOWNLOAD in SAP 4.6C, but No luck.

 

Could you please throw some light on this Issue.

 

 

Many Thanks,

 

 

 

 

Regards,

Kiran


How to predict the database commit of billing document in billing user Exit

$
0
0

Hi All,

 

 

   We are porting Accounting document in parallel while creating a billing document in User Exit.

 

   In Production Due to some specific reasons the billing document is not saved but while saving the billing document the user exit is triggered and its posting the document. As a result the billing document is not created but accounting document is created without reference of billing.

 

 

Please provide me a solution ASAP bcz the problem is in Production.

 

 

 

 

 

Thanks.

 

Message was edited by: Kesavadas Thekkillath

Unwanted Character in excel download

$
0
0

Hi Experts,

 

I am facing one issue. I am using FM EXCEL_OLE_STANDARD_DAT to download excel.

 

   call function 'EXCEL_OLE_STANDARD_DAT'
    exporting
      file_name                 = lv_filepath          "file path
    tables
      data_tab                  = gi_sheet_row
      fieldnames                = gi_header.

In this gi_sheet_row contains proper data but when i export this to excel few fields for example field A which has value 0.056MM (32M") shows in excel 0.056#M (32#"). Now i am confused why so. is this due to FM. I am not sure. Please help.

 

Regards,

Ashish

Field referring to MSEG-GRUND

$
0
0

Hello experts,

I have a screen with a field which is referred to a field in the dictionary . When we press help for that field, we get all the values present in that table. However I want to have only those values for MSEG-GRUND where MSEG-BWART  IS 712.

Is it possible.

Regards,
Shubhendu

How to retrieve layout variant selected in the report selection screen so that same can be send as an attachment in mail

$
0
0

I have a requirement where the user will be selecting a variant for a report before executing. This report has output as ALV and mail.

Right now ALV is considering the varaint selected and is preparing the layout based on the variant (I am using 'REUSE_ALV_GRID_DISPLAY' for ALV display). The same needs to be done for mail also.

 

So I want to capture this variant layout so that I can prepare an internal table which i will send as an excel attachment in the mail.

F4 Help is not available in infoset query.

$
0
0

Hi Experts,

I have created one Infoset and query using logical database IOC. This is for Production order information system.

 

In my selection screen of query i am getting system status field(by default from SAP) but no standard F4 help is available automatically.

 

How can i resolve this issue?

Please help.

 

below are the screen shots.

 

 

Smartforms :: Assigning different forms to different Trays of Printer through Program

$
0
0

Good Day,

 

We have four types of permits designed in Smartforms and my user need to get different prints from different trays of a printer as they maintain different color papers for different permits on each tray.

 

I am calling four different Smartforms (Permits) based on the Usage of Application in WCTL. So, can we set the Tray (to which print has to be given) through the program based on permit type while calling the Smartform?

 

If YES, please let me know the procedure <text removed by moderator>.

 

 

Thanks in Adv.

-Vijay

 

Message was edited by: Matthew Billingham - removed request for code

 

Message was edited by: Matthew Billingham

SAP CRM Technical

$
0
0

Hi,

 

I am an ABAPer and want to learn CRM Technical, but I couldn't find any document or site related to ABAP CRM. Can anyone please forward me some good materials or suggest some good sites where I can download ABAP CRM materials.

 

Thanks in advance


What is Unicode

ALV GRID

$
0
0

Dear colleagues,

have some questions regarding the ALV Grid functionality.

 

Situation:

I am  using an ALV-Grid for reporting. It is an multi-level process means, using 2  Dynpro with different data base structures.

First dynpro contains information that should by downloaded to excelsheet including header information from selection-screen on top of grid,

second dynpro contains detailed information and if a row is marked transaction FB03 is called.

 

1. Include Header informations in ALV container.

   Starting export ALV-Grid informations to excel  and selection-screen parameters should be imported on top of page  in excel sheet.

   Actual I'm working with method 'SET_TABLE_FOR_FIRST_DISPALY'  and everything fits fine, only the header information is missing and should be

   included in excel.

 

   In SAP documentations und help portals I read, if  using fuba 'REUSE_ALV_GRID_DISPLAY' the header information is exported to excel but you

   have  to use  fullscreen mode . Question: somebody know something about a method solving my prolem or any other idea to manage.

 

 

2. Set variants in multi-level  ALV-grid

    user saves a Grid variant on  second level ALV and if he's starting report by using saved ALV variant, informations on first level ALV contains less 

    rows  than expected. If variant on first level it's the same secondary effect.

    Any idea to solve problem?

   

 

3. After 'CAll TRANSACTION' problems when F3 Button(Back) some returning problems

   Starting from 2 Dynpro, marking a row and calling transaction to FB03 everything  fine but  pressing F3-Button(BACK return-routine) sometimes 

   have  to press more than once until returning to calling ALV.

 

 

Thanks you for your ideas and support

Michael

dynamically chaange color of a push button

$
0
0

hi friends.

 

I want to change background color of a push button in screen. I did not get a proper code for it.

can u help me?

 

Advanced Thanks,

Finitha

Clear Clipboard

$
0
0

Hi,

 

hope you can help me.

 

I have to copy an internal table into Excel. To do that:

1. I copy the table in the clipboard (CALL METHOD cl_gui_frontend_services=>clipboard_export)

2. I paste it in excel ( CALL METHOD OF w_excel 'Paste' .)

 

till now, everything work fine.

 

I need now to clear the clipboard (because, i repeat step 1 & 2 a few times).

 

someone propose to clipoard_export an empty table. It does'nt work.

Another "solution" was SET PROPERTY OF 'CutCopyMode' = 0. But again no success.

 

If you can help me to find a way to clear the clipboard between each export/paste, it would be great.

 

thank you,

Hector

Can textfield be added to the toolbar of ALV grid

$
0
0

Dear All,

 

I have received a requirement from my customer that they want to add a textfield to the toolbar of ALV grid.

 

Can the requirement be implemented?

 

Please tell me if any one know how to do.

 

Thanks in advance,

 

Kevin

Viewing all 8332 articles
Browse latest View live


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