2013 Feb 27 8:23 AM
Hi Expert,
When I use export & import is ECC 6.0 is not working...But working fine in 4.7
Thanks
Shree
Hi Expert,
When I use export & import is ECC 6.0 is not working...But working fine in 4.7
Thanks
Shree
2013 Feb 27 6:52 PM
2013 Feb 28 4:18 AM
HI expert,
I have been trying to find the solution but getting following error.. you may see screen shot here
Thanks
Shree
2013 Feb 28 5:58 AM
This error is not related to export/import. You field symbol is not assigned. Find out why.
2013 Feb 28 8:03 AM
Hi Kesavadas,
When my program call zsubmit then control goes to export option then it gets dump.. it's not related to field symbol in my program
thanks
Shree
2013 Feb 28 8:25 AM
2013 Feb 28 8:34 AM
Hi Raymond,
When IMPORT & EXPORT comes which takes system standard program...it may be difficult identify..
Thanks
Shree
2013 Feb 28 8:35 AM
Hi Shree,
Its properly mentioned from the dump, that the error is due to assigning the field symbol and not with IMPORT/EXPORT.
its probably the type miss-matching of field-symbols during the assignment.So check whether declaration of field-symbols are proper and also UNASSIGN <field-symbols> before you ASSIGN them.
Thanks
Bishwajit
2013 Feb 28 8:37 AM
Hi Raymond,
The screen shot shows the coding between IMPORT & EXPORT..
tHANKS
shree
2013 Feb 28 10:26 AM
The error seems more relative to a wrong ALV field catalog (18th displayed column does not exist in internal table ?) I don't see any connection to IMPORT/EXPORT, which don't prove that is not related, but cannot conclude with current information provided. Did you use some dynamic coding ?
Regards,
Raymond
2013 Feb 28 11:35 AM
Hi Raymond,
Getting following error name is GETWA_NOT_ASSIGNED...
2013 Feb 28 1:53 PM
Thanks, but I already noticed that this is a field symbol assignment problem (*). And this code is in ALV tool related to mapping of data from internal table to display table with the field catalog. So it is not related to import/export as far as I can see. Did you build a dynamic catalog, call a FM, or ? the dump is neither triggered by an IMPORT or EXPORT statement, can be related to what you try to do with the result of the IMPORT, but you will have to provide more information if you want some effective help.
Regards,
Raymond
(*) That is the meaning of GETWA_NOT_ASSIGNED (get work area not assigned)
2013 Feb 28 4:05 PM
2013 Feb 27 9:16 PM
Hi Shree,
What is the exact form of your IMPORT/EXPORT statement?
Some statements have become obsolete for unicode systems.
This may or may not be the cause of your issue.
Documentation on the obsolete statements can be found at:
SE38-->Utilities-->Keyword Documentation-->ABAP Reference-->Obsolete Statements-->Obsolete Language Elements-->Obsolete Access to Data Clusters.
Regards,
Kim
2013 Feb 28 1:47 PM
Hi Shree,
I agree with Raymond when he directs you to the ALV field catalog.
There is something that you have not have not defined correctly in your ALV inputs. It could be the field catalog or the layout.
I suggest you put a breakpoint at the beginning of the form where the debugger shows the syntax error SAPLKKBL-gen_field_out2.
Then look at the contents of the the gs_out-field_colcount just before it terminates. ( You will probably stop here a few times before you are on the column that is causing the termination)
You can also look at the the structures gt_stack-it_fieldcat and gt_stack-is_layout to see what you are sending to the ALV logic.
Regards,
Kim
2013 Mar 01 4:58 AM
This is report to be executed via SUBMIT to get final_DATa from another report.
SUBMIT zpp_grn USING SELECTION-SCREEN 1000
WITH s_para1 IN s_para1
WITH s_para2 IN s_para2
WITH s_date IN s_date.
EXPORTING LIST TO MEMORY AND RETURN.
*----Following Command can be used to reterive final internal table of another report Z---
REFRESH it_final[].
IMPORT it_final FROM MEMORY ID 'TABLE'.
*-------
Another Report....
actually dATa filling in final_data in another report....
EXPORT IT_FINAL TO MEMORY ID 'TABLE'.
What could be the reason i'm not getting the final_data...
Only think we need exact statment which is used in ECC 6.0 for IMPORT & EXPORT.
Thanks
Shree
2013 Mar 01 5:05 AM
hi sree,
instead of is table use some other in both the report..
use some FITABLE in both the report..
hope it helps,
Vinoth
2013 Mar 01 5:10 AM
Hi Vinoth,
You mean bother reports can be combined..is it right?
Thanks
Shree
2013 Mar 01 5:15 AM
Hi Vinoth,
is there any better idea to only final_data from another report?
Could you provide me any example?
Thanks
shree
2013 Mar 01 5:18 AM
Hi Vinoth,
We need to execute another report to get the final data...In case if we use both in a same report..that report requirement may change in future...so such case we always want to execute the report via SUBMIT..
thanks
shree
2013 Mar 01 5:21 AM
hi sree,
IMPORT it_final FROM MEMORY ID 'TABLE'.
change the code as
IMPORT it_final FROM MEMORY ID 'FITABLE'.
in another report
EXPORT IT_FINAL TO MEMORY ID 'FITABLE'.
see both the internal table's are matching .
hope it helps,
Vinoth
2013 Mar 01 8:15 AM
You use an obsolete version of syntax (already no longer allowed in OO Abap) - Replace "EXPORT/IMPORT local_variable_name" by "EXPORT/IMPORT formal_parameter_name = local_variable_name".
Also good practice is not using a generic name like "TABLE" for a memory id, use a "ZXXX" unique identifier.
In UNICODE system, the structure of both tables compatibility is more strictly enforced.
If you use obsolete internal table with header use the [] in the EXPORT/IMPORT statements.
Regards,
Raymond
2013 Mar 01 5:04 AM
Hi Expert,
Provide a simple program using EXPORT & IMPORT with tested result
using internal table data only....
Thanks
Shree
2013 Mar 01 5:24 AM
hi,
DATA: date TYPE d,
a TYPE TABLE OF i,
m TYPE mara,
l.
DATA itab TYPE STANDARD TABLE OF cdir.
DO 10 TIMES.
APPEND sy-index TO a.
ENDDO.
EXPORT par1 = date
par2 = a
par3 = m TO DATABASE indx(hk) ID 'HK'.
IMPORT DIRECTORY INTO itab FROM DATABASE indx(hk) ID 'HK'.
DESCRIBE TABLE itab lines l.
write l.
hope it helps,
Mathan R.
2013 Mar 01 5:45 AM
Hi Mathanagopalan,
I want export entire internal table to be exported..
Thanks
Shree
the same itab1 type declared in b report
2013 Mar 01 6:00 AM
hi,
check this piece of code.. it may help you..
DATA : X TYPE P DECIMALS 14.
DATA : wa_tab1 TYPE ZDB_SI_CPY,
it_tab1 like TABLE OF wa_tab1,
wa_tab2 TYPE ZDB_SI_CPY,
it_tab2 like TABLE OF wa_tab2.
DATA : wa_tab3 TYPE ZDB_Sh_CPY,
it_tab3 like TABLE OF wa_tab3.
wa_tab1-SAL_DOC_NO = '007'.
wa_tab1-ITEM_NO = 10.
wa_tab1-MAT_NO = 'M-18'.
wa_tab1-MAT_DESP = 'PEN'.
wa_tab1-QUAN = 5.
APPEND wa_tab1 TO IT_TAB1.
CLEAR wa_tab1.
CALL FUNCTION 'ZTEST_01' IN UPDATE TASK
TABLES
it_si = it_tab1
.
COMMIT WORK AND WAIT.
GET RUN TIME FIELD X.
write :/ 'HELLO',X.
EXPORT it_tab1 from it_tab1 TO MEMORY id 'TEST'.
SUBMIT ZFM_TEST_01 AND RETURN.
this is the second prog: where im gonna import:
DATA : wa_tab4 TYPE ZDB_SI_CPY,
it_tab4 like TABLE OF wa_tab4.
SELECTION-SCREEN BEGIN OF SCREEN 9000.
SELECTION-SCREEN END OF SCREEN 9000.
IMPORT it_tab1 TO it_tab4 from MEMORY id 'TEST'.
loop at it_tab4 into wa_tab4.
write :/ wa_tab4-SAL_DOC_NO,wa_tab4-ITEM_NO,wa_tab4-MAT_NO,wa_tab4-MAT_DESP,wa_tab4-QUAN.
ENDLOOP.
hope it helps,
Mathan R.
2013 Mar 04 3:45 PM
Hi Expert,
I want a run program called ZREPORT_B from ZREPORT_A using submit syntax to get IT_FINAL internal table data of report_b.
condition:
1. I don't want run the ZREPORT_B beyond IT_FINAL TABLE. then control has to return ZREPORT_A to run & get result.
2. whenever user runs ZREPORT_B there shouldn't be any problem for REPORT_B.
eg code:
Need write code as below..
EXPORT it_final TO MEMORY ID mem
then control has to go REPORT_A to get output.
What would be approach to CONTROL & EXPORT CODE MUST WORK.
Thanks
Shree.
2013 Mar 04 3:52 PM
Hi expert,
I have written the following code in report_b but when user runs report_b fails to get result after leave program sytax.
EXPORT it_final TO MEMORY ID mem.
LEAVE PROGRAM.
What would be approach without disturbing report_B.
Thanks
shree
2013 Mar 05 3:43 AM
hi,
why you are using
EXPORT it_final TO MEMORY ID mem.
LEAVE PROGRAM. i mean leave program in report b itself..
thats why its not working..
after sending yor it_final values to report_a, manipulate it there.. and again use submit statement to come to report_b.. there import your manipulated values and print it in list processor or desired ALV..
follow this. it may help you..
thanks,
Mathan R.
2013 Mar 05 5:32 AM
Hi Mathan,
But when any user runs report_b it would affect. tell what would approach without interrupt report_b...the function has to perform.
When you run report_b would not get result..the small piece of code will run only when report_a runs.
Thanks
shree
2013 Mar 05 5:43 AM
Hi mathan,
I have written code as below…..it works & getting result t-code_a level
but when I execute directly report_a without t-code… I’m not getting result.
When submit function comes to report_b here & should end.
Data: lv_tcode type sy-tcode value ‘tcode_a’.
Data: lv_report type sy-repid value ‘report_a
If lv_tcode = 'tcode' or sy-repid = lv_report.
leave program.
endif.
Thanks
shree
2013 Mar 05 5:43 AM
2013 Mar 05 5:44 AM
2013 Mar 05 5:51 AM
Hi Mathan,
I don't want run report_b completely and moreover report_b is not mine and can't edit much..
I just need IT_FINAL of repot_b that's it...i don't want run beyond it_final...
thanks
shree
2013 Mar 05 6:02 AM
2013 Mar 05 6:45 AM
hi,
Data: lv_tcode type sy-tcode value ‘tcode_a’.
Data: lv_report type sy-repid value ‘report_a
If lv_tcode = 'tcode' or sy-repid = lv_report.
leave program.
endif.
how this code ll leave the program when it is in report_b..
lv_report actual value is report_a right..
let me confirm first, your requirement is like.. when you execute the report_a, your program should goto reort_b and get the table values it_final and display it as report in report_b itself.. right.. if am wrong, correct me with exact issue..
for doing so,
Data: lv_report type sy-repid value ‘report_b'
If sy-repid = lv_report.
leave program.
endif.
do like this..
sy-repid value ll be the same prog name even if we use submit.. it the screen is in report_a means your sy-repid ll be report_a only..
but you gonna leave the program in report_b.. for that program sy-repid ll be report_b only..
hope this helps,
Mathan R.
2013 Mar 05 8:54 AM
Hi Mathan,
Could you tell me that without interrupting report_b? leave program.
Thanks
Shree
2013 Mar 05 9:33 AM
Hi mathan,
How to skip the code when any user runs report_b cause report_b won't get output. it leaves the report_b?
Thanks
shree
2013 Mar 05 9:34 AM
Hi mathan,
When you run individually report_b it will not get output due to the code. righ?
Thanks
Shree
2013 Mar 05 10:55 AM
hi,
When you want your report_a program to execute.. whether you are only guy gonna use or what?
if you are the only one means.. include sy-uname also in that condition.
Data: lv_report type sy-repid value ‘report_b'
If sy-repid = lv_report and sy-uname = 'you'.
leave program.
endif.
try like this..
this may help you..
thanks,
Mathan R.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |