Doubt in Tabstrip
Hi,
In Modulepool Program,
There are three Tabstrip,
One TABSTRIP contains tab as LIST1 and GRAPH1 and
second TABSTRIP contains tab as LIST2, MODULE
Third TABSTRIP contains tab as LIST3 and GRAPH2.
MODULE TAB contains subscreen displays interactive ALV.
When you press any value in the tab LIST1 second TABSTRIP will be displayed.
In Second TABSTRIP, In MODULE TAB, if you select any value, third TABSTRIP will be displayed
After this process, the problem comes when you goto first TABSTRIP and do the process again,
By default the second TABSTRIP shows the LIST2 values.
We have tried to refresh the ALV Grid and container. But not getting the correct output.
Can anybody guide us what to do to get correct output.
have a look
[Link|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm]
Regards
Shashi
Similar Messages
-
Doubt in tabstrip creation.
hi friends,
while creating tabstrip,there occurs a problem.so if possible send me the procedure how to poerform tabstrip function.please send me the synyax also.
thanks
revathy.Hi,
Pls find the below code..
*& Include MZDS_CRTSCREENI01
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'SPFLI' OR 'SBOOK'.
TAB1-ACTIVETAB = OK_CODE.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
LEAVE TO SCREEN 100.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Include MZDS_CRTSCREENO01
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'BASE'.
SET TITLEBAR 'TITLE'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module CLEAR_OKCODE OUTPUT
* text
MODULE CLEAR_OKCODE OUTPUT.
CLEAR OK_CODE.
ENDMODULE. " CLEAR_OKCODE OUTPUT
MODULE DISPLAY_DATA OUTPUT.
CASE 'X' .
WHEN RBT-SPFLI.
SELECT CITYFROM AIRPFROM CITYTO AIRPTO FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE IT_SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FLDATE = ' '.
BOOKNO = ' '.
CUSTNO = ' '.
LOOP AT IT_SPFLI.
DEP_CITY = IT_SPFLI-CITYFROM.
DEP_AIR = IT_SPFLI-AIRPFROM.
DES_CITY = IT_SPFLI-CITYTO.
DES_AIR = IT_SPFLI-AIRPTO.
ENDLOOP.
WHEN RBT-SBOOK.
SELECT SINGLE FLDATE BOOKID CUSTOMID FROM SBOOK
INTO CORRESPONDING FIELDS OF IT_SBOOK
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FLDATE = IT_SBOOK-FLDATE.
BOOKNO = IT_SBOOK-BOOKID.
CUSTNO = IT_SBOOK-CUSTOMID.
DEP_CITY = ' '.
DEP_AIR = ' '.
DES_CITY = ' '.
DES_AIR = ' '.
ENDCASE.
ENDMODULE.
*& Module CALL_DYNNR OUTPUT
* text
MODULE CALL_DYNNR OUTPUT.
CASE TAB1-ACTIVETAB.
WHEN 'SPFLI'.
DYNNR = 102.
WHEN 'SBOOK'.
DYNNR = 103.
WHEN OTHERS.
TAB1-ACTIVETAB = 'SPFLI'.
DYNNR = 102.
ENDCASE.
ENDMODULE. " CALL_DYNNR OUTPUT
*& Module DISPLAY_SFLIGHT OUTPUT
* text
MODULE DISPLAY_SFLIGHT OUTPUT.
SELECT CITYFROM AIRPFROM CITYTO AIRPTO FROM SPFLI
INTO CORRESPONDING FIELDS OF TABLE IT_SPFLI
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
CITY_FROM = IT_SPFLI-CITYFROM.
AIRP_FROM = IT_SPFLI-AIRPFROM.
CITY_TO = IT_SPFLI-CITYTO.
AIRP_TO = IT_SPFLI-AIRPTO.
ENDMODULE. " DISPLAY_SFLIGHT OUTPUT
*& Module DISPLAY_SBOOK OUTPUT
* text
MODULE DISPLAY_SBOOK OUTPUT.
SELECT SINGLE FLDATE BOOKID CUSTOMID FROM SBOOK
INTO CORRESPONDING FIELDS OF IT_SBOOK
WHERE CARRID = SPFLI-CARRID
AND CONNID = SPFLI-CONNID.
FL_DATE = IT_SBOOK-FLDATE.
BOOKID = IT_SBOOK-BOOKID.
CUSTOMID = IT_SBOOK-CUSTOMID.
ENDMODULE. " DISPLAY_SBOOK OUTPUT
*& Include MZDS_CRTSCREENTOP Module Pool SAPMZDS_CRTSCREEN
PROGRAM SAPMZDS_CRTSCREEN.
TABLES: SPFLI,SBOOK.
DATA: OK_CODE TYPE SYUCOMM.
CONTROLS TAB1 TYPE TABSTRIP.
DATA: BEGIN OF IT_SPFLI OCCURS 0,
CITYFROM TYPE SPFLI-CITYFROM,
AIRPFROM TYPE SPFLI-AIRPFROM,
CITYTO TYPE SPFLI-CITYTO,
AIRPTO TYPE SPFLI-AIRPTO,
END OF IT_SPFLI.
DATA: IT_SBOOK TYPE SBOOK.
DATA: DYNNR TYPE SY-DYNNR.
DATA: DEP_CITY(20) TYPE C,
DEP_AIR(20) TYPE C,
DES_CITY(20) TYPE C,
DES_AIR(20) TYPE C.
DATA: FLDATE(20) TYPE C,
BOOKNO(20) TYPE C,
CUSTNO(20) TYPE C.
DATA:CITY_FROM(20) TYPE C,
AIRP_FROM(20) TYPE C,
CITY_TO(20) TYPE C,
AIRP_TO(20) TYPE C.
DATA: FL_DATE(20) TYPE C,
BOOKID(20) TYPE C,
CUSTOMID(20) TYPE C.
DATA: BEGIN OF RBT,
SPFLI VALUE 'X',
SBOOK,
END OF RBT.
*& Module Pool SAPMZDS_CRTSCREEN
INCLUDE MZDS_SUBSCREENTOP.
*INCLUDE MZDS_IOCHKRBTTOP.
INCLUDE MZDS_SUBSCREENO01.
*INCLUDE MZDS_IOCHKRBTO01.
INCLUDE MZDS_SUBSCREENI01.
*INCLUDE MZDS_IOCHKRBTI01.
INCLUDE MZDS_SUBSCREENF01.
*GUI Texts
* TITLE --> MODULE POOL PROGRAM BY DS
HTH
Regards,
Dhruv Shah -
Hi All,
i had created an Custom Infotype.
In that infotype i had created Tabstrip control with 2tabs.
Each Tab contain 4 fields.
When creating( F5) a record in transaction PA30, it allowing me create a record and the record is available in Data base table.
1. My doubt is, when Display the Record through F7 and Change mode (F6), Still the fields are in editable mode. But not in Display Mode ( Editable Mode ).
How to Disable the Fields for this Tab Strip Control. I have not used any Group Field for this. Can we need to Main tain anything.
But SAVE option is automatically disabled.Iam not able to SAVE when i press F7 but in Editable is the My Problem.
2. And one more query is, when press F5 or F6 or F7 it is show the following message at End screen,i.e.
Protected tab titles are not supported (tab MENU_TABSTRIP title PUSH1) . But MENU_TABSTRIP is My Tab Strip control text Name and PUSH1 is my Tab1 , Function code.
How to remove this message.
Points will be rewarded.
Thanks,
N.L.Hi,
Try this ....In the Table Control, double click on a field. In the attributes make that field as output only...
Hope it helps,
Swathi -
hi experts,
i have to define tabstrip and subscreen areaat single screen (let 9001) and in tabstrip attribute pass thatsubscreen area as reference , so that tabstrip have a common area. what i have done , have created tabstrip named main_tab having push button main_tab_tab1 , fct code - main_tab, reference - main_tab_sca
main_tab_tab2, fct code - main_tab, reference - main_tab_sca
subscreen area - main_tab_sca,
but when i activate it gives error that main_tab_tab1 is not assigned to subscreen.
please suggest.
Again is it possible to drag tabstrip on subscreen area, if yes , how.
i am waiting, points sure,
Thanks,
AnshuHi Anshu,
As you have said... You have assigned different FCODS to different buttons.
There are two concepts in TAB STRIP.
1. Local Scrolling at the Frontend ( PAI will not trigger when you move from one tab to another.) You need to have a different subscreen for each tab page.
2. Scrolling at the Application Server. (PAI will trigger) You will need only one sub screen here.
Now as you are using only one subscreen you want option 2.... YA.
Here you have to define the function codes of the individual tab titles without a special function type. I.e Double clieck on the tab buttong and see in property which function type you have used. If you have used any remove it error will go.
Hope this will help for any doubt in UI and MODULE POOL programming you can contact me, I will try to help where-ever I can.
Darshan.
<i><b>Please reward points to helpful answer. It Motivates us to Help Others.</b></i> -
Hi all,
I have created a new view and customized the fieldgroup in that view for an application.
All other things say tabstrip group and toolbar group are in the default view only.
So I have a doubt whether it will be fine to have two different views for an application.
Whether it will lead to any performance problem???
Whether I need to change the other groups in the default view also to my own view????
Please help me in this regard.
Thanks,
Purushothaman.Purushothaman,
A new view in the PCUI will lead to any performance issues. I prefer not to modify the default view, so that I can always revert back to standard (easier than deleting blueprint entries for the default). The way I understand that the PCUI works, if you do not define certain sections of application for the new view, it will always go back to the old view for the details.
You will however need to change the customizing in the portal roles/portal iviews so that the BLVIEW parameter passed to each application is your new view for those you changed. This is especially important in the object linking configuration.
Good luck,
Stephen -
Hello frnds,
i want to go for BDC in va01. can anyone just tell me how to write code for tabstrips. i m getting doubt that how to wtite code for tabstrips.
plzz help.
regards,
satyaHi,
why don't use Transaction SHDB.
Actually it will be like this.
clear BDCDATA.
refresh BDCDATA.
IDX = 1.
perform BDC_DYNPRO using 'SAPMV45A' '0101'.
perform BDC_FIELD using 'BDC_CURSOR'
'VBAK-AUART'.
perform BDC_FIELD using 'BDC_OKCODE'
'/00'.
perform BDC_FIELD using 'VBAK-AUART'
'OR05'.
perform BDC_FIELD using 'VBAK-VKORG'
IT_PO_ITEM-VKORG. "8031'.
perform BDC_FIELD using 'VBAK-VTWEG'
IT_PO_ITEM-VTWEG. "02'.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
perform BDC_FIELD using 'BDC_OKCODE'
'=HEAD'. "'/00'.
perform BDC_FIELD using 'VBKD-BSTKD'
IT_PO_ITEM-ES_PO_NO."'3000008511'.
perform BDC_FIELD using 'KUAGV-KUNNR'
IT_PO_ITEM-Z_SOLD_TP. "'400003'.
perform BDC_FIELD using 'KUWEV-KUNNR'
IT_PO_ITEM-Z_SHIP_TP. "'400003'.
perform BDC_DYNPRO using 'SAPMV45A' '4002'.
perform BDC_FIELD using 'BDC_OKCODE'
'=T\03'.
perform BDC_DYNPRO using 'SAPMV45A' '4002'.
perform BDC_FIELD using 'BDC_OKCODE'
'/EBACK'.
clear DATE.
concatenate G_BILL_DATE6(2) '.' G_BILL_DATE4(2) '.' G_BILL_DATE+0(4) into DATE.
perform BDC_FIELD using 'VBKD-FKDAT'
DATE."'29.03.2007'.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
perform BDC_FIELD using 'BDC_OKCODE'
'/00'.
loop at IT_PO_ITEM into IS_PO_ITEM.
concatenate 'RV45A-KWMENG(' IDX ')' into FNAM.
perform BDC_FIELD using 'BDC_CURSOR'
FNAM. "'RV45A-KWMENG(01)'.
concatenate 'RV45A-MABNR(' IDX ')' into FNAM.
perform BDC_FIELD using FNAM "'RV45A-MABNR(01)'
IS_PO_ITEM-ST_MAT_CODE."'sd-mgmtfees'.
concatenate 'VBAP-POSNR(' IDX ')' into FNAM.
perform BDC_FIELD using FNAM "'VBAP-POSNR(01)'
IS_PO_ITEM-ES_PO_LN. "' 10'.
concatenate 'RV45A-KWMENG(' IDX ')' into FNAM.
perform BDC_FIELD using FNAM "'RV45A-KWMENG(01)'
' 1'.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
if IDX eq 1.
perform BDC_FIELD using 'BDC_OKCODE'
'=ITEM'.
else.
perform BDC_FIELD using 'BDC_OKCODE'
'/00'.
endif.
concatenate 'VBAP-POSNR(' IDX ')' into FNAM.
perform BDC_FIELD using 'BDC_CURSOR'
FNAM . "'VBAP-POSNR(01)'.
concatenate 'RV45A-VBAP_SELKZ(' IDX ')' into FNAM.
perform BDC_FIELD using FNAM "'RV45A-VBAP_SELKZ(01)'
'X'.
if IDX eq 1.
perform BDC_DYNPRO using 'SAPMV45A' '4003'.
perform BDC_FIELD using 'BDC_OKCODE'
'=T\05'.
perform BDC_FIELD using 'BDC_CURSOR'
'RV45A-KWMENG'.
perform BDC_FIELD using 'RV45A-KWMENG'
' 12'.
else.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
perform BDC_FIELD using 'BDC_OKCODE'
'=ITEM'.
endif.
perform BDC_DYNPRO using 'SAPMV45A' '5003'.
perform BDC_FIELD using 'BDC_OKCODE'
'/00'.
perform BDC_FIELD using 'BDC_CURSOR'
'KOMV-KBETR(09)'.
perform BDC_FIELD using 'KOMV-KSCHL(09)'
'PR00'.
data NETWR(13) type C.
if G_M_FEE eq YES or OANDA eq YES.
NETWR = IS_PO_ITEM-NETWR.
endif.
perform BDC_FIELD using 'KOMV-KBETR(09)'
NETWR."IS_PO_ITEM-NETWR."' 123.45'.
perform BDC_DYNPRO using 'SAPMV45A' '5003'.
perform BDC_FIELD using 'BDC_OKCODE'
'/EBACK'.
perform BDC_FIELD using 'BDC_CURSOR'
'KOMV-KSCHL(01)'.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
perform BDC_FIELD using 'BDC_OKCODE'
'/00'.
perform BDC_DYNPRO using 'SAPMV45A' '4001'.
perform BDC_FIELD using 'BDC_OKCODE'
'=SICH'.
endloop.
perform BDC_TRANSACTION using 'VA01'.
Regds,
Vinsa.R -
Passing values using "Submit" and also transition to another tabstrip
Hi, I am new to VC and have some basic issues in my model.
I have used two layers, the first one for selection of data and the second one to disply the charts, using tabstrips. when I input the data in the first tab and click "Submit" pushbutton, I could not transition automatically to the second which shows the data. I found that onely one action can be set under custom action on the pushbutton. Is there a better way to do?
I could get the relevant documents when I searched. Please let me know how to achieve this. Thanks
KSHi
Follow the steps below - (I am assuming that you are using BI queries in your model & your tabs are as per quarter - one tab for each quarter)
1. Create one radio button & in entry list create static list as 1 - Quarter 1, 2 - Quarter 2 & so on.
2. Now you want plan Vs actual in one graph & Currency in another. So create these reports for each quarter separately, so in all you will have 8 reports (2 for each quarter)
3. IN the layout you have to arrange it vary carefully, you take all the 'Plan Vs Actual' report for all the quarters & arrange them exactly one over the other. Same for Currency reports also.
4. NOw Give visibility condition for each report example - if report is for first quarter then condition will be - bool(if(radio button string=="1",true,false)) & assign the default value in radio button as 1. so that at the time of execution you will get these reports by default.
5. Like wise give condition for all.
6. When you execute this report you will get radio buttons at the top & as you select different buttons differents report will get opened.
7. As you have plased these exactly one over the other, user will not come to know these are different reports.
Try this method, if you have any doubts for this, please do ask me.
Regards
Sandeep -
Can we design a table control inside a tabstrip.I have been learning the various options,but am not able to find the exact sequence of events for writing the code.
Please send me any zcode / pdf which could solve my doubt.hi shena,
I will send a sample code for creating a table control in tabstrip..check it once. i will send SE38, SE51 CODE.
SE38 CODE:
*& Module pool YMODULEPOOL_TABCTRLTABSTRIP *
*& DEVELOPER : KIRAN KUMAR.G *
*& PURPOSE : PLACING TABLE CONTROL IN TABSTRIPS *
*& CREATION DT : 18/12/2007 *
*& T.CODE : YMODTABCTRLTABS *
*& REQUEST : ERPK900035 *
PROGRAM YMODULEPOOL_TABCTRLTABSTRIP.
Tables
tables :
yvbak, "Sales Document: Header Data
yvbap. "Sales Document: Item Data
Controls
controls: my_tab type tabstrip, "For Tabstrips
my_table type tableview using screen 110.
Internal Table
*Item Data.
data: begin of gt_item occurs 0,
vbeln like vbap-vbeln,
posnr like vbap-posnr,
matnr like vbap-matnr,
matkl like vbap-matkl,
arktx like vbap-arktx,
cflag, "Deletion Flag
end of gt_item.
*Header Data
data: begin of gt_head occurs 0,
vbeln like vbak-vbeln,
erdat like vbak-erdat,
auart like vbak-auart,
vkorg like vbak-vkorg,
vtweg like vbak-vtweg,
cflag,
end of gt_head.
Global Variables
*Table Control(MY_TABLE)
data: gv_number like sy-dynnr, "Screen Number
gv_mode type c value 'D', "C:Change D:Display
gv_temp type i, "Temporary Variable
gv_lines type i. "NO.OF Records in the Table
*& Module STATUS_0100 OUTPUT
text
module STATUS_0100 output.
SET PF-STATUS 'ZTAB'.
endmodule. " STATUS_0100 OUTPUT
*& Module active_tab OUTPUT
text
module active_tab output.
*Default Active Tab Selection.
if my_tab-activetab is initial.
my_tab-activetab = 'INFO'.
gv_number = '0110'.
endif.
endmodule. " active_tab OUTPUT
*& Module copy_data1 OUTPUT
text
module copy_data1 output.
*Read the data from the Internal Table and place them in Table control
read table gt_item index my_table-current_line.
if sy-subrc eq 0.
gt_item-vbeln = gt_item-vbeln.
gt_item-posnr = gt_item-posnr.
gt_item-matnr = gt_item-matnr.
gt_item-matkl = gt_item-matkl.
gt_item-arktx = gt_item-arktx.
endif.
endmodule. " copy_data1 OUTPUT
*& Module copy_dat OUTPUT
text
module copy_dat output.
refresh : gt_item.
select vbeln
posnr
matnr
matkl
arktx
from yvbap
into table gt_item
where vbeln = vbak-vbeln.
if sy-subrc eq 0.
describe table gt_item lines gv_lines.
my_table-lines = gv_lines + 20.
endif.
endmodule. " copy_dat OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
module USER_COMMAND_0100 input.
case sy-ucomm.
when 'INFO'.
my_tab-activetab = 'INFO'.
gv_number = '0110'.
when 'EXIT' or 'CANCEL'.
call transaction 'SESSION_MANAGER'.
endcase.
endmodule. " USER_COMMAND_0100 INPUT
*& Module USER_COMMAND_0110 INPUT
text
module USER_COMMAND_0110 input.
case sy-ucomm.
*Insert New Record
when 'INSE'.
*NO.OF Recors in the Internal Table
describe table gt_item lines gv_lines.
read table gt_item index my_table-current_line.
gv_temp = gv_temp + 1.
if gv_temp gt gv_lines.
*Insert Record into Internal Table
insert table gt_item.
*Insert Record into Database Table
insert into yvbap values gt_item.
endif.
*Save the Data
when 'SAVE'.
*Modify Data in the Internal Table
modify gt_item index my_table-current_line.
if sy-subrc eq 0.
*Modify Data in the Database Table
modify yvbap from table gt_item.
endif.
*Delete the Record
when 'DELE'.
if gt_item-cflag = 'X'.
*Delete the Record from the Database Table
delete from yvbap where vbeln = gt_item-vbeln
and posnr = gt_item-posnr
and matnr = gt_item-matnr
and matkl = gt_item-matkl
and arktx = gt_item-arktx.
*Delete the Record from the Internal Table
delete gt_item index my_table-current_line.
endif.
endcase.
endmodule. " USER_COMMAND_0110 INPUT
*& Module clear_data OUTPUT
text
module clear_data output.
*Clear the data when ever u enter into Table Control
clear gv_temp.
endmodule. " clear_data OUTPUT
*& Module clear_data1 OUTPUT
text
module clear_data1 output.
clear gv_temp1.
endmodule. " clear_data1 OUTPUT
SE51 CODE(SCREEN 100)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*Initial TabStrip Selection
MODULE active_tab.
*Placing Table Control data in Internal Table
module copy_dat.
*Display Mode
*calling subscreen
call subscreen subs including sy-cprog gv_number.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
call subscreen subs.
SE51(SCREEN 110)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0110.
loop at gt_item with control my_table cursor my_table-current_line.
module copy_data1.
endloop.
*CLEAR the Temporary variable value
module clear_data.
PROCESS AFTER INPUT.
*Populate data into internal Table
loop at gt_item.
MODULE USER_COMMAND_0110.
endloop.
Award points if helpful.
kiran kumar.G
Have a Nice Day.... -
hi i have a doubt....
in fbl1n transaction, there are open items and cleared items.
in it the cleared items for certain document types such as invoice etc is not present in the open item table (bsik)
however the cleared items for document types such as general voucher its present in the open items table (bsik)
is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
plz exlain!Hi
There are 2 tables(open and Closed Items) in FI for Account Payables and Account Receivables and GL accounts
1.Account payables: BSIK is Open Items and BSAK is Closed items
2.Account Receivables; BSID and BSAD for OPEN and closed items
3/GL accounts : BSIS and BSAS for Open and Closed Items
<b>Reward points for useful Answers</b>
Regards
Anji -
Error in creation of Tabstrip Control
Hi Guy's
Please help me i created one sample tabstrip, when executing this program i am getting error message" SQL Error in the database when accessing a table". Pasting my code here please help me where i did mistake. it is very urgent.
1) IN SE-38
tables : kna1.
data : begin of itab occurs 0,
land1 type LAND1_GP,
name1 type NAME1_GP,
end of itab.
*& Module USER_COMMAND_0100 INPUT
case sy-ucomm.
when 'DISP'.
select land1 name1 from kna1 into itab where kunnr = kna1-kunnr.
append itab.
endselect.
when 'EXIT'.
leave program.
endcase.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module STATUS_0110 OUTPUT
MODULE STATUS_0110 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
MOVE-CORRESPONDING ITAB TO KNA1.
ENDMODULE.
2) IN SE51-Fow Logic and layout of Screen 100
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN SUB INCLUDING 'ZSHANTHU1' '110'.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
CALL SUBSCREEN SUB.
3) In the screen -110 Flow logic and Layout
PROCESS BEFORE OUTPUT.
MODULE STATUS_0110.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0110.
Edited by: sai shanhu on Apr 11, 2008 1:32 PMHi,
From the message it seems either you are using wrong company code in Organisation data of the PO or the company code need to be assigned to country in spro-enterprise structure-Financial accounting-edit copy check company code.
Please check this.
Dhruba -
Doubt in creation of a new object
Hi All,
I have one doubt in creation of a new object.If a new object is to be created and it is not a subtype
of any existing object, then what should we enter in the Program field for creating the object?
I hope I am clear with my question.
Thanks in Advance,
Saket.Hi Saket,
Following will be required for created a custom business object.
1. Object Type - ZTEST (Internal Techincal Key)
2. Object Name - ZTESTNAME (Technical Key Name)
3. Name - TEST (Name of BO, it is used while selecting the object type)
4. Description - (Short Description of BO)
5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
6. Application - A or B.. etc (Area to which your BO is related)
Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
Regards,
Gautham Paspala -
Hi Everyone,
Can we read and validate the attachment of the mail.If so how to do it.
Thanks in advance,
SakthiHi Sakthi,
Please refere the below links:
http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/52b240ac052817e10000000a1550b0/frameset.htm
Let me know if you have any doubts regarding this.
Thanks,
sekhar. -
PI' RFC Connection pool doubt.
Hi PI exports:
i have a doubt about pi' RFC Connection pool ,pi RFC receive channel can set the conn pool size ,but when start the rfc receiver channel ,is there always only one Connection pool ,or there is only one Connection pool instance?
thinks
Edited by: kevin liang on Oct 19, 2009 6:45 AMHi,
Connection poolins size means how many number of connection you want to make open to send data to ECC, We can define maximum number of connection in Receiver RFC Adapter,Go to additional parameters section and define Max Number of connection give the number there,thats it.Internally it works as Connection poolin mechanism.
Regards,
Raj -
Small Doubt Regarding SY-MANDT
Hi All,
SELECT changenr FROM cdhdr CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
WHERE mandant = syst-mandt
AND objectclas = 'MATERIAL'
AND objectid = wa_matl-matnr
AND tcode = 'MM02'.
I have written the select stament as shown above.
In this i have a doubt like adding a field sy-mandt in the where condition will increase the Efficiency of program or not.
regards,
raghu.Hi..
No doubt the efficency would be affected but from business point of view there will many things that need to be checked as in:
If you are viewing data from CDHDR and CDPOS which is client specific then you are not viewing complete data.
These tables give us and document changes made to a particular object in SAP but if anything is cross client like company code(lets assume) then changes to it wont be visible in all the clients..
so there can be some key information you can miss out while working on some of the objects.
else in this case its good to make query cross client.
regards
vishal -
Doubts with control break statements on internal table loops (AT/ENDAT)
Hi, i've had a couple of doubts for a long while which I hope someone can clarify today:
1) I know how to use the AT statements, however, i'm not sure I get correctly what this part of help regarding this commands means:
<i>"The control level structure with internal tables is static. It corresponds exactly to the sequence of columns in the internal table (from left to right). In this context, the criteria according to which you sort the internal table are unimportant."</i>
I've always sorted the internal table before the control break and it works that way. For example:
SORT ITAB BY EBELN EBELP.
LOOP AT ITAB.
AT NEW EBELN.
* Code for the order header
ENDAT.
ENDLOOP.
If I <b>don't</b> sort the internal table, it doesn't work! (i get dupplicated processing). In the example, if i have more than one register with the same EBELN and they're not consecutive, the header gets processed twice. I really don't get that part of the help text.
2) I know this: <i>"At the start of a new control level (i.e. immediately after AT), the following occurs in the output area of the current LOOP statement:
All character type fields (on the right) are filled with "*" after the current control level key.
All other fields (on the right) are set to their initial values after the current control level key."</i>
My doubt is: WHY is that this way? Because sometimes (most times) I need those fields INSIDE the statement! So when that happened i've solved it in one of three ways:
LOOP AT ITAB INTO WA_ITAB.
WA_ITAB_AUX = WA_ITAB.
AT NEW FIELD.
WA_ITAB = WA_ITAB_AUX.
* ...Rest of the code for the first register
ENDAT.
ENDLOOP.
LOOP AT ITAB INTO WA_ITAB.
AT NEW FIELD.
READ TABLE ITAB INDEX SY-TABIX INTO WA_ITAB.
* ...Rest of the code for the first register
ENDAT.
ENDLOOP.
* (Without AT)
LOOP AT ITAB INTO WA_ITAB.
IF WA_ITAB-FIELD <> FIELD_AUX.
FIELD_AUX = WA_ITAB_FIELD.
* ...Rest of the code for the first register
ENDIF.
ENDLOOP.
Is there any problem with this way of coding? Can be done better?
Thank you very much in advance.Hi..,
1)
See if u sort the table on a field on which u r using AT ENDAT .. then all the records which are having the same value for that field will form a group or those reocrds will be at one place.. so when u sort the table for all the records AT ENDAT will get executed onli once..
If u dont sort this table on this field then all these records will be at different places and in between there may be records with different value for this field.. so this AT ENDAT will get executed for each record !!
2)
No u cannot use the Right hand fields of the field in the table .. Because these AT events work as Group based operations... So till that field on which AT ENDAT is working it breaks that record into two groups.. One is the left hand fields including that field.. and right hand fields as another group.. and makes the right hand group as stars ****. Thats y u can observe that even any one field in the left hand group changes the AT ENDAT will get executed !!!!
Hope u understood !!!
regards,
sai ramesh
Maybe you are looking for
-
Site messed up after adding Contact form.
The site is online in its current state: http://www.wientjesvoegwerk.nl/index.html The site uses (X)HTML, JAVA, PHP and Spry tabbed panels with a CSS layout. The current state has: <?php include("mail.php"); ?> Before the Doctype, etc. <?php $xajax->
-
Hi QM Experts, My client is calculating Vendor Quality Rating based on following Formula QR = ( (Q1Q2X1Q3X2Q5X3Q6X4+Q7X5)/Q ) *100 QR = Quality Rating Q1 = Quantity Accepted Q2= Quantity Accepted with Deviation Q3=
-
Sending windows friendly pictures in email
I send out a lot of photos to family, using mail and iphoto. My brother who has a windows machine, has to open each one seperately. Which needless to say is a pain. As far as Iv know this was not a problem when I used the camera software and attached
-
Binding parameters in backing bean
hey, i have a function func1(String str) with a parameter in my bb i use code to invoke the function: BindingContainer bindings = getBindings(); OperationBinding operationBinding = bindings.getOperationBinding("func1"); operationBinding.execute(); ho
-
About HR payroll posting FI in the distributed systems
Hi All, I have a question about HR payroll post FI in the distributed system(both are Ecc6.0). There are difference In configuration between Ecc6.0 and lower version(like 4.70, 46C) ? Best regards, Sap leaner