Updating labels dynamically for a standard transaction - PR05
Hi All,
I have a change to do in PR05 Transaction.
In PR05 -> After hitting Create button -> Enter From/End date -> Then in line item level Enter Travel Expense Type & Amount and select that row and -> Hit on Infos[Addl. Receipt Info.] button then -> it will show 1/2/3 text boxes in Addnl. Info tab.
Now my requirement is for these 3 text boxes i need to change the 'Labels' Like changing Business Purpose to Purpose after checking against one Z-Table entries, changing Location to some other lable and so on...
How can this be achieved for this Screen in PR05.
What is the approach would be!
Thanks in advance.
Thanks,
Deep.
Hi,
Any Resolution for above posted issue!
Thanks,
Deep.
Similar Messages
-
Different Document Type for a standard transaction
Dear all,
Iu2019m facing the following problem: I wish to set a different Document Type for a standard transaction.
In the specific, I need a different DT for Reverse Document (T-code FB08) instead of standard SA.
Is that possible?
Thanks in advance
AlbertoGo to OBA7, click on doc type of the original document (which I guess is SA) and then update the field "Reverse Doc Type" to the doc type you want to.
-
How to create F4 for the standard transaction
Hi all ,
How to create F4 for the standard transaction for a particular field .
ByeSantosh,
You can create F4 values for a field in a standard Transaction .
1. First search for a standard search help meeting your requirement .
2. If you don't find one, create your own custom (z) serach help .
( 1 is preferable )
After that, include that serch help to the standard field in the transaction .
For this u need to go to the screen
( F1->F9-> screen-> Field )
Click on the property of the field and include the search help .
You ll require the access key from the basisi guys as u r changing standard .
Hope it helps,
~ laxmi
Reward for helpful answers -
How to do a screen sequence for a standard transaction?
Hi experts -
I have a requirement that the business wants a field on transaction VL02N to be grayed out based on specific delivery types. I have been told that that would require a custom screen sequence to be developed.
(1) What is the best solution to accomplish this?
(2) If the solution is a custom screen sequence for the standard transaction code VL02N, then how is that done?
Many thanks!
MarkWhen one says "custom screen sequence" an Industry Solution that utilizes BDT, like Insurance or Gas/Oil comes to mind. Are you working with one of the BDT-based Industry Solutions in SAP? If so, customization by field-group or screen or view could be considered, but I think you'd find a much simpler way to do.
If not, one usually does this with an exit that allows control of screen elements, as does SD Order processing, a Badi implementation or enhancement in a PBO module for the screen to set the screen-input value to '0' for that field name.
You should, though, search the forums, since these kinds of questions are often asked....and answered....such as:
[VL0xN exits|VL01N / VL02N Exit; -
GOS for the standard transactions
Hi,
Other than the OSS notes,Is there any way that we can create the generic object services for the standard transactions.
Thanks,None of the pre-installed apps can be deleted...look on every page & in every folder...still don't see it? If so: Settings>General>Reset>Reset Home Screen Layout...see if you see it now.
-
Creation of Generic business Object for a standard transaction
Hi,
We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Business Object" in transaction code ABAA.
Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Business Object" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Business Object. This is a very critical issue, any help will be very help ful.
Please let me know should you require more information on this topic.
Thanks,
Ashishthis is already answered in the forum, and also explained in the sap library
-
Generic Object Services for a standard transaction code
Hi,
We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit trail we have been asked to use "Generic Object Services" in transaction code ABAA.
Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that handles the approval process in order to depreciate the asset. How to show this workflow details using Generic Object Services. This is a very critical issue, any help will be very help ful.
Please let me know should you require more information on this topic.
Thanks,
AshishHello Ashish,
i dont think activating of GOS will solve ur probs..... GOS wont create a WF item ...... try to get some kind of GOS before u do anything in SAP systems.
u can do like this ......
1 create custom screen where u can enter asset details and store in custom tables....and generate one custom doc.number to track.
2. trigger WF when user submits it for approvals.
3.Upon final approvals.--->run BDC to do postings......
4.Give a Option to attach documents to the parking documents. ( that GOS ).
regards
Prabhu -
Data in table control not seen for the Standard Transaction Iview
Hi
I am creating one Standard Transaction Iview for CATS .
While doing print preview in IE 6 , I am not able to see data in Table control(Data Entry Area ).
Can you please provide me the solution for how I can see the data in Table Control
Regards
RuturajHi David,
I too struggled a lot to find the solution ....atlast got it....It possible by exporting and importing the table control values to Database Index.
1. AT SELECTION SCREEN OUTPUT event triggers when you SAVE and GET the variant.
2. So write the logic in AT SELECTION-SCREEN OUTPUT event.
CONSTANTS: c_vari TYPE char30 VALUE
'(SAPLSVAR)RSVAR-VARIANT'.
FIELD-SYMBOLS: <lfs_vari> TYPE ANY.
ASSIGN: (c_vari) TO <lfs_vari>.
IF sy-subrc = 0.
IF <lfs_vari> IS NOT INITIAL.
IF ok_code = 'SPOS'.
EXPORT gt_chars[] TO DATABASE vari(tc) ID <lfs_vari>.
ELSEIF ok_code = space.
IMPORT gt_chars[] FROM DATABASE vari(tc) ID <lfs_vari>.
ENDIF.
ENDIF.
ENDIF.
In the above logic if OK_CODE is 'SPOS', that is for saving the variant with the name <lfs_vari>.
Similarly if the OK_CODE is other than, 'GET'....that is for retrieving the variant. But in case of getting the variant OK_CODE is not filled with 'GET', but variant will be filled. We should take variant filling as base and do as done above.
It worked for me..... -
To find out BADI implementation for a standard transaction
Like for User Exit is there any standard code to find the BADI implemetation for a Transaction Code.
If so please paste the code.Hi pagal,
The following is the code for the report program which lists Userexits and BAdi's for a given Tcode...
Regards
Karthik D
<b>P.S.: Reward Points if this is Helpful</b>
*& Report ZDK_FIND_BADI
REPORT ZDK_FIND_BADI.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
* Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
* Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
* For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase. -
Various forms used in abap HR for their standard transactions
Hi Experts,
I am trying to find out the forms associated to various transaction given below-
T-Code Description
PC00_M40_BONS -- Bonus Calculation
PC00_M40_EPF -- Provident Fund Reports( form-5,10,12a)
PC00_M40_PFY -- Program For Annual PF Reports(Form -3a,6a)
PC00_M40_PNE -- PF Reports (Exempted Trust)
PC00_M40_PNY -- Program for Annual pension reports (Form--7,8)
PC00_M40_EPN -- PF Reports (Exempted Trust) (form4,5_ex,6-1971,1995)
PC00_M40_ESIB -- ESI Batch Program
PC00_M40_ESIF -- ESI Form6 & Form7 (Form 6&7)
PC00_M40_ESIU -- ESI(monthly eligibility report)
PC00_M40_GRY -- Gratuity Listing
PC00_M40_LWF -- LWF Reports
PC00_M40_PTX -- Professional Tax (Form 5)
please help.
Regards,
Shankarnot very satisfactory
-
Debugging ZdriverProg when attached toa Standard Transaction code
Hi all,
iam doing with SAP Standard smartform
initially the ZProgram and Zform are attached
to standard Program : RV56TD00 for the transaction VT02N
(ApplicationV7 - Shipment : Bill of Lading)
+
Zform
Now iam working on Modifying the ZProgram to Zprogram1 + Zform1
where Zform1 is modified version of Zform
Zprogram1 + Zform1 both are saved in LOCAL OBJECT
please let me know ..that
1) How can i test and Debug my Zprogram1
if possible Provide an example .. for the above said things ..
In Short : for a standard transaction ( VT02N ) where Zprog + Zform are attached . how to debug Zprog ????????????????
for appropriate answer Points will be rewarded instantly..
Looking for ur answer...
Thanks
Aslam...Hi,
Open the ZPROGRAM and put the breakpoint in that and go to VT02N transaction go with print prieview now it will display in debugging mode .
If you want to degug in smartforms open the smartform and create a program lines and in the input parameters give the variable you need to check in the debugging mode and go with print preview in the vt02n .
Thanks,
NN -
Does BAPI call the validations defined for standard transactions ?
Hi Experts,
Can anyone tell me if BAPI handles the validations defined for standard transactions ? I have a standard transaction KB15N. Validation defined for a field works fine when run thorugh the transaction. But if same data is updated using BAPI , validations are not getting called and wrong data is updated in the system.
Could you please confirm if BAPI handles validations ? If yes, how to take care of it ?
Best Regards,
V joshiHi Thomas,
Thanks for your quick reply.
I have following condition in the prerequsite of validation
Prerequsite : Transaction code = 'KB15N'
check : Sr cost element > '90000000' AND Sr cost element < '9ZZZZZZZ'
I am using BAPI 'BAPI_ACC_MANUAL_ALLOC_POST' for posting.
Do i need to modify the pre-requisite condition ? Kindly guide.
Regards,
V Joshi -
Change ITS parameter setings dynamically for one transaction iview
Hi gurus,
I have a configured ITS parameters and set ~webgui_simple_toolbar = 32
But now in one transaction, only on the last R3 screen (in this transaction) we need standard 'Back' button, (custom back button cannot be configured as this view is a pdf, t-code developed in ABAP )
I can configure 'Back' button by setting ~webgui_simple_toolbar = 40, but then it comes in all the transaction iviews and on all the screens.
Is it possible to set the value of ~webgui_simple_toolbar dynamically, in my t-code in ABAP, so that only for this transaction standard toolbar is visible.
thanks
NishuHi Nishu,
Where exactly have you set the parameter
~webgui_simple_toolbar = 32
i.e in what Service? I believe from your description it is set in the WEBGUI service - which then all your transaction iViews are using to execute? Is this correct
One workaround would be to create an IAC for this one transaction that you are calling. Which would then have the settings
~transaciton <my_transaction>
~webgui_simple_toolbar = 40
~webgui 1
~singletransaction 1
Then setup the iView to be called as an IAC iView?
Regards,
Oisin -
Standard Smartform for label printing for packages - pls advice
Hi All,
I need help in changing a print program ie Standard Smartform for label printing for packages ?
Standard Driver program: SDPACKDR
Please provide me with the detailed steps for editing the Std Smartform according to any requirement.
Points will be rewarded promptly.
Thanks.hi,
1. The smartform name is SD_PACK_ETIK.
2.Just copy the standard program into Zprogram and make chanes and assign in NACE with the form.
3.But,in smartform lable printing is not possible.
4.you can print barcodes.
Regards,
Kumar(Reward if helpful). -
Hyperlink in a User Exit for standard transaction?
Hi,
First off, I am a novice in ABAP. After some searching on the forums, I have found out that it is possible to have hyperlinks in an ABAP Programm.
Is it possible to change a standard transaction (through user exits) to add in this sort of functionality? For instance, a link in VA23 to jump to a remote portal? Is it possible? And if yes, could anyone give me an example of how this could be done? Links to documentation or tutorials would also help me.
Could such a functionality be added through a button in the same transaction instead of a simple hyperlink?
Thanks and regards
SameerThe SAP.Web.UI.Controls namespace is a collection of classes that allow you to create controls in an iView. SAP NetWeaver web controls run on the server and include form controls such as buttons, input fields and tables. Because web server controls run on the server, you can programmatically control these elements. SAP NetWeaver controls are more abstract than HTML server controls or Microsoft web controls from the System.Web.UI.WebControls namespace. Their object model does not necessarily reflect HTML or Microsoft web control interfaces. SAP NetWeaver controls reflect the SAP WebDynpro UI elements. They also implement the behaviour of SAP Unified Rendering, which allows custom UI branding by selecting and modifying CSS style sheets. This namespace includes the ViewElement class, which is derived from System.Web.UI.Controls.Control and provides all SAP server controls with a common set of functionality. Therefore you can also mix SAP NetWeaver controls with Miocrosoft web controls within an iView.
for more details on this please go through the below link.
https://www.sdn.sap.com/irj/go/km/docs/library/dotnet/pdk%20for%20.net/developer's%20Guide%20PDK%202.0%20for%20.NET/Reference/SAP.Web.UI.Controls.html
<b>Give points if useful</b>
related topics
http://help.sap.com/saphelp_crm50/helpdata/en/20/041c3a1cf1c54be10000000a114084/content.htm
http://help.sap.com/saphelp_crm50/helpdata/en/e7/43f438c842cc2be10000000a114084/content.htm
Maybe you are looking for
-
F.13 GR/IR Clearing Problem
Dear All, I executed F.13 for clearing GR/IR but although certain Line items in the GR/IR account with same assignment field has zero balance its not selected and also not getting cleared.I have checked that line items are not cleared that is open. I
-
I'm on the verge of buying a lower configured Mac Pro [2.0GHZ, 160GBHD; 1GBRAM ]. I was looking on Tiger Direct at RAM prices as I would like to add 1GB extra memory. Curcial has a 512MB Chip with the following specs... Memory Speed 667MHz PC5400 Mem
-
Hi As i work in private ltd company at chennai,I like to purchase the following latest adobe softwares - ADOBE PHOTOSHOP, ADOBE ILLUSTRATOR and Adobe After effects to install in one machine of the company. Will the Creative Clouds "PLANS For INDIVI
-
we have less than 10 participants, and i can't cam up. the cam icon has a line through it. It's v7.0 and i'm not using any other programs that use my cam
-
Nothing like LOOKING....I repeat LOOKING at Skype on XBOX one, and then spending an HOUR this morning of MY --- TIME TRYING TO FIGURE out how to UNSUBSCRIBE to PREMIUM!!!!!! HOWTHE**bleep** did I get signed of for premium, you ask? It must be buried