Creation of a Variant for FBL3N
Hi Gurus,
Actually, i want to create a variant for GL line item display with posting date range as last month's date range.
For eg. if i use that variant in october, it should pick posting date range from 01.09.08 to 30.09.08 and i use this variant in november, it should pick posting date range from 01.10.08 to 31.10.08.
Please help me in solving this issue.
Thank You
On the report's selection-screen:
1. Hit the SAVE button to create a variant
2. In the table 'Objects for Selection Screen':
2.1. scroll to the row showing your input selection field (say posting date) and
2.2. in column 'Selection Variable' of the respective row select 'D'.
2.3. in column 'Name of the Variable' of the respective row select 'Previous month'
Edited by: Prasad Kosuru on Nov 28, 2008 7:25 PM
Edited by: Prasad Kosuru on Nov 28, 2008 7:28 PM
Similar Messages
-
Problem in SHD0 about creation of Transaction Variant for VA02
Hi All,
My goal is to create a Transaction Variant for VA02 Variant that doesn't display the "Object Status" button under the page "Status" in the Header of Sales Orders.
To do so, I created a Transaction Variant in SHD0 (named ZTEST_VA02), the creation process creates the Screen Variants too, and i named them ZTEST_VA02_<dynpro_number>.
The Dynpro where I can found the button to hide is the SAPMV45A / 4305, so the Screen Variant Name is ZTEST_VA02_4305.
My problem is that If I test the single Screen Variant (ZTEST_VA02_4305) using the button in SHD0, I can see the whole transaction with my modify (the "Object Status" button is hidden), but testing the entire Transaction Variant ZTEST_VA02 I cannot see the modify and the Button is pretty visible.
I even tried to create a Transaction with Variant, in SE93, that launches the transaction VA02 with the variant ZTEST_VA02, and I tried to assign the Transaction Variant I created as a Standard Variant, in both cases the problem is that the modify doesn't appear to be applied.
For me this is a real mistery because If the Screen Variant is right (It works) I would expect to see that even the Transaction Variant is correct.
Does Anyone have (or have ever had) this problem?
Thank You very much for your attention.
Regards,
Claudio
PS: I forgot to mention that I'm working on SAP ECC 6.0
Edited by: Claudio Distrutti on Apr 4, 2008 11:47 AMI too facing the similar problem when assigning the screen variant to transaction variant.
screen number where the 'Obj.Status' button is ' 4456
if executing the screen variant alone , it works perfectly,
once i assing to the transaction variant and test, the 'Obj.Status' button is visible.
does anyone got the solution?
Edited by: Thomas Paul jr on Oct 21, 2010 1:59 PM -
Display variant for transaction FBL3N - can it be protected?
Hi,
I have made a display variant for transaction FBL3N (G/L account line item display).
Can I protect this variant?
I don't like other users to overwrite it.
Thank you.
Kind regards,
LindaHi Linda,
Line layout variants depend on a few things.
1 authorizations.
you need to make sure general users cannot change the standard layout. This is done via settings, layout, administration.
2. Personal variants, you can create your own variant and set it up just for yourself.
This can be done by selecting the user specifc tick box. The naming will have to be different but a user wont be able to see or change your variant.
3. Lastly you can set your variant in FB00, however all this does is assign a variant to a user, someone with either the correct authorization or a variant that is not a user specific one COULD be changed.
Hope this helps.
Please award points if useful. -
BAPI FOR CREATION OF MATERIAL VARIANT IN SAP
Dear All,
Can anoy one please provide me name of BAPI to create material variant.This is required when we create material variant for a configurable material, characteristics values are added in MRP 3 View .i am not clear what youn are looking for.
Say material X is KMAT,
Material Y you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values
Material Z you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values different than Y
Now Y and Z are material variants of X, now tell me exactly what you are looking for? -
Transaction variant for Goods Issue going back to MB1A transaction screen
Hello,
I have created a transaction variant ZMB1A for Goods issue.
When the goods issue transaction completed by using ZMB1A system again going back to the initial screen of MB1A. (Since it is the base of MB1A)
Here the issue is everytime user had to enter the ZMB1A transaction. (for example if the user wants to issue material for different plants).
Please suggest any suitable method to avoid the above multiple t code execution.
Regards
Rifaie MHi,
In SHD0, do the complete processing of Transaction MB1A during creation of Transaction Variant "ZMB1A" till posting of the Material document.
To create a new T-Code as ZMB1A, go to Transaction SE93 and here enter Transaction Code as ZMB1A and Click Create button. Now enter Short text of Transaction and select option "Transaction with Variant (Variant transaction)" and press enter.
Here enter following;
Transaction MB1A
Transaction variant ZMB1A
Activate "Cross-client"
Select Professional User Transaction
Activate SAP GUI for HTML
Activate SAP GUI for Java
Activate SAP GUI for Windows
Now Click SAVE button.
Now you can start using Transaction ZMB1A which will call Transaction Variant ZMB1A. -
Dynamic Variant for Date Range
Making the Variant for Date or Date Range Dynamic in the Selection Screen of any Program.
There are actually many ways you can make the Variant for Dateu2019s Dynamic.
1. Providing he Values in the Variant Variables.
2. By creating the variables in the table TVARVC
3. By Initializing the values in the program itself.
I saw many posts with respect to these and found that everyone has their own way of dealing. Even I wrote code in the program initialization to get this done.
Here in this post I am showing you the easiest option which is available in the Variant creation.
EX : If you want to execute the batch job based on a date range.
SY-DATE u2013 60 days , that means always your program should execute the batch job based on System Date. And the variant should change accordingly.
Following are the step by stop to do that.
1. Select your program and select the Variant Radio button and then Click on Display.
2. It will pop up a screen with variant option below the program name.
3. Enter the Variant name and click on Create
4. You will see a screen, with the Attributes button.
5. Once you click on the Attributes button, it will take you a screen with selection option.
6. In my scenario my input is based on Calender Day, so select the Selection Variable for Calender Day: You will find 2 options T & D.
7. Select D: Dynamic date Calculation, then select the Name of Variable (input using f4). You can find many options.
8. Scroll down the Variant Attributes and select current date u2013 xxx, current date + yyy
9.Though it seems to be inactive, just double click on the row to provide the date range.
10. Just enter the value for xxx and yyy to get you dynamic range based on number of days
11. In my scenario I have to consider System Date u2013 60 days. 0 means current day.
12. Click on OK to check the range has been reflected or not. Then save the Variant and check the value by executing the program with saved Variant.
You can check the same in blog with all the screen shots attached but this thing is so easy you don't require screen shots.
Regards
Shankar ChintadaHi Shankar,
It would be great if you can put this information in Wiki .
Pravender -
Transaction Variant for Transaction FV60 (Parked AP Invoice)
Hi All:
I have been successful in creating a transaction variant for transaction code FV60 (Park AP Invoice). My objective was to get rid of the post and save as completed buttons on the FV60 screen. But when I simulate the document, the post and save as completed buttons appear again and I have been unsuccessful in getting rid of these and deactivating/hiding them.
Can anyone please help me or has anyone done this before?
you help is very appreciated
thanks
BrianHi you can hide the button as follows;
While doing SHDO Variant Creation , in the confirm screen entries dialog press Menu Functions button and in the dialog expand Function setting tree and select BU (POST) and press Deactivate button (or F2 key) then select PBBP(Save as completed) and press F2 again.
Now save the variant and activate it.
Now check the tcode, those two buttons will be hidden.
This will solve your problem.
Regards
Karthik D -
Hi All,
I am able to create transaction variant for transaction code MM01, XD01 and XK01 successfully. But i am unable to create transaction variant for VA01.
And also some times i am getting error message "SAP Object SCV1(short text of variant) cannot be assigned to package ZXXX". Can you pls let me know why i am getting this error and why i am unable to create transaction variant for VA01 successfully.
Thanks,
RajuHi,
There is no difference in creation of the transaction variant for VA01/02. But the way it works is different. It works at order type level instead of t-code level. You have to create the variant in SHD0 and assign the same in order type customization.
Alternatively you can populate the field TVAK-VARIANT with the transaction variant name in MV45AFZZ subroutine USEREXIT_MOVE_FIELDS_TO_VBAK/USEREXIT_FIELD-MODIFY. With out this it wont work. Just try to change the TVAK-VARIANT value in debug mode and see if it works fine. Surpricingly it works fine if you individually execute the variant.
The error you mentioned might be because you might have given one of the screen variant name not starting with Z or Y.
Thanks,
Vinod. -
Hi,
I have a requirement according to which I need to make few fields of transaction VA02 as output only.
While we create a sales order using VA01, all fields should be writable but when we open the sales order in change mode(using VA02) fields Ship-to-party, Net-Value should not be editable whereas all others should be. I have created a transaction variant for VA02 and also activated it. But the changes are not getting reflected when I open a sales order using VA02.
Can any body help please. Thanks in advance.
Regards,
DhirajHI
After Creation of Screen for reflecting changes you have to active screen variant
Screen Activation procedure:-
STEP1: T-code:SHD0 --> Enter transaction code: VA02
STEP2: Click on "Stanrad Variant" tab --> Again choose "Standard variants tab"
STEP3: Enter your variant name --> click on Active(Button)[it is in right side of inputfield name]
Appreciate points if it is useful.
Thanks & Regards
Sudheer Madisetty -
To assign Screen Variant for VL02N to respective user.
Hi Experts,
I have created one Screen Variant for TCode VL02N. It is very well working if executing with SHD0.
Now, I want that, if any particular user say XYZ executes VL02N, then VL02N should be executed with the variant I created, for that user.
Plz. tell me what to do for this....any authorization object needs to create or is there any other way out.
Thanks in Advance.
Rgrds,
RahulRahul,
Am not sure whether you can create user-group from SHD0.
just try to use these exit and do small code just like this:
is sy-uname = than perform.
Enhancement
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outboun
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time s
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date L
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fie
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination
V02V0002 User exit for storage location determination
Amit. -
Create variant for VL10b for max delivery date higher than 30 days
Hi expert,
I want to create a variant for the transaction VL10b with a max delivery date higher than 30 days.
The standard transaction make 30 days as default.
How can a proceed?
Thanks for your help.
Regards,
HajaHi Haja,
From the moment you run your variant via transaction VL10B, the delivery creation date
range will get the values saved in your variant. In a second step, when you click
on "Purchase Order" Tab, the system will re-determine the Delivery creation date
range taken into account the fact that field CalcRuleDefltDlvCrDt is empty and that
MaxDelivCreateDate (visible in the variant) is equal to 30.
Please note, the date calculation is being influenced by 2 factors :
-The MaxDelivCreateDate field whose default value can be modified in 2 different ways:
a) either in customizing via transaction VL10CUC
or
b) manually, after unchecking the "Use list profile" check box in the user role of VL10.
By doing this, the field will be made visible and can then be manually modified.
Afterwards, the date calculation is also controlled by the rule defined in CalcRuleDefltDlvCrDt field. You can then possibly also set this field to blank or define your own calculation rule via an
user-exit (include V50R_USEREXIT_PREPARE). If the rule is set to 2, then regardless of the
value stored in MaxDelivCreateDate, the date range will only cover today and tomorrow.
These are the only 2 influencing factors for the program (not the variable type in the variant). Please try any combination you may need and this should suit your needs.
BR,
Enrique -
Hi Friends,
Please help me to find USER_EXIT for FBL3N.For retrieving Short Text for Sales Order Item from table VBAP.
Regards,
KUMAR.Hi,
Transaction Code - FBL3N G/L Account Line Items
Enhancement/ Business Add-in Description
Enhancement
F1040001 Reserve for bad debt - calculate percentages
Business Add-in
FI_ITEMS_MENUE01 Menu Enhancement
FI_ITEMS_MENUE02 Menu Enhancement
FI_TAX_BADI_015 RFUMSV00: Event "END-OF-SELECTION" before Data File Creation
FI_TAX_BADI_016 RFUMSV00: Transfer of All Tax Data
No.of Exits: 1
No.of BADis: 4
Arunima -
Can someone please guide me thorugh creation of a display variant for thrasaction VKM1?
Thanks a ton
VHHi,
Execute the report, after you get the output from menu "_S_etting -> Layout -> Save". This variants are called ALV variants. -
How to Save Multiple Variants for a Report at a time?
Hi Experts,
I have a report in one server and I have copied the same into another server.
And now I also have to copy the variants of that report.
There are totally 192 variants for the report. So, is there any easier way to copy all those variants for the new report that I have created, rather than re-creating the variants one-by-one manually.
Note:There is no connection to both the servers. So I cannot transport them.
Thanks in advance.Basis can do a export and import transport, still if don't have connection between boxes.
or
check this
http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm
a® -
How to set up Dynamic Variants for job which is based on Pay Period
Hi,
We need to set up dynamic variant for payroll interface. This interface is based on Pay periods and that is why we need to use different variant for each month. Letus know how to set up dynamic variant which will take care of Pay PeriodsHi, Thnx for reply.
We are not changing the control records, current period will be some old period in system.
payroll is not processed in SAP,
Maybe you are looking for
-
Converting a Crystal 4.6 report to Crystal XI using Visual Basic 6.0
I followed instructions for migrating from the OCX to the RDC..... and the Crystal viewer will open but it's not passing my sql query to the crystal report, so it ends up loading every single record in the database. I tried adding code to actually op
-
Can an actionListener function be called inside a constructor?
Can an actionListener function be called inside a constructor?? class MainBean{ public MainBean(){ Can the linkDescription() function be called here?? Will there be any Parameters.?? public void linkDescription(ActionEvent e ) // actionListener Code
-
Certain Websites Cause Problems
I recently migrated a user account from my G4 Mac Mini to a new MacBook. It has been working great; however, certain websites no longer work in Firefox on the mac. One example is this website: http://homes.timesunion.com/sales/SearchIndex.asp It no l
-
Binding ANY in (JAXB) xjs
Any ideas on how i bind the following dtd entry in my xjs file. <!ELEMENT ResultData ANY> Where i want the ResultData to pick up any tags in between, even as just a string or something, without trying to marshal it. eg <ResultData> <id>1</id> <name>t
-
Hi, I am Creating application for Hotel Management. Is there any sample application available from where i can take help to create the bills for Hotel. Thanks Nisha