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

DYNPRO_SEND_IN_BACKGROUND SAPLSPO1 or LSPO1U06 POPUP_TO_CONFIRM

$
0
0

Hi Team,

Request you to kindly look into the below issue

 

|Short text                                                                                    |
|Screen output without connection to user.                                                 |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|What happened?                                                                                |
|Error in the ABAP Application Program                                                     |
|                                                                                              |
|The current ABAP program "SAPLSPO1" had to be terminated because it has                   |
|come across a statement that unfortunately cannot be executed.                            |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|What can you do?                                                                              |
|Note down which actions and inputs caused the error.                                      |
|                                                                                              |
|                                                                                              |
|To process the problem further, contact you SAP system                                    |
|administrator.                                                                            |
|                                                                                              |
|Using Transaction ST22 for ABAP Dump Analysis, you can look                               |
|at and manage termination messages, and you can also                                      |
|keep them for a long time.                                                                |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                |
|During background processing, the system attempted to send a screen to a                  |
| user.                                                                                    |
|                                                                                              |
|Current screen: "SAPLSPO1 " 0500.                                                         |
|                                                                                              |
|Additional system information:                                                            |
|"currently running as cpic server"                                                        |
|                                                                                              |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                      |
|If the error occurred in your own ABAP program or in an SAP                               |
|program you modified, try to remove the error.                                            |
|                                                                                              |
|                                                                                              |
|If the error occures in a non-modified SAP program, you may be able to                    |
|find an interim solution in an SAP Note.                                                  |
|If you have access to SAP Notes, carry out a search with the following                    |
|keywords:                                                                                 |
|                                                                                              |
|"DYNPRO_SEND_IN_BACKGROUND" " "                                                           |
|"SAPLSPO1" or "LSPO1U06"                                                                  |
|"POPUP_TO_CONFIRM"                                                                        |
|                                                                                              |
|If you cannot solve the problem yourself and want to send an error                        |
|notification to SAP, include the following information:                                   |
|                                                                                              |
|1. The description of the current problem (short dump)                                    |
|                                                                                              |
|   To save the description, choose "System->List->Save->Local File                        |
|(Unconverted)".                                                                           |
|                                                                                              |
|2. Corresponding system log                                                               |
|                                                                                              |
|   Display the system log by calling transaction SM21.                                    |
|   Restrict the time interval to 10 minutes before and five minutes                       |
|after the short dump. Then choose "System->List->Save->Local File                         |
|(Unconverted)".                                                                           |
|                                                                                              |
|3. If the problem occurs in a problem of your own or a modified SAP                       |
|program: The source code of the program                                                   |
|   In the editor, choose "Utilities->More                                                 |
|Utilities->Upload/Download->Download".                                                    |
|                                                                                              |
|4. Details about the conditions under which the error occurred or which                   |
|actions and input led to the error.                                                       |
|                                                                                              |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|System environment                                                                            |
|SAP Release..... 731                                                                      |
|SAP Basis Level. 0005                                                                     |
|                                                                                              |
|Application server... "lecc-prd-10"                                                       |
|Network address...... "172.18.218.141"                                                    |
|Operating system..... "Linux"                                                             |
|Release.............. "2.6.32-220.2.1.el6.x"                                              |
|Hardware type........ "x86_64"                                                            |
|Character length.... 16 Bits                                                              |
|Pointer length....... 64 Bits                                                             |
|Work process number.. 8                                                                   |
|Shortdump setting.... "full"                                                              |
|                                                                                              |
|Database server... "lsdb-prd-2"                                                           |
|Database type..... "ORACLE"                                                               |
|Database name..... "EP1"                                                                  |
|Database user ID.. "SAPSR3"                                                               |
|                                                                                              |
|Terminal.......... " "                                                                    |
|                                                                                              |
|Char.set.... "C"                                                                          |
|                                                                                              |
|SAP kernel....... 720                                                                     |
|created (date)... "Jan 15 2013 18:18:58"                                                  |
|create on........ "Linux GNU SLES-11 x86_64 cc4.3.4 use-pr121116"                         |
|Database version. "OCI_112, 11.2.0.3.0, V1, default"                                      |
|                                                                                              |
|Patch level. 401                                                                          |
|Patch text.. " "                                                                          |
|                                                                                              |
|Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"           |
|SAP database version. 720                                                                 |
|Operating system..... "Linux 2.6, Linux 3"                                                |
|                                                                                              |
|Memory consumption                                                                        |
|Roll.... 0                                                                                |
|EM...... 12569424                                                                         |
|Heap.... 0                                                                                |
|Page.... 16384                                                                            |
|MM Used. 10030984                                                                         |
|MM Free. 2535400                                                                          |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|User and Transaction                                                                          |
|Client.............. 100                                                                  |
|User................ "EWMONECC"                                                           |
|Language key........ "E"                                                                  |
|Transaction......... " "                                                                  |
|Transaction ID...... "530F7949A5601689E1000000AC12DA41"                                   |
|                                                                                              |
|EPP Whole Context ID.... "005056B976AF1ED3A8902D8CE1BD4303"                               |
|EPP Connection ID....... "53109D4E863D7FBCE1000000AC12DA42"                               |
|EPP Caller Counter...... 1                                                                |
|                                                                                              |
|Program............. "SAPLSPO1"                                                           |
|Screen.............. "SAPMSSY1 3004"                                                      |
|Screen Line......... 2                                                                    |
|Debugger Active..... "none"                                                               |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|Server-Side Connection Information                                                            |
|Information on caller of Remote Function Call (RFC):                                      |
|System.............. "EP1"                                                                |
|Installation Number. 0020694200                                                           |
|Database Release.... 731                                                                  |
|Kernel Release...... 720                                                                  |
|Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)                        |
|Call Type........... "synchronous and transactional type Q (emode 0, imode 0)"            |
|Inbound TID.........."AC12DA8A728B531098C05738"                                           |
|Inbound Queue Name..."DLWSWP1CLNT1008000001383"                                           |
|Outbound TID........." "                                                                  |
|Outbound Queue Name.." "                                                                  |
|                                                                                              |
|Client.............. 100                                                                  |
|User................ "EWMONECC"                                                           |
|Transaction......... " "                                                                  |
|Call Program........."SAPLIRFC"                                                           |
|Function Module..... "TRFC_QIN_DEST_SHIP"                                                 |
|Call Destination.... "lecc-prd-10_EP1_00"                                                 |
|Source Server....... "lecc-prd-10_EP1_00"                                                 |
|Source IP Address... "172.18.218.141"                                                     |
|                                                                                              |
|Additional information on RFC logon:                                                      |
|Trusted Relationship " "                                                                  |
|Logon Return Code... 0                                                                    |
|Trusted Return Code. 0                                                                    |
|                                                                                              |
|Note:                                                                                     |
|- For Releases < 4.0, information on the RFC caller not available.                        |
|- The installation number is available from caller Release > 700                          |
|                                                                                              |
|Additional information on RFC logon:                                                      |
|Trusted Relationship " "                                                                  |
|Logon Return Code... 0                                                                    |
|Trusted Return Code. 0                                                                    |
|                                                                                              |
|Note: For releases < 4.0, information on the RFC caller are often                         |
|only partially available.                                                                 |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|Information on where terminated                                                               |
|Termination occurred in the ABAP program "SAPLSPO1" - in "POPUP_TO_CONFIRM".              |
|The main program was "SAPMSSY1 ".                                                         |
|                                                                                              |
|In the source code you have the termination point in line 248                             |
|of the (Include) program "LSPO1U06".                                                      |

----------------------------------------------------------------------------------------------------

 

----------------------------------------------------------------------------------------------------

|Source Code Extract                                                                           |

----------------------------------------------------------------------------------------------------

|Line |SourceCde                                                                               |

----------------------------------------------------------------------------------------------------

|  218|PERFORM append_icon_to_button                                                       |
|  219|        USINGicon_button_4                                                      |
|  220|                 l_quickinfo_button_4              "*048i                       |
|  221|        CHANGING button_4.                                                          |
|  222|  ENDIF.                                               "974439  <<                  |
|  223|                                                                                        |
|  224|                                                                                        |
|  225|* Aufbereitung des Fragetextes und Berechnung der Dynprogröße                           |
|  226|  PERFORM format_text TABLES text_tab1                                                  |
|  227|                  USING fragetext.                                                  |
|  228|                                                                                        |
|  229|  PERFORM calculate_screen_size                                                         |
|  230|          USING                                                                     |
|  231|             textlength                                                             |
|  232|             start_spalte                                                           |
|  233|             start_zeile                                                            |
|  234|          CHANGING                                                                  |
|  235|             tab_len1                                                               |
|  236|             tab_len2                                                               |
|  237|             end_spalte                                                             |
|  238|             end_zeile                                                              |
|  239|             dynpro_nummer.                                                         |
|  240|                                                                                        |
|  241|                                                                                        |
|  242|* Aufruf der Dialog-Dynpros                                                             |
|  243|                                                                                        |
|  244|  CALL SCREEN dynpro_nummer STARTING AT start_spalte start_zeile                        |
|  245|                        ENDING   AT end_spalte   end_zeile.                         |
|  246|                                                                                        |
|  247|                                                                                        |
|>>>>>|  answer = antwort.                                                                     |
|  249|ENDFUNCTION.                                                                            |

----------------------------------------------------------------------------------------------------


Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

$
0
0

Hi,

 

I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?

 

Thanks a lot!!

SAP_CONVERT_TO_XLS(X)_FORMAT

$
0
0

Hi

I've searched the forum, but no conclusive answer was given. I used TEXT_CONVERT_XLS_TO_SAP in conjunction with SAP_CONVERT_TO_XLS_FORMAT a number times with success, but regrettably upgraded to MS Office 2013. The first function to upload xlsx still works, but when I overwrite the file with the second function (after adding a message column for success or errors), then the file cannot be opened by MS Office 2013? Did someone have the same issue and have a solution? Please assist if you can.

Thank you and best regards,

Adrian Bruwer

Sy-subrc fails due to logic, need to change the logic

$
0
0

Hi All,     In my ALV report clint need some changes, actualy preiously it fetching the data from lfb1 and lf1 thryu select query, and lifnr of lfb1 compare with third table ekko lifnr, so those data match with ekko those data only showing in output. But now client want those data also which not match with ekko table for that bukrs. Means he needs almost all data which belong to perticular bukrs, so while debugging my sy-subrc fails when it reach to ekko table coz system did not get data with maitching records. So please help me out with logic so that all the lfb1 lifnr will show in the output either data is match with ekko or not, actualy he did not bother regarrding other fields in out put , he want if there is no data in other fields of out still it has to show lifnr and name1 for that bukrs, so all the data related with that bukrs need to show. Here i am attaching my code also so it will easy to understand process. Thanks and Regards Sankil Pandya

Table data getting locked for multiple user for a Z-table updation after EH4 to EHP6 Upgrade

$
0
0

Hi,

 

We have one new upgraded system at EHP6, earlier system was at EH4 where multiple user can Run one Z  T-code and can edit the entries for the Z-table.

This Z-Tcode is calling SM30 internally for updating the Z-Table.

Now in the upgraded system, when one user is into the transation code, and other user runs that T-code, systems throws a POP-UP mesg saying that the data is locked and can be displayed only(can not be edited).

I have debugged the code in both the environment and found that there is one statement Call C_ENQUEUE ID < > field. for which the Sy_Subrc is coming as 2 in the upgraded system which is causing the issue, where as the sy-subrc is 0 in the system at EH4 level.

Can any body tell me why this Z-tcode is not allowing to be accessed by multiple user at same time for Editing(updating the table) .

 

Regards,

Archana Jha


PO texts

$
0
0

Hi,

How can i set texts for warranty, delivery terms, instructions , special instructions etc in PO. After settings has been done it should come automatically while creating purchase order.

How to default OI Routing Instructions Text in me21n , even before saving the PO

$
0
0

Hi ,

 

When creating a PO through me21n , in the texts tab ..

 

OI Routing instructions  needs to have a default text even before the PO is
saved. Is this thing possible . I found one exit

 

 

EXIT_SAPMM06E_022

 

where I tried changing , but where can I pass the text in thead structure ?

 

Thanks

Barun

Accenture

Display error message in batch job log

$
0
0

Hello

 

I have a batch job running and I have an error coming during some validation logic.

The problem is I need to continue the batch job when this error message comes and it should not cancel the batch job as it is doing currently but display that error message in batch job log, there are more similar error messages coming in job log and job gets finished, but when my error message comes job gets cancelled.


I cannot give it as info message as it will give wrong idea about message type.


Is there any FM by which we can add message in job log?


Time Dependent error while asset creation in SAP FI-AA

$
0
0

Hi Everyone,

 

we have developed one custom program for asset creation but when trying to do so we are getting standard error popup stating " No time-dependent data exists for interval from 01.01.2014 to 31.12.9999 ". The asset has been created in 2011. we checked the time dependent flag in table ANLA which is blank. Can anyone please help to identify what could be the issue ?

 

Regards,

Raunak

[PERSISTENCE CLASS] SELECT OPTION in WHERE statement

$
0
0

Hi Gurus,

 

I would like to know how could I code the WHERE statement with a SELECT OPTION, in Persistence Class ?

 

Currenlty, I would like to code this kind of request :

 

          DELETE FROM      ziTab

                         WHERE   zdate IN so_date.      

 

Do you know, how could I code it ?

 

Many thx for helps.

 

Best regards.

Rachid.

Template size error in smart forms

$
0
0

Hi experts,

 

                  i have created a smartform with template for a window, and maintained  small in size(heigh and width) for template compared to window size....the smartform is working fine in the Development server...

                once it is transported to Quality it is throwing an error stating %template does not fit in window...even though is working fine in Development server...why this is happening...

          

             please tell ur valuable sujjestions to solve this issue

 

 

 

Regards,

Lokesh Rangappa

merging two tables and adding data to them

$
0
0

hello there

 

i have posted this question a few days ago but when i tried to paste my code a problem with policy and roles occur

anyway,

i have a screen with fields from 2 tables and when i press save, the fields saved correctly in the frst table but it saves the same values in the other one which is wrong

 

could anyone please help me on how to paste my code to figure out whats the problem is?

Cannot find "On/Off" table for infocube nav attributes

$
0
0

Experts,

 

I cannot find the on/off table for infocube nav attributes.  We have to include what is "On" in our documentation spreadsheets, and I'm tired of clicking through all this manually, updating the spreadsheet manually, etc.  PLEASE SEE ATTACHED.  One would think it would be found in "RSDICHAPRO", but there are no entries found for the cube I'm looking at. 

 

Please do not recommend any of the following tables, I've already looked through them:

RSDCUBE

Directory of InfoCubes

RSDCUBET

Texts on InfoCubes

RSDCUBEIOBJ

Objects per InfoCube (where-used list)

RSDDIME

Directory of Dimensions

RSDDIMET

Texts on Dimensions

RSDDIMEIOBJ

InfoObjects for each Dimension (Where-Used List)

RSDCUBEMULTI

InfoCubes involved in a MultiCube

RSDICMULTIIOBJ

MultiProvider: Selection/Identification of InfoObjects

RSDICHAPRO

Characteristic Properties Specific to an InfoCube

RSDIKYFPRO

Flag Properties Specific to an InfoCube

RSDICVALIOBJ

InfoObjects of the Stock Validity Table for the InfoCube

sy-fdpos operation

$
0
0

hi Floks,


x_temp-value = 12401.68


round(12400.68) =12402.000

clear x_temp-value .


x_temp-value  = 12402.000


IF x_temp-value CS'.'
                           v_length = sy-fdpos.
                           v_length = v_length - 1.
                           v_numerator = x_temp-value+0(v_length).




V_numerator = 1240




here displayed is the logic used,But i need to get the value 12400

how can i get that.


Can any one help that if i pass the 12402.68 i should get the value as 12400


Regards,

Ranjith.




Purchase Document Header Text

$
0
0

Hi all,

 

Need your help,

 

Our company has changed her denomination so this name should be reflected on the PO header.

 

We have updated table T001.

We have also updated a table called YRGTT_XXXX_HEADER (XXXX is the company code) for PO header using transaction SO10 but the issue is still pending.

I don't if this is a standard thing or not.

 

Can you please advise ?

 

Thanks in advance,

Majd


Copy SAP Access Menu

$
0
0

Hi All,

 

We are working on a custom built software which will communicate with SAP.

There are certain requirements where we cant find any solutions.

 

Any answer to the following questions will be very helpful.

 

 

1. How to copy the SAP Menu? Including the sub-nodes & description.

SAP Access.JPG

 

 

2. While creating PO or any in any other transactions, how to capture the Error image shown? or How to copy the contents of the message shown?

 

3. In the PO creation screen (ME21N), there are lot of TABS (as shown in the below pic). Is there any keyboard shortcut to shift between these tabs?

 

tabs.JPG

Will give more description if required.

 

Moderators : Respected Mods, I was not sure about the section in which this question should be posted. Kindly move it to the respective section if it does not belong here.

 

Thanks,

Deepan M

Pricing-formula: Add value of items with Reason for Rejection in the Basis calculation

$
0
0

Dear all,

 

 

My requirement is the following:

I have an Freight cost condition type applied on the Total amount of the Sales order.

I need to take into account for this basis amount also the items with Reason for rejection:

Example:

Freight cost: 0€ if order is 150€ and more,

Item 10:     140€

Item 20:      20€     : no stock --> Reason of rejection put:

As it is not customer fault, we want to give him the freight cost for free.

 

How would you code this in the Pricing procedure formula?

 

Kind regards,

 

Sebastien

ABAP runtime code profiler

$
0
0


Hi all,

 

I searched a way to perform real-time analysis of my ABAP code but I did not find it.

 

Is there a profiler / run-time checker that analyzes the portions of code taking execution times?

 

Thank you

BAPi To Create CUstomer Master with VAT REG No

$
0
0

Hi,

 

I have a IDOC which creates an Sales Order. If the IDOC carries a VAT reg no then I need to create a customer and then I need to process the SALES IDOC.

 

My requirement is to create a customer with VAT REG NO through a BAPI.

 

Is this possible.

 

THanks.

Reg. Conversion of Binary to OTF Format to get PDF file

$
0
0

Dear Experts,

 

I have searched in your previous threads and could not find a solution. My requirement is that i need to create a PDF file from Binary format. First i am converting the internal table data to Binary format. Now i need to create PDF file from Binary format.

Kindly help me in this regard. Here i am able to convert the Binary format to Excel format, but unable to convert to PDF format. But the user requires the file must be in PDF format so that it is non editable.

 

 

 

 

 

 

Regards,

Ramesh Manoharan

Viewing all 8332 articles
Browse latest View live


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