Calling program name.
I have called a program A from many programs say B and C.
In the the called program B, I have to find from which program it has been called either B or C?
Is there any systenm field or way to find out?
Check with :
SY-CALLD
X if the program was started using CALL TRANSACTION, CALL DIALOG, or SUBMIT
[AND RETURN]. Space if the program was started using LEAVE TO TRANSACTION or using a transaction code from a screen. SY-CALLD is always space when a batch input session is being processed.
SY-CPROG
The name of the calling program in an external routine, otherwise the name of the current program.
I guess if want to have calling program then you need pass the program name expliciltly in perform routine
any way check with below link:
http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
To find out at runtime if a program is running as a called program, use the system variable sy-calld
Thanks
Seshu
Message was edited by:
Seshu Maramreddy
Message was edited by:
Seshu Maramreddy
Similar Messages
-
Caller Program name after SUBMIT or Call Tran (SAP-Query drill as ex)
Hi , there is real simple situation
I have SAP Query and do Drill Down to my Report or Transaction.
So I have two questions but as I believe they are equal:
1) How I can get Caller SAP Query name from my Report ?
2) How can we get Caller Program name after SUBMIT or CALL TRANSACTION operator (in new started report for example )?Hi,
there is a system variable sy-cprog ...check if u can use it...
else from the caller prog move its name to SAP memory and retrive it in called prog..
in caller prog
data caller_prog type SYCPROG.
move sy-repid to caller_prog.
set parameter id 'ZCPROG' field caller_prog.
submit <called_prog> and return.
in called prog
data caller_prog type SYCPROG.
get parameter id 'ZCPROG' field caller_prog.
write caller_prog.
write / sy-repid.
Cheers,
jose. -
July 3, 2013 :
(1) Spoke to Toyota Technical Support today about 2013 Toyota entune, had them gooogle "wiki BlackBerry Z10" had them, then, to click 3rd one down on google listing : " BlackBerry - Wikipedia, the free encyclopedia " had them, then, see picture of my BlackBerry Z10 and under it on the right side 5th item down see and read to me : " Units shipped 200 million "
Toyota states they are working on their 2013 Toyota entune included for 36 months which integrates iPhone V and Samsung Galaxy Android but no BlackBerry to Navigation, SmartPhone usage, e-mail to Z10, read e-mail while driving Z10, and Contacts with address to extend 100 maximum limitation into 2013 Toyota Navigation on-board silly memory, USB support to Z10 with the USB plug provided, POI points of interest on Navigation where you click it and it dials the phone number on record of every business selected by 200 categories gas dentist doctor pet doctor groceries bakery restaurant shopping mall motel camping grounds RV hook-up etc.
(2) T-Mobile currently supports 10.1.0.2006 but I have loaded on previous BlackBerry products bootleg updated s/w releases which worked perfectly well and solved many of my previous issues on the 10 or so previous BlackBerry products I’ve owned since BlackBerry became the choice for users where security is the main purpose for business users, not mp3 listening to music for Apple which is just an over-priced under-technology product with lots of apps all of which I am complaining about in this post.
I’d like to do that again now, and see if any of these issues we all are having are being worked on in the least by BlackBerry. Where can I get instructions of where to download whatever is the bootleg people know does fix at least 1 of these issues, please ?
(3) In-coming calls show only phone number. Never had a BlackBerry like that, ever. Understand this is a known bug, while others waste your time with swipe down from Phone App and Click Settings and Click one of the 13 settings in there such as SMART DIALING and do something with the 3 area codes local calls where I live and something with National Number Length also not explained where it can be corrected doing that. I need to see the caller-id name and number, some folks refer to as Deluxe Caller-ID. Number and name, not just the number. No idea who is calling me, ever.
(4) Take in-coming call and press the number in the PHONE LOG on Phone App, and it calls the customer back. I want to save the number to CONTACTS and either choose a contact to add it to, or have multiple listings for the same contact where I see one has a number and one just the e-mail I added. I am still not satisfied with the add new contact every time I add via e-mail address when I already have the e-mail address and want to see it. But, at least I can add contacts to the several thousand I deal with and at least have them in there twice. That’s a start.
(5) Visual Voice Mail, I am now paying for at T-Mobile. And, I have programmed it on on the Z10. What is Visual vm ? If I have it, where do I see it ? What is it the Z10 provides on visual vm ?
(6) There must be an updated manual from the lackluster manual I downloaded when I upgraded from the BlackBerry Bold 9780 to Z10 which goes into a lot more detail than the one I downloaded, printed and went through to get to where I’m at, which is
Still after many months now, having a Z10 phone which :
(1) does nothing with 2013 Toyota entune ?
(2) must have a bootleg solid s/w release I can load with instructions ?
(3) in-coming caller phone number and Name, not just # ?
(4) Phone Log App click last in-coming call and Add to Contacts ?
(5) Visual vm turned on both carrier and settings and not seeing it ?
(6) latest manual on Z10 which someone surely has updated to address these issues
Anyone else having these issues items (1) through (6) ?
Give Thumbs-Up if helps you, or say Solution Accepted, or say Like.
Solved!
Go to Solution.My pleasure. And, I'm a guy. I'll look through my settings when I have a chance later today. Have a good one.
-
Print program name for the dunning form F150_FR_DUNN_01 in sapscript
Hi,
I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
Kindly help me.
Thanking you.
Pujarini PatraHi,
Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP 0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
The corresponding SAP sample Forms are:
- F150_DUNN_SF for Smartform; and
- F150_DUNN_SF for pdf Form (don't let the name confuse you )
I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
- FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
- FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for view Cluster VC_T047_F... That would save the whole effort to try to detect the type for form assigned...
Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
The selected entry is the one you are looking for to assing your custom forms, I believe.
cheers
Janis -
Submit report in background and get result into calling program
Hi,
I want to call the standard SAP program from Zprogram to create invoice using Submit. here the code
SUBMIT RV60SBT1 TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
WITH VKOR1 eq TVKO-VKORG
with X_VBELN eq gv_vbeln_so
with ALLEA eq 'X'
with ALLEL eq ''
AND RETURN.
the standard SAP program creates invoice (billing document number). I want to get the billing document number which created using the above statement into the calling program. ......could anyone pls tell me how to do this? ie how to read the billing document number in the calling program.
Regrds
shan
Edited by: Shankar Raju Devadoss on Mar 21, 2011 9:00 AMHi Shankar,
You can try it in both ways.
1. By using the parameter ID VF. (GET PARAMETE ID)
2. Select the invoice numbers from the table VBRK for the current date (SY-DATUM) and
sort it by time and get the latest invoice.
Regards
Hareesh Menon -
Calling Program RKAEP000 with submit
Hello all experts,
I am having a problem when calling the std program RKAEP000. When i use:
SUBMIT RKAEP000 with params AND RETURN.
it is giving me an error transaction code not defined. i cannot use call transaction KBS1 in this case (CALL TRANSACTION 'KSB1' and SKIP FIRST SCREEN.).
Any clues how i can resolve this issue please and anyone can tell me what is the difference between these 2 statements SUBMIT and CALL TRANSACTION and the impact it has when calling these 2 on a program.
Thank you all.Hi,
try this code it will work..
the data is stored in txtlines format the data by the field wise.
* Data Declaration
DATA:lt_listobject TYPE TABLE OF abaplist,
l_tab_lines TYPE i.
DATA: txtlines(1024) TYPE c OCCURS 0 WITH HEADER LINE.
SUBMIT rkaep000 "the program name
USING SELECTION-SET 'BPC TEST' "Pass varint BPC Test
EXPORTING LIST TO MEMORY AND RETURN.
* Read list from memory into table
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Error in function module &1
ENDIF.
*Spool content in Ascii format
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listobject = lt_listobject
listasci = txtlines
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = lt_listobject
EXCEPTIONS
empty_list = 1
OTHERS = 2.
CALL FUNCTION 'LIST_FREE_MEMORY'
TABLES
listobject = lt_listobject.
LOOP AT txtlines. "data will be stored in this..
endloop.
Prabhudas -
Download package and program name and owner to excel
Hi,all:
I have a question: can i download programs' name and owners in a specific package to a excel or word file?
thanks in advance and best regards
kevin.Kevin,
As Gautam mentioned you need to gather the data from TADIR table into internal table and call GU_DOWNLOAD fm to download internal table data into excel sheet
Thanks
Bala Duvvuri -
Inbound idoc program name...
Hi all,
i have one inbound idoc.From the data in the idoc some custom table was getting updated thrugh some program.So how to find the program name which will do that.i have only the idoc no with me....
thanks in advance.......
Regards,
Rakesh.........GO TO WE19
Give the idoc number
Press F8
Then Press 'Standard Inbound'
Note down the function module
Press Cancel
Press 'Inbound Function Module'
Give the Function mudule name which you get from the previous step
Check 'Call in Debug Mode'
Select in Foreground
Debug the same and it will lead to the place where you are uploading the same. -
Object Program Name of class RE and language EN does not exist
Hi,
I'm encoutering this problem.
Object <Custom Program Name> of class RE and language EN does not exist
This appears when i am executing the report .
Has anyone encoutered this? How did you resolve this problem?
Any pointers in this regard are appreciated.
Regards,
SSR.Hi,
This must be coming from the one of the function module exceptions that you are calling in the method. Put break points at all function module calls and find out the reason.
Thanks,
Naveen Inuganti. -
STAD - get the 'transaction code' and 'program name'
Hi, I was wondering if someone knows about a bapi with which I can get only the "transaction code" and "program name".
I need to get those for a specified user, but I don't want to set on a trace, that's why I'd like to use the transaction STAD.
If anyone can help, thanks in advance
Grtz,
Dragovianok, so I go like this
TYPE-POOLS sapwl .
DATA: all_stats TYPE sapwl_allstats.
CALL FUNCTION 'SAPWL_READ_STATISTIC_FILES'
EXPORTING
read_client = '*'
read_time = '200000'
read_start_date = sy-datum
read_start_time = '000000'
read_username = sy-uname
read_workprocess = 'FFFF'
wait_factor = 150
CHANGING
all_stats = all_stats
how'd I get "start-time" "report-name" "date" "username"? -
Which table contains function module program name
Hi,
Which table contains function module program name.
Regards,
rajHi,
We have one function module called 'FUNCTION_INCLUDE_INFO'.
Where u ll get the program name to which it belongs to, function group and the include number. (e.g if the function group program name contains 9 function modules and ur function module is in 3rd include then it will return the include name to which it belongs ) -
Finding caller program in a RFC call
Hi experts,
We are having lots of CALL_FUNCTION_NOT_FOUND short dumps in one of our systems. The errors are caused because other systems call a function that does not exist, so the dumps are created.
What we would like to know is what program is doing these calls, since all we can see in the short dump is the caller system and the function it is trying to access, but not the exact program where the call is performed so we can fix the code.
Thanks in advance for your support.Sorry if this is too much of a wall of text, I can't find an "attach file" type feature.
ABAP runtime errors CALL_FUNCTION_NOT_FOUND
Occurred on 11.12.2006 at 10:04:34
Function module "Y_EF_DETERMINE_PICTURE" not found.
What happened?
The function module "Y_EF_DETERMINE_PICTURE" was called, but cannot be
found in the Function Library.
The current ABAP/4 program "SAPMSSY1 " had to be terminated because
one of the statements could not be executed.
This is probably due to an error in the ABAP/4 program.
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
The program "SAPMSSY1 " contains a CALL FUNCTION statement. The name
of the function module to be called is "Y_EF_DETERMINE_PICTURE".
No function module exists with the name "Y_EF_DETERMINE_PICTURE".
All function modules are stored in the Function Builder (SE37).
Possible reasons:
a) Wrong name specified. Particular attention should be paid
to upper/lower case and underscores ("_").
or
b) Transport error
c) In the case of an enqueue/dequeue module, the lock object
may not have been activated (ABAP Dictionary).
How to correct the error
Check the last transports to the R/3 System.
Is the program "SAPMSSY1 " currently being changed?
If an enqueue/dequeue module is involved, is the activation
of the lock object missing in the ABAP/4 Dictionary?
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"CALL_FUNCTION_NOT_FOUND"
"SAPMSSY1 " or "SAPMSSY1 "
"REMOTE_FUNCTION_CALL"
Function modules with names similar to "Y_EF_DETERMINE_PICTURE":
Y_EF_USEX_DETERMINE_TAX
Y_GF1_DETERMINE_RECTYPE
Y_GK_DETERMINE_PRCTR
Y_EF_USEX_PICTURE_SUBMIT
Y_EF_USEX_SHOW_PICTURE
Y_EF_RFC_PICTURE_POST
Y_GF1_DETERMINE_SBU
Y_GF_DETERMINE_VERSION
Y_GF_DETERMINE_DATE_PREVMON
Y_GF1_DETERMINE_CURRENT_PERIOD
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "sapgp1s"
Network address.......... "52.99.71.21"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C4449E4C00"
Database server.......... "sapgp1s"
Database type............ "DB6"
Database name............ "GP1"
Database owner........... "SAPR3"
Character set............ "en_US.ISO8859-1"
SAP kernel............... "46D"
Created on............... "Aug 26 2005 22:40:31"
Created in............... "AIX 1 5 0056AA8A4C00"
Database version......... "DB6_71 "
Patch level.............. "2113"
Patch text............... " "
Supported environment....
Database................. "DB6 06., DB6 07., DB6 08.*"
SAP database version..... "46D"
Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
5, , System build information:, -
, LCHN :
User, transaction...
Client.............. 000
User................ "SAPSYS"
Language............ "E"
Transaction......... " "
Program. ........... "SAPMSSY1 "
Screen. ............ "SAPMSSY1 3004"
Line of screen...... 2
Information about Remote Function Call (RFC) Caller:
System.............. "WP1 "
Database release.... "46C "
Kernel release. .... "46D "
Connection type. ... "3 " (2 = R/2, 3 = R/3, E = Extern, R = Reg.
Call type........... "S-" (S = synch., a/A = asynch., T = transactional
Client.............. 510
User................ "PC1706 "
Transaction......... "/COCKPIT/1 "
Function module..... "Y_EF_DETERMINE_PICTURE"
Call destination.... "GP1590"
Source server....... "wsdux44_WP1_10"
Source IP address... "52.99.71.124"
Additional information about RFC logon:
Trusted relationship " "
Logon return code... " "
Trusted return code. " "
Note: In Releases earlier than 4.0, some of the above information about
RFC calls may not be available.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPMSSY1 " in
"REMOTE_FUNCTION_CALL".
The main program was "SAPMSSY1 ".
The termination occurred in line 67
of the source code of program "SAPMSSY1 " (when calling the editor 670).
Source code extract
000370 ENDMODULE.
000380
000390 MODULE %_RFCDIA_CALL OUTPUT.
000400 "Do not display screen !
000410 CALL 'DY_INVISIBLE_SCREEN'.
000420 PERFORM REMOTE_FUNCTION_DIACALL.
000430 ENDMODULE.
000440
000450 MODULE %_CPIC_START.
000460 IF SY-XPROG(4) = '%RFC'.
000470 PERFORM REMOTE_FUNCTION_CALL USING RFCTYPE_EXTERNAL_CPIC.
000480 ELSE.
000490 CALL 'APPC_HD' ID 'HEADER' FIELD HEADER ID 'CONVID' FIELD CONVID.
000500 PERFORM CPIC_CALL USING CONVID.
000510 ENDIF.
000520 ENDMODULE.
000530
000540
000550 FORM CPIC_CALL USING CONVID.
000560 COMMUNICATION SEND ID CONVID BUFFER HEADER.
000570 IF SY-SUBRC EQ 0.
000580 PERFORM (SY-XFORM) IN PROGRAM (SY-XPROG).
000590 ELSE.
000600 MESSAGE A800.
000610 ENDIF.
000620 ENDFORM.
000630
000640
000650 FORM REMOTE_FUNCTION_CALL USING VALUE(TYPE).
000660 DO.
CALL 'RfcImport' ID 'Type' FIELD TYPE.
000680 PERFORM (SY-XFORM) IN PROGRAM (SY-XPROG).
000690 RSYN >SCONT SYSC 00011111 0.
000700 ENDDO.
000710 ENDFORM.
000720
000730 FORM REMOTE_FUNCTION_DIASTART.
000740 DO.
000750 CALL 'RfcImport' ID 'Type' FIELD RFCTYPE_RFCDIA.
000760 PERFORM (SY-XFORM) IN PROGRAM (SY-XPROG).
000770 "Parking position for next request
000780 RSYN >SCONT SYSC 00011111 10.
000790 "ALternativ : Free mode
000800 "COMMIT WORK.
000810 "SYSTEM-CALL FREE MODE 0.
000820 ENDDO.
000830 ENDFORM.
000840
000850 FORM REMOTE_FUNCTION_DIACALL.
000860 SY-XCODE = '%_@no@'.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 1
SY-TABIX 0 SY-DBCNT 0
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+....4
SY-XPROG
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
SY-XFORM Y_EF_DETERMINE_PICTURE
554454454544445544555422222222
9F56F45452D9E5F093452500000000
%_SPACE
0
0
SY-MSGID
22222222222222222222
00000000000000000000
EBC_TO_ASC-X05 P&QéRêSëTèUíVîWïXìY~ZÜ[$*])^;_^
525E5E5E5E5E5E5E5E575D5252525355
06192A3B485D6E7F8C9EACB4CAD9EBFE
RFCTYPE_QUEUE 6
0000
0006
%_PRINT 000
2222333222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 0 ########
2222222222320000000022222222222222222222
0000000000000000000000000000000000000000
... + 120
22222222
0000000
SY-MSGNO 000
333
000
EBC_TO_ASC-X04 @ A BâC{DàEáFãGåHçIñJÄK.L<M(N+O!
424A4E474E4E4E4E4E4F4C4243424242
0010223B405163758791A4BECCD8EBF1
SY-MSGV1
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222
0000000000
SY-MSGV2
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222
0000000000
SY-MSGV3
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222
0000000000
SY-MSGV4
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222
0000000000
%_?NOT_ASSIGNED?
2222
0000
SPACE
2
0
SY-REPID SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
TYPE 3
0000
0003
SYST ########################################
0000000000000000000000000000000000000000
0001000000000000000000000000000000000000
... + 40 ########################################
0000000000000000000000000000000000000000
0000000000010000000100000000000000000000
... + 80 ########################################
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
... + 120 #######################################T
00000000
0000000
Active calls / events
No.... Type........ Name..........................
Programm
Include Line
1 FORM REMOTE_FUNCTION_CALL
SAPMSSY1
SAPMSSY1 67
2 MODULE (PBO) %_RFC_START
SAPMSSY1
SAPMSSY1 31
Internal notes
The termination occurred in the function "link_rfdir" of the SAP
Basis System, specifically in line 165 of the module
"//bas/46D/src/krn/runt/ablink.c#3".
The internal operation just processed is "CALY".
The internal session was started at 20061211100434.
Active calls in SAP kernel
=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = 51200000
=> File size limit = unlimited
=> Heap address = 0x118dba360
=> Stack address = 0xfffffffffff5d50
=> Stack low = 0xfffffffffff5d50
=> Stack high = 0xffffffffffff600
=> Stack Trace:
AixStack() at 0x100059364
CTrcStack2() at 0x10005945c
rabax_CStackSave() at 0x10003959c
ab_rabax() at 0x1000425b4
link_rfdir() at 0x100540418
ab_link() at 0x100540a18
ab_rfcimport() at 0x1005f49f0
ab_jcaly() at 0x100024560
ab_extri() at 0x100487474
ab_xevent() at 0x10059c804
ab_dstep() at 0x10043bd98
dynpmcal() at 0x100942f94
dynppbo0() at 0x100941320
dynprctl() at 0x100948f40
dynpen00() at 0x1008f7818
Thdynpen00() at 0x1001429f4
TskhLoop() at 0x100146368
tskhstart() at 0x1001576ac
DpMain() at 0x100e06e38
main() at 0x100de72f4
List of ABAP programs affected
Type
Program
Gen. date time
LoadSize
Prg
SAPMSSY1
04.01.2000 19:06:59
20480
List of internal tables
No dump information available
Directory of application tables (contents)
Program
Name.......... Contents.1........2........3....+....
Directory of data areas (administration information)
Program
No.. Name.......... Lgth Ofsg Type Next Gen date Gen time
SYST
L not assigned -15 0 IN
M /%_LISTTABLE -14 1 CO 0
T global stack -13 1 2 GL 0
SAPMSSY1
A global data 0 3 DA
L constant dat 1 4 LI .0 .0216
L constant dat 2 5 LI SSY .0 .018B
L not assigned 3 6 IN
L SYST 4 7 TA 0
L SY 5 8 TA
L RSJOBINFO 6 9 TA
M /%_SYS%% 7 0 CO
M field symbol 8 1 FS
L TCPIC 9 2 TA
M field symbol 10 3 FS
L text pool 11 4 TP
Directory of data areas (contents)
Program
No.. Name.......... Contents..1........2........3....+....
SYST
L not assigned 0
L text pool 102 |SAPMSSY1
ABAP control blocks CONT
Include Line source code
Index Name F1 Co Par01 Par2. Par3. Par4. Tabl
SAPMSSY1 60 MESSAGE A800.
215 CLEA 00 84
216 CLEA 00 85
217 MESS 00 27
SAPMSSY1 62 ENDFORM.
218 ENDF 00
219 -
223 -
SAPMSSY1 65 FORM REMOTE_FUNCTION_CALL USIN
227 PERP 00 1
228 PERP 02
SAPMSSY1 66 DO.
229 WHIL 00 2
233 WHIL 00 3
237 BRAN 05 Branch to 251
SAPMSSY1 67 CALL 'RfcImport' ID 'Type' FIE
238 CALY 00 3 86 70 71 71
>>>>> CALY 02 87 P0
SAPMSSY1 68 PERFORM (SY-XFORM) IN PROGRAM
246 xper 02 12 13
248 PERP 80
SAPMSSY1 69 RSYN >SCONT SYSC 00011111 0.
249 SYSC 1F
SAPMSSY1 70 ENDDO.
250 BRAX 00 Branch to 233
251 WHIL 00 4
SAPMSSY1 71 ENDFORM.
255 ENDF 00
256 -
End of runtime analysis -
Hi everyone!
For BDC programming, I use this statement (example only):
CALL TRANSACTION 'F-02' USING bdc_tab
MODE 'N'
UPDATE 'S'.
Is it possible to call the program ID and screen no. instead of the tcode?
Thanks a lot!> hi
>
> s its poosible try it like this.
>
> through the recording method.
>
> CALL FUNCTION 'BDC_OPEN_GROUP'
> EXPORTING
> client = sy-mandt
> group = 'JES'
> keep = 'X '
> user = 'SY-USER'
> prog = SAPMF05. -> PROGRAM NAME FOR
> F-02 TRANSACTION
>
> CALL FUNCTION 'BDC_INSERT'
> EXPORTING
> tcode = 'F-02'
> TABLES
> dynprotab = itab_bdcdata. "PASS YOUR
> <ITAB NAME>
> CALL FUNCTION 'BDC_CLOSE_GROUP'.
> RDS
> BASKARAN
>
> Message was edited by:
> baskaran nagamanickam
However, this still calls the tcode (F-02). I need to call the program ID and screen no..
For example (if F-02):
program - SAPMF05A
screen - 100
Thanks! -
Passing the dynamic internal tables to the calling program
Hello,
From my user exit USEREXIT_MOVE_FIELD_TO_VBAP in program MV45AFZZ I am calling a routine to build dynamically an internal table. I get A DUMP in the perform statement. Please see below.
*FORM USEREXIT_MOVE_FIELD_TO_VBAP.*
*Global declarations
RANGES: KSCHL FOR A605-KSCHL,
KUNNR FOR A605-KUNNR,
MATNR FOR A605-MATNR.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
*Internal tables and work areas
data: dy_table type ref to data,
dy_line type ref to data,
xfc type lvc_s_fcat,
ifc type lvc_t_fcat.
KSCHL-sign = 'I'.
KSCHL-option = 'EQ'.
KSCHL-low = 'ZB00'.
APPEND KSCHL.
if not vbap-matnr is initial.
MATNR-sign = 'I'.
MATNR-option = 'EQ'.
MATNR-low = vbap-matnr.
APPEND MATNR.
endif.
if not vbak-kunnr is initial.
KUNNR-sign = 'I'.
KUNNR-option = 'EQ'.
KUNNR-low = vbak-kunnr.
APPEND KUNNR.
endif.
perform get_data(ZSD_CARRIER_SELECTION)
TABLES KAPPL
KSCHL
KUNNR
MATNR
CHANGING <dyn_table>.
*ENDFORM.*
*Then in program ZSD_CARRIER_SELECTION*
*Global declarations
RANGES: KSCHL FOR A605-KSCHL,
KUNNR FOR A605-KUNNR,
MATNR FOR A605-MATNR.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
*Internal tables and work areas
data: dy_table type ref to data,
dy_line type ref to data,
xfc type lvc_s_fcat,
ifc type lvc_t_fcat.
*FORM get_data CHANGING dyn_table.*
select single * into w_t685
from t685 where KSCHL eq P_KSCHL
and KOZGF ne space.
select * into table i_T682I
from T682I where KVEWE = w_t685-KVEWE
and KAPPL = w_t685-KAPPL
and KOZGF = w_t685-KOZGF.
loop at i_T682I into W_T682I.
CONCATENATE 'A' W_T682I-KOTABNR INTO w_dd02l-TABNAME.
itables-TABNAME = w_dd02l-TABNAME.
collect itables.
endloop.
loop at itables.
perform get_structure tables ifc
using itables-TABNAME.
endloop.
loop at ifc into xfc where key = 'X'.
clear i_fields.
i_fields-FIELDNAME = xfc-fieldname.
i_fields-sign = 'I'.
i_fields-option = 'EQ'.
if xfc-fieldname = 'KSCHL'.
i_fields-low = 'ZB00'.
endif.
append i_fields.
endloop.
call method cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = ifc
IMPORTING
ep_table = dy_table.
assign dy_table->* to <dyn_table>.
create data dy_line like line of <dyn_table>.
assign dy_line->* to <dyn_wa>.
*ENDFORM.*
*FORM get_structure tables ifc type LVC_T_FCAT*
*using TABNAME.*
data : idetails type abap_compdescr_tab,
xdetails type abap_compdescr.
data : ref_table_des type ref to cl_abap_structdescr.
* Get the structure of the table.
ref_table_des ?=
cl_abap_typedescr=>describe_by_name( TABNAME ).
idetails[] = ref_table_des->components[].
select * into table i_dd03l
from dd03l where tabname = tabname.
sort i_dd03l by fieldname.
loop at idetails into xdetails.
clear xfc.
xfc-fieldname = xdetails-name .
xfc-datatype = xdetails-type_kind.
xfc-inttype = xdetails-type_kind.
xfc-intlen = xdetails-length.
xfc-decimals = xdetails-decimals.
read table i_dd03l with key fieldname = xfc-fieldname
KEYFLAG = 'X'.
if sy-subrc = 0.
xfc-key = 'X'.
endif.
collect xfc into ifc.
endloop.
*ENFORM. "get_structure*
Thanks in advance.
Please use code tags in the future when pasting code.
Edited by: Rob Burbank on Mar 2, 2009 4:29 PMHi,
In the calling program whereyou are calling the subroutine...
perform get_data(ZSD_CARRIER_SELECTION)
TABLES KAPPL
KSCHL
KUNNR
MATNR
CHANGING <dyn_table>.
you have made use of field symbol <dyn_table> which you have not assigned.... due to which you are getting a dump....
so before the call you have to assign this field symbol and then use it in the call...
just assing to some dummy type and then you pass it using changing...
later on in the called program you can unassign the field-symbol as soon as you enter in the subroutine.
data itab type standard table of scarr.
assign itab to <dyn_table>.
perform get_data(ZSD_CARRIER_SELECTION)
TABLES KAPPL
KSCHL
KUNNR
MATNR
CHANGING <dyn_table>.
even if this does not solve your problem try debugging and check at which line it is going for a dump... so that it gives a clear idea where exactly is the fault
Regards,
Siddarth -
Send XML to Client: call-program cannot pass ampersand in parameter
In WLI Studio, I have tried to use the action "Send XML to Client" with
following information:
<call-program mode="async" name="IEXPLORE.EXE">
<actionid>1027425345078</actionid>
<parm>http://pttserver:7001/pttWebApp/Test.jsp?First=a&Second=b&Third=c</par
m>
</call-program>
The problem is that the ampersand (&) of call-program parameter will always
shift three character right on any program (e.g., IE, Notepad, etc.).
From the above example, IE can be called correctly, but its parameter -- a
string
"http://pttserver:7001/pttWebApp/Test.jsp?First=a&Second=b&Third=c", will be
passed as
"http://pttserver:7001/pttWebApp/Test.jsp?First=aSec&ond=bThi&rd=c".
I have also tried to use the string "&" instead of an ampersand, and the
parameter was passed as
"http://pttserver:7001/pttWebApp/Test.jsp?First=aamp&;Second=bamp&;Third=c".
What should be used in order to pass the ampersand character correctly?
If it is a bug, can any one suggest the workaround?
Thankyou in advance,
Suwanee SuwanapongIf you think you're encountering URL length issues make sure you are using POST and not GET, although it looks like there may be additional issues: http://www.javaworld.com/community/node/2307
Maybe you are looking for
-
How can I transfer music from my iTunes account to my daughters iTunes account
How can I transfer music from my iTunes account to my daughters new iTunes account?
-
Upgrading BOE EDGE 3.0 to 3.1.
Hi All, I would like to know if there is a migration tool to migrate from BOBJ EDGE BI 3.0 to BOBJ EDGE BI 3.1. I know that in BOE enterprise 3.1 has an upgrade version, is there any vserion for BOBJ EDGE BI 3.1. Thanks Kind regards Hai.
-
Issues upgrading from iOS 7.1.2 to 8.1.2 on my iPhone 5c.
I recently returned from a deployment overseas. While I was away, iOS 8 was released and I am now attempting to update my 16GB iPhone 5c from 7.1.2. I have attempted to do this via wifi which gives me an error message reading "Software Update Faile
-
Cannot drop the table - cannot enable compression - cannot find the object
Hi, I'm trying to install Database Instance as a 2nd part of distributed SAP system. There was already MS SQL 2008 STD installed, I installed another MS SQL 2008 STD instance manually (as described in PI installation guide) from original MS SQL 2008
-
I need help on changing font for the subtitles in quicktime player
Hi I am wondering if there is a way to change the font size for the Quicktime Player? I have no idea how I can do it, and this is greatly bothering me. If someone knows the step, may you please write the step by step process of how to change the font