Field STDAZ of R/3 Table PA2010
I would appreciate AND surely reward if anybody could let me know of the extractor for the Field STDAZ of R/3 Table PA2010.
Thanks
Mani
http://help.sap.com/saphelp_nw04s/helpdata/en/4b/26c5394dbfef35e10000000a11402f/frameset.htm
extractor 0HR_PT_2 ? but seems that field is not there, need enhancement
you may go to help.sap.com, 'search documentation', choose netweaver, type in table name
Similar Messages
-
Update Profit Center Field in CO Line item tables
Hi,
We are working on ECC6.0 NewGL with Real-time CO-FI integration for Cross Company Code and Cross Pofit Center.
For those CO internal documents (like activity confirmation at production order) where there is no cross company code or cross profit center postings, no FI document is generated and hence table FAGLFLEXA is not updated. So, we wanted to take data from CO table COEP / COVP for these internal CO documents. However, there is no Profit Center field in CO line item tables COEP / COVP. We don't want to refer to Object Number (OBJNR) of COEP / COVP tables and take profit center from master table of cost centers, IOs etc..,as Profit center in the cost center, IO masters may get changed latter.
I tried to generate a new report through report painter from structure CCSS, but Profit center is not defined as Charactericts there. Hence of no use.
Can we append Profit Center field in CO line item tables COEP / COVP and update tatabase at the time of posting? Is there any risk?
Please suggest any other alternative...
Thanks,
BijayHi,
As per the standard process we can't derive PC from CO-internal Object...as per my knowledge.
Better you can derive from IO-CC master PC ....if your question that it will change frequently then -no control can make.
Regd,
Kha -
How do I restore field description in "View Responses" table
I inadvertendtly deleted the row of text at the top of the View Responses table that is linked to the form field. So now in the View Responses table, I can see the answers but not the questions. Is there a way to restore the link back to the form field without going into the table and typing in all the questions?
Figured it out. Discovered that by editing one character in the field on thje form, the text reappears in the table.So do you not have a question any longer then? Sounds like you figured out a way to get them back. Actually a good trick, I'll add it to the related FAQ - thanks.
Thanks,
Josh -
Add a new field to an existing Condition table
How can I add a new field to an existing condition table?
I have table 971 and I want to add INCOTERMS (INCO1) to this existing table but do not see how to add it.
ThanksHi Vicky,
I dont think you can add new fields to the condition table once you have activated the condition table.
SAP says you can only make limited changes to the condition table, like changing the description, fast entry screen, header and footer fields, but not able to add new fields to the table, and I think that is the correct approch or else for the same table you will have two sets of condition records.
Please refer to the below link:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
What you can do is create a new condition table with additional field and assign this table before the currently used table in the access sequence.
Hope this helps.
Regards
Raj -
How to update field values in a database table using module pool prg?
hi
how to update field values in a database table using module pool prg?
we created a customized table, and we put 2 push buttons in screen painter update and display.
but update is not working?
data is enter into screen fields and to internal table, but it is not updated in database table.
thanks in adv
vidyaHI,
we already used the update statement. but its not working.
plz check this.
*& Module Pool ZCUST_CALL_REC
PROGRAM ZCUST_CALL_REC.
TABLES: ZCUST_CALL_REC,ZREMARKS.
data: v_kun_low like ZCUST_CALL_REC-kunnr ,
v_kun_high like ZCUST_CALL_REC-kunnr,
v_bud_low like ZCUST_CALL_REC-budat,
v_bud_high like ZCUST_CALL_REC-budat.
ranges r_kunnr for ZCUST_CALL_REC-kunnr .
ranges r_budat for zcust_call_rec-budat.
DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
*data:begin of itab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of itab.
*data:begin of Jtab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of Jtab.
CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
*start-of-selection.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'ENQUIRY'.
perform multiple_selection.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9001'.
WHEN 'UPDATE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
perform update on commit.
WHEN 'DELETE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE USER_COMMAND_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
endcase.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Module STATUS_9001 OUTPUT
text
MODULE STATUS_9001 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9002 INPUT
text
module USER_COMMAND_9002 input.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'UPDATE'.
perform move_data.
UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
ENDIF.
WHEN 'DELETE'.
perform move_data.
DELETE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
ENDIF.
endcase.
endmodule. " USER_COMMAND_9002 INPUT
*& Module STATUS_9002 OUTPUT
text
module STATUS_9002 output.
SET PF-STATUS 'ZCUSTOMER1'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_9002 OUTPUT
*& Module update_table OUTPUT
text
module update_table output.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
endmodule. " update_table OUTPUT
***Selection Data
FORM SELECT_DATA.
SELECT mandt kunnr budat code remarks FROM zcust_call_rec INTO
table itab
WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
ENDFORM.
****append vendor code
FORM APPEND_CUSTOMER_CODE.
clear r_kunnr.
clear itab.
clear r_budat.
refresh r_kunnr.
refresh itab.
refresh r_kunnr.
IF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_high
IMPORTING
OUTPUT = r_kunnr-high.
r_kunnr-option = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
CALL SCREEN '9000'.
ENDIF.
PERFORM V_BUDAT.
ENDIF.
ENDFORM.
FORM V_BUDAT.
IF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'BT'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-HIGH = v_bud_HIGH.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
CALL SCREEN '9000'.
r_budat-low = ''.
r_budat-option = ''.
r_budat-sign = ''.
ENDIF.
ENDIF.
ENDFORM.
*& Form update
text
--> p1 text
<-- p2 text
form update .
commit work.
endform. " update
*& Form move_data
text
--> p1 text
<-- p2 text
form move_data .
clear itab.
refresh itab.
move-corresponding zcust_call_rec to itab.
MOVE ZCUST_CALL_REC-MANDT TO ITAB-MANDT.
MOVE ZCUST_CALL_REC-KUNNR TO ITAB-KUNNR.
MOVE ZCUST_CALL_REC-BUDAT TO ITAB-BUDAT.
MOVE ZCUST_CALL_REC-CODE TO ITAB-CODE.
MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
APPEND ITAB.
delete itab where kunnr is initial.
endform. " move_data
thanks in adv
vidya -
Adding field in Maintenance view of table
Hi,
I am trying to create a custom maintanable table. Now the requirement is I need to add one more extra field in the maintenace view of the table which should not be in the table fields and is for display only in the maintencae view.
I tried adding a cloumn by editing the screen program generated by the table maintenance generator. I get the the display in the maintenance view of that extra field. But I dont get the values populated.
Can you please let me know in which PBO or PAI i should write the module programe ..
Help will be rewarded with points.Hello Bluesh
Normally the extra field should be from a table that has a foreign-key relationship to your main table. Thus, add this additional table to the list of tables for the view. If it does not have a suitable relationship you cannot add it to the list of tables.
Afterwards add the required field to the list of view fields and set its property to 'R' = read-only.
If correctly defined there is no need at all to modify the screen(s) or the coding of the PBO/PAI modules.
Example: your z-table contains field KUNNR (value table KNA1) and you want to add the NAME1 field to your maintenance view
add table KNA1 to the list of tables
add field NAME1 to view fields
set its property to 'R'
regenerate function modules and screens
Regards
Uwe -
How to get the field name of an internal table during runtime?
How to get the field name of an internal table during runtime?
Hi Sudhir,
Declare and Use Get Cursor Field in Your Prm to get the field Name of the Intenal Table
Example Code:
<b> DATA: v_field(60). " Insert this code.
GET CURSOR FIELD v_field. " Insert this code.</b>
<b>CHECK v_field = 'ITAB-KUNNR'. " Insert this code. (or)
Write: v_field.</b>
Regards,
Ramganesan K. -
How to find Payer field is coming from which table
when i am pressing F1 in va02 trasaction on payr field it is showing kugrv table kunnr field and data element is kunrg .
May i know which table payr is coming as per above requirement.vbak-kunnr, CUSTOMER
vbrk-kunrg. "PAYER
vrkpa-kunde. "PAYER index on VBPA
Regards
Edited by: Raymond Giuseppi on Feb 10, 2008 11:01 AM -
How to add one more field to an exist internal table
hi abapers
i am a very new abap programmer and just started learning it.
i want to know How to add one more field to an exist internal table.
lemme me put my question in a very simple way.
i have a internal table having fields f1,f2,f3 and which also that internal also contains some data.
now i want to add two more fields (mm & nn) to that internal table now.
how can i do that.
and i wanna know the websites names where i can find some brain teasing questions in abap programming.
eagerly waiting for ur reply
regards,
Maqsood A KhanHi, MAQSOOD.
You can insert more fields in your internal table like this.
refer this code snippet.
DATA : BEGIN OF tbl_itab OCCURS 0.
INCLUDE STRUCTURE zsdtc009.
DATA : vkorg LIKE vbak-vkorg, "inserted one
vtweg LIKE vbak-vtweg, "inserted one
vkbur LIKE vbak-vkbur, "inserted one
vkgrp LIKE vbak-vkgrp, "inserted one
END OF tbl_itab.
you can also read the book "Teach yourself abap in 21 days"
at http://cma.zdnet.com/book/abap/
but that book is just about basic concept of abap and report program.
it doesn't give a lecture for on-line program.
you can get pdf version books(about abap, sap...things) from sap.
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
I wish I could help you.
Regards
Kyung Woo. -
How to use FIELD-SYMBOLS to declare a table
How to use FIELD-SYMBOLS to declare a table?
hi yong,
this will be very general:
FIELD-SYMBOLS : <gf_table> TYPE ANY TABLE.
or
to do like a specific table from your program
FIELD-SYMBOLS : <gf_table> TYPE itab.
itab is of course your internal table from your program.
ec -
Adding a boolean field to an existing sbo table
hi everybody
i want to add a boolean field to an existing sbo table.
when i try to do it from the tools ... manage user fields
i get only types like numeric string..
i dont get the booelan type
does anybody know how can i do that thanks.
for now i used the numeric type and the values 0 and 1Hi,
you can do it in the following way:
checkBox = ((SAPbouiCOM.CheckBox)(item.Specific));
checkBox.Caption = this.caption;
<b>checkBox.DataBind.SetBound(true, tableName, alias);</b>
checkBox.ValOn = "1";
checkBox.ValOff = "0";
Andrey -
Are field symbols and Dynamic internal tables consistant?
Hi,
Are field symbols and Dynamic internal tables
always consistent?
In my program I m creating a dynamic itab and assignig values to it using <FS>, sometimes the program fails to execute assign <Fs> statement...
this happens once in 3 to 4 runs
any solution...
I have proper clear and refresh statements in program.
Thanks,
HardikAnurag,
Thanks for a quick reply. Here I am sending a small piece of my code.
MOVE-CORRESPONDING OUTTAB TO DYNTAB.
CLEAR IT_UDATE.
CLEAR : T_KBETR .
READ TABLE IT_UDATE WITH KEY UDATE = OUTTAB-UDATE.
CONCATENATE 'DYNTAB-KBETR' IT_UDATE-CO_POS INTO T_KBETR.
ASSIGN (T_KBETR) TO <FS> .
SUBRC5 = SY-SUBRC .
IF SUBRC5 = 0 .
<FS> = OUTTAB-KBETR .
ENDIF .
read statement will always return CO_POS .
while debuging this code a few times
<b>ASSIGN (T_KBETR) TO <FS> .</b>
returns sy-subrc = 4
and that was leading the program to short dump earlier.
now, as I have a check DYNTAB-KBETR holds no value on display.
this happens very few times. (most of the times report is displaying desired output)
Thanks,
Hardik -
Field Symbols and dinamicaly selecting tables
I want to be able to select dinamicaly witch table to print.
their structure is the very similar but not equal (the order of the elements change)
so far im getting a "The data object "<WA_T>" has no structure and therefore no component ..." error
how can give it a structure?
FIELD-SYMBOLS: <t> TYPE STANDARD TABLE,
<wa_t> TYPE ANY.
IF r1 = 'X'.
ASSIGN ('TABI') TO <t>.
ASSIGN ('WA_TABI') TO <wa_t>.
ELSEIF r2 = 'X'.
ASSIGN ('TABI2') TO <t>.
ASSIGN ('WA_TABI2') TO <wa_t>.
ELSEIF r3 = 'X'.
ASSIGN ('TABI3') TO <t>.
ASSIGN ('WA_TABI3') TO <wa_t>.
ENDIF.
LOOP AT <t> INTO <wa_t>.
WRITE:/ <wa_t>-vkorg,
<wa_t>-name1,
<wa_t>-vbeln,
<wa_t>-audat,
<wa_t>-vbeln_d,
<wa_t>-wadat_ist,
<wa_t>-vbeln_b,
<wa_t>-fkdat,
<wa_t>-gbstk.
ENDLOOP.
Edited by: RagnaRock on Apr 8, 2010 12:18 PMThe fields to be printed can not be directly referred in the field symbol. Use 'ASSIGN COMPONENT' statement to access the fileds.
Modified the above program as per your requirements....
FIELD-SYMBOLS: <t> TYPE STANDARD TABLE,
<wa_t> TYPE ANY,
<field> TYPE ANY.
TYPES : BEGIN OF ty_tab,
vbeln TYPE vbeln,
erdat TYPE erdat,
END OF ty_tab.
DATA : tabi TYPE STANDARD TABLE OF ty_tab,
wa_tabi TYPE ty_tab.
SELECT vbeln erdat FROM vbak
INTO TABLE tabi
UP TO 10 ROWS.
ASSIGN ('TABI') TO <t>.
ASSIGN ('WA_TABI') TO <wa_t>.
LOOP AT <t> ASSIGNING <wa_t>.
ASSIGN COMPONENT 'VBELN' OF STRUCTURE <wa_t> TO <field>. "Refer a particular field
WRITE:/ <field>.
ENDLOOP.
Edited by: Satyajit on Apr 8, 2010 4:21 PM -
Field description of an internal table
Hi,
I am trying to read the field description of an internal table, which consists of fields from different DD tables. I am able to read the descriptions of a DD table by using FM 'DDIF_FIELDINFO_GET'.
Can you please suggest me how can read the text descriptions of an internal table fields in a Language other than English.
Thanks
LokmanHere is my code. I am trying to use imternal table instead of DD table. If I use internal table I get short dump. The language is OK withh DD table.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
TABNAME = 'ZFISB_TRANSFERS'
TABNAME = trsf_sel_tab
LANGU = SY-LANGU
TABLES
DFIES_TAB = trsf_field_tab.
*delete trsf_field_tab where fieldname <> 'NR' OR FIELDNAME <> 'TDATE'
*OR
FIELDNAME <> 'FYEAR'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'NR'
value_org = 'S'
callback_program = 'ZFI_SCHOOL_BANKING_APP'
callback_form = 'TRANSFERS_F4CALLBACK'
TABLES
field_tab = trsf_field_tab
value_tab = trsf_sel_tab
return_tab = return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3. -
Reg: field names of an Internal table
Hi all,
I'd like to display all the field names of the internal table or a structure.
I want it very urgent.
Use ful answers will be awarded greatly.
Thanks in advance.
Jagan Mohan.Hi Jagan,
Use the below code.
TYPE-POOLS: SYDES.
DATA: TD TYPE SYDES_DESC.
DATA: BEGIN OF WA OCCURS 0,
CONTINUE TYPE C,
NAME(15) TYPE C,
END OF WA.
TYPES:BEGIN OF STR1,
NUM(3) TYPE N,
NAME(20) TYPE C,
END OF STR1.
*DATA: ITAB LIKE T247 OCCURS 0 WITH HEADER LINE.
*DATA: ITAB TYPE STR1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF ITAB OCCURS 0,
NUM(3) TYPE N,
NAME(20) TYPE C,
END OF ITAB.
DESCRIBE FIELD ITAB INTO TD.
WA[] = TD-NAMES[].
LOOP AT WA.
IF WA-NAME = SY-REPID.
DELETE WA.
CONTINUE.
ENDIF.
SEARCH WA-NAME FOR '-'.
IF SY-SUBRC = 0.
DELETE WA.
CONTINUE.
ENDIF.
SEARCH WA-NAME FOR '='.
IF SY-SUBRC = 0.
DELETE WA.
CONTINUE.
ENDIF.
ENDLOOP.
LOOP AT WA.
WRITE: / WA-NAME.
ENDLOOP.
Maybe you are looking for
-
After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.
After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live. I can vi
-
Transferring pictures sent via sms to PC
My Daughter has over the past two years sent pictures of my Granddaughter via sms to me and now they are getting to be too many when I scroll down the list. I have an ip5 and would either like to transfer them into my itunes library or onto a sepera
-
How to Debug a Screen or Transaction ?
Hi , I am developing a screen with table control. I would like to debug that one. How can I do it ? Bye, Muttu.
-
Flattening documents with annotations
I'm trying to flattening a PDF document with annotations using the transformPDF service method (OutputService). Unfortunately all annotations are lost after flattening the PDF document. The reason why we want to achieve this is that we want to ensure
-
EE with PLC & LabVIEW Programming - Pittsburgh PA
We are the company that automates & educates the world's leading companies! We grew 100% last year and are continuing on that accelerated path this year. We offer diverse, challenging, rewarding and collaborative experiences to talented team players