Hi Rafeal,
Yes there is no catalog,please maintain that.
Regards,
Madhu.
Hi Rafeal,
Yes there is no catalog,please maintain that.
Regards,
Madhu.
Hi every one,
I have done every thing mentioned above.
Executed prog RSEOUT00.
BD87 and set to transfer immed.
But still I am getting the same status.
Can anyone help me.
In BD87 I am getting blank new status.
Thanks.
Vibhor
Dear,
The exception has the answer. ![]()
Regards
Purnand
Hi Bastin,
Thanks for response. I am using this enhancement for this, Can you guide that SHDO (Screen Variant) can be user wise.
Ram
hi Pradosh,
According to me your requirement doesn't require a parallel cursor technique.......the logic you have written is perfect to your requirement.....
thanks and regards,
narayan
Hi Ram,
Check the below link which already available in SCN
http://help.sap.com/saphelp_47x200/helpdata/en/bf/ec07845db911d295ae0000e82de14a/frameset.htm
Hi,
FYI PFBL.
http://****************/Tutorials/HRABAP/PA30/Create1.htm
http://****************/Tutorials/HRABAP/Infotype/Enhancement.htm
I hope above links will help's to u ![]()
Regards
Mahesh ![]()
Hi Rafael !
Please try this:
(and let me know if i am wrong)
************************************************************************
**** T-Y-P-ES - P-O-O-L-S D-E-C-L-A-R-A-T-I-O-N A-R-E-A *****
************************************************************************
TYPE-POOLS: SLIS. " ALV Global types
************************************************************************
******** T-Y-P-E-S D-E-C-L-A-R-A-T-I-O-N A-R-E-A ************
************************************************************************
TYPES: BEGIN OF ty_aux,
aux_1 TYPE c LENGTH 50,
aux_2 TYPE i,
END OF ty_aux.
************************************************************************
*DATA: IS_G_A_LAYOUT TYPE SLIS_LAYOUT_ALV. "Layout
************************************************************************
* E-V-E-N-T-S
************************************************************************
DATA: FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME
VALUE'TOP_OF_PAGE',
GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
GT_EVENT TYPE SLIS_T_EVENT,
LS_LINE TYPE SLIS_LISTHEADER,
L_INFO(200) TYPEC.
************************************************************************
* S-O-R-T - T-A-B-L-E-S
************************************************************************
DATA: GT_SORT TYPE SLIS_T_SORTINFO_ALV,
GS_SORT TYPE SLIS_SORTINFO_ALV. "Sort table
************************************************************************
***** I-N-T-E-R-N-A-L T-A-B-L-E-S D-E-C-L-A-R-A-T-I-O-N A-R-E-A ****
************************************************************************
i_aux TYPE STANDARD TABLE OF ty_aux.
************************************************************************
****** V-A-R-I-A-B-L-E-S D-E-C-L-A-R-A-T-I-O-N A-R-E-A *******
************************************************************************
DATA : V_LAYOUT TYPE SLIS_LAYOUT_ALV,
V_CNT TYPE I,
V_REPID TYPE SYST-REPID,
INITIALIZATION.
V_REPID = SY-REPID.
* ************************************************************************
******** S-T-A-R-T O-F S-E-L-E-C-T-I-O-N ************
************************************************************************
START-OF-SELECTION.
PERFORM GET_DATA. " Perform your query here and put the final data in internal table i_aux.
"You may perform your query using several performs, based on number of tables "you are using.
PERFORM PASS_FIELD_NAME USING FIELDCAT.
PERFORM EVENTTAB_BUILD USING GT_EVENT[].
PERFORM COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
PERFORM PASS_DATA_LIST_OUTPUT.
PERFORM TOP_OF_PAGE.
*&---------------------------------------------------------------------*
*& Form GET_DATA
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
"Perform your queries....
*&---------------------------------------------------------------------*
*& Form PASS_FIELD_NAME
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_FIELDCAT text
*----------------------------------------------------------------------*
FORM PASS_FIELD_NAME USING P_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-ROW_POS = '01'.
LS_FIELDCAT-COL_POS = V_CNT.
LS_FIELDCAT-FIELDNAME = 'AUX_1'. "Please remember to pass your field in UPPER CASE only
LS_FIELDCAT-TABNAME = 'I_AUX'.
LS_FIELDCAT-DO_SUM = SPACE.
LS_FIELDCAT-OUTPUTLEN = '10'.
LS_FIELDCAT-KEY = 'X'. "Use this if your current field (AUX_1) is a key field.
LS_FIELDCAT-SELTEXT_S = TEXT-001.
LS_FIELDCAT-SELTEXT_M = TEXT-001.
LS_FIELDCAT-SELTEXT_L = TEXT-001. "Here please give the column label for display, by "double clicking on 'TEXT-001.
APPEND LS_FIELDCAT TO P_FIELDCAT.
LS_FIELDCAT-ROW_POS = '01'.
LS_FIELDCAT-COL_POS = V_CNT.
LS_FIELDCAT-FIELDNAME = 'AUX_2'. "Please remember to pass your field in UPPER CASE only
LS_FIELDCAT-TABNAME = 'I_AUX'.
LS_FIELDCAT-DO_SUM = SPACE.
LS_FIELDCAT-OUTPUTLEN = '10'.
LS_FIELDCAT-SELTEXT_S = TEXT-002.
LS_FIELDCAT-SELTEXT_M = TEXT-002.
LS_FIELDCAT-SELTEXT_L = TEXT-002.
APPEND LS_FIELDCAT TO P_FIELDCAT.
*&---------------------------------------------------------------------*
*& Form EVENTTAB_BUILD
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_GT_EVENT[] text
*----------------------------------------------------------------------*
FORM EVENTTAB_BUILD USING P_GT_EVENTS TYPE SLIS_T_EVENT .
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALLFUNCTION'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = P_GT_EVENTS[].
READTABLE P_GT_EVENTS WITHKEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO P_GT_EVENTS.
ENDIF.
ENDFORM.
*&---------------------------------------------------------------------*
*& Form COMMENT_BUILD
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_GT_LIST_TOP_OF_PAGE[] text
*----------------------------------------------------------------------*
FORM COMMENT_BUILD USING P_GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
CLEAR LS_LINE.
LS_LINE-TYP = 'H'.
LS_LINE-INFO = TEXT-016. "Type the text which you would like to display as Report Header
APPEND LS_LINE TO P_GT_LIST_TOP_OF_PAGE.
ENDFORM.
*&---------------------------------------------------------------------*
*& Form PASS_DATA_LIST_OUTPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM PASS_DATA_LIST_OUTPUT .
CALLFUNCTION'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
IS_LAYOUT = V_LAYOUT
IT_FIELDCAT = FIELDCAT[]
I_SAVE = 'A'
IT_EVENTS = GT_EVENT
IT_SORT = GT_SORT
TABLES
T_OUTTAB = I_AUX "" -----------> This internal table's content will be finally displayed.
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGEID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LEAVE LIST-PROCESSING.
ENDFORM.
*&---------------------------------------------------------------------*
*& Form TOP_OF_PAGE
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM TOP_OF_PAGE .
CALLFUNCTION'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Regards,
Khushboo
Hi all,
I am trying to create a Services PO using the BAPI 'BAPI_PO_CREATE1'
In my scenario, First time PO will create with negative value.
Then I will remove some conditions in Services line.
Then PO value will becomes positive.
When i create the bapi in ME21N, its working fine. Net values of PO become negative.
But When I try the same using the BAPI, net price of the PO stored as 0(ZERO).
If I create a PO with positive value using the same BAPI, everything is fine.
If I change the PO after creation(removing the service line to make bapi value as positive), Net values are doubled since value stored as zero instead of negative value.
Kindly help me to get out of this issue.
Note: I need to create a Services PO with negative value using the BAPI
Thanks in advance.
Dear Abaper,
It this compulsory to have a Table fields define in Parameter/Select-option of Selection screen should be Primary key of respective tables??
and
If we used two different tables having common fields and if common field of Table1 is primary key and Table2 is not a primary key can we used that common field in Parameter/Select-option of selection screen?
Thanks & regards
Mahendra
Hi guys,
this time I bring to discussion a moral issue, not a technical one. So if you are interested in technical matters, ignore it.
I am interested in get certified. This link:
will show you that the topic areas are covered with material certification keys TAW10, TAW11, TAW12 at its most.
I confess you I have googled them. Looking for TAW10 you will realize there are cloud storage sites which offer the material in very easy way, few clicks of distance to be downloaded. In fact, a lot of material in form of PDF documents is on these sites. But... Lately I have started to think more about my religion. I am Roman Catholic. And it is serious matter (sin) to use books or documents copyrighted without permission. Lets set the points about my trouble:
I enjoy a relatively low salary, less than 2000 USD per month. (This is no complaint, I am happy with it
)
Every course has a cost of 500 USD. So I will save 1500 USD to get 3 courses. 3 weeks salary approx., plus traveling and lodging and expenses, almost a month to save.
I have no time to attend a course. I have to continue working.
Is there a way to buy the books (TAW10, TAW11, TAW12) or to buy a PDF copy of them by legal ways, without attending course? Will those books to be as expensive as course itself or cost less than courses?
Let the trouble be known: I can take advantage of free, non legal material on the web, on the cloud storage sites. Its free, just few steps from distance. I can read them, training by myself, and only pay for the final exam. My effort, but anyway I should pay to get certified. Sounds fair. Many guys around the world follow this path. But, Am I damaging someone? I mean, am I stealing SAP AG by getting my certification reading those "free" documents on the web? I read by myself, do excercises by myself, and pay SAP in order to present the exam. I am not sure if SAP AG gets happy with more and more certified consultants. If I get certified, I can provide better solutions (more precise, less time) and customers will be happier, and maybe if I am SAP partner employee which provides services to SAP customers, those customers will be comfortable with my services and with SAP.
But my conscience is not comfortable with it, because the material on the web is killing copyright. Many times I have read those books to get technical knowledge and to solve some issues. Being so, technically I am a contemptible thief, right?
May be this is a fussy, picky issue. But it is real. If people around the world always do the right thing... maybe knowledge will not be as widespread as it is, due to Internet, which is anarchycal, and where piracy is widespread. Finally, if it is really against ethics to use TAW10, TAW12 from free downloads, where can I legally get only the books?... May be I will drop my decision on get certified if there are difficulties and try to follow righteousness
. From religious point of view, I dont want to sell my soul for a SAP certificate -_-
Hi Mahendra,
You can try this out for yourself and find the answer to your queries.
No, it's not compulsory for the fields you use in select-options to be primary key fields in a table. And, as long as the data type of the common field in your two tables is same, you should be able to use the same field for querying on both the tables.
You can try using the STRLEN function in the DELETE...WHERE statement and see if you can avoid a loop. (I don't know if it will work or not but it's worth a try and won't take much).
Parameter n select-option fields can be anything according to your requirement..
its not compulsory. n you can use common field of two tables in query to fetch the related data
Hi,
Its not necessary to have fields in parameters/select options to be primary key. It just takes the datatype irrespective of the primary key.
.
I have written a small example for you:
PARAMETERS: a(18) type c,
b type matnr, "data element
c type mara-matnr. "table-fieldname
These all are one and the same thing. a/b/c will have char 18 data type and length.
Regards
Purnand
Hey,
Why don't you upload it in google docs or websites like viewdocsonline.com and share the link. I am not sure.
Regards
Purnand
Hi Gaurav,
u will come to better conclusions when u urself try the things and face issues and then try to resolve them ............
I suggest you to go thru online R/3 help and Debugger. I'm sure u'll be able to proceed .....
Thanks
Vivek
Hi William,
for Dynamic enhancement of internal table, there is a concept with OO-ABAP -> dynamic internal table where the internal table is declared and filled up dynamically.
Plz refer to the below link :
http://****************/Tutorials/ABAP/DynamicInternaltable/DynamicInternalTable.htm
Thanks
Vivek
Hi All,
I have an Issue Regarding QA32 when i select a row in qa32->then clicking on Results Button,
There i need to add a Column(MEINS) in table control of General Tab ,
the prob here is i am unable to update the screen data into QASR Table,
I also added a append structure for QASR with Meins Feild,
Please Help...