Variable required for 0DOC_DATE, same as the SAP exit variable 0P_KEYDT
Hi Gurus,
I am currently trying to create a query based upon the InfoProvider - FIAP: Line Item (0FIAP_C03).
For the Characteristic Net Due Date (0NETDUEDATE) there is a SAP exit variable called Key Due Date (0P_KEYDT).
I need to replicate this variable for 0DOC_DATE, which is what I need to use in this query.
I do not have any knowledge of ABAP therefore could you please advise;
1) Whether this variable can be replicated for 0DOC_DATE so that it defaults to system date - 1 day
2) What steps I need to take to create this variable
3) What is the exact ABAP code that I will need to do this.
If there is a variable that already exists for 0DOC_DATE that acts in the same way as 0P_KEYDT then please let me know.
Thanks
Nate
Hello,
1&3) goto CMOD - create e.g. ZBWVARS. Add RSR00001enhancement. Modify ZXRSRU01 include.
You need developer key to do that.
CASE i_vnam.
WHEN 'ZDOC_DATE,'.
IF i_step EQ '2'.
CLEAR l_s_range.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = sy-datum - 1.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDCASE.
2) In Query Designer create customer-exit variable ZDOC_DATE.
BR
Ondrej
Similar Messages
-
Error when using SAP Exit Variable for Current Fiscal Period (0FPER)
Hi Friendz,
My requirement is to execute a query for the current fiscal period. I am using the SAP Exit Variable 0FPER.
I placed this variable on char. Fiscal year/period 0FISCPER.
When I execute the Query, it is returning the error: No value could be determined for variable ZVBSYCUR; Variables Contain Invalid Values.
Please give inputs on how to use this variable.
Regards...
GaneshHello Dipika,
I am also getting the same error.
ERROR: Variable 0FPER could not be replaced.
Yesterday we created one customer exit. But this should not affect the SAP Exit right? Till yesterday the 0FPER variable was working fine. I tried re-installing from BI content, but still getting the same error. If anybody has a clue please let me know.
Thanks,
Harshal -
Looking for an ABAP-code for the customer-Exit Variable
Hello,
I have defined a Variable (Interval) which should be processed through Customer-Exit on characteristic Supplier-Date (date format). This Customer-Exit Variable is called ZDATE.
We have another time characteristic Fiscal year / period (0FISCPER) which has single mandatory input variable for ex. 003.2011. This input variable is called ZFISCPER.
Now I have to write an ABAP-Code where the customer exit variable ZDATE is derived (fiscal last year to last period) from input variable ZFISCPER in INCLUDE ZXRSRU01.
Means when the input variable (ZFISCPER) is 003.2011 then the customer exit variable ZDATE should be calculated in INCLUDE ZXRSRU01 as 01.01.2010 u2013 28.02.2011 (fiscal last year to last period).
Since I am quite new in ABAP, I will be grateful if you could write me sample ABAP for this.
Many thanks.Hi,
should be something like:
DATA: l_s_range TYPE rsr_s_rangesid,
input LIKE sy-datum.
When 'ZDATE'
CONCATENATE '0101' 0FISCPER+3(4)-1 into l_s_range-low. "You get 01012010
CONCATENATE '01' Fiscper+1(6) into input. "You get 01032011
l_s_range-high = input-1. "You get 28022011
APPEND l_s_range TO e_t_range.
Greetings
Roman -
To use a Sap Exit variable in a diferent infoobject of the same type
Hi gurus,
I have the Sap Exit standard variable 0P_KEYDT in the infoobject Posting Date (0PSTG_DATE), and i need use this variable with the Document Date (0DOC_DATE), but i don´t have it in the infoobject. Both infoobjects are referenced by 0DATE.
Are there some way to copy the variable from one infoobject to other, or i need make my own exit?
Thanks in advance and regards.If both of them are the same type means they are referring to 0DATE, then you should be able to access the standard variable defined. What you need to do is, delete the variable and recreate it, but when you recreate the variable don't refer to a characteristic 0PSTG_DATE but refer to date object so that it will be available to all date types.
I will tell you the side effect of doing this, changing the standard definition is always risky because if someone install the object again, then the change you made will be overwritten and hard to know what happened.
thanks.
Wond -
How to find out the customer exit and sap exit variables created provider?
Hi all,
How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
thanxs
harithaHello haritha,
SAP Exit and Customer Exit variables are created for Characteristics and not for individual InfoProviders.
So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
So the same Exit can be in one or more InfoProviders.
Hope it helps.
Thanks,
Chandran -
Which tasks required for a Developer in a SAP project with SAP XI?
Dear all,
I'm a ABAPer (Developer too), i will join into a SAP development and maintenance project that use the SAP XI. In order to prepare for this project, now i should determine and study the "Specific Skills/Tasks required" for a ABAPer (Developer too) in development and maintenance project with SAP XI technology platform. I see in our forum with thread:
Roles for XI Programmer
that: A developer will take care of "Mapping Task" with "ABAP Mapping" or "JAVA Mapping".
If any person who participated in a project as same as my project (a SAP development and maintenance project with SAP XI platform), please help me to answer my question:
My question:
"Which other tasks required for a Developer in a SAP development and maintenance project with SAP XI platform (exclude Mapping Task)?"
Thanks a lot to all in advance (points will be rewarded for every valuable answers),
Vinh VoHi,
You can check out the standard XI training content as well
Check the following links:
http://help.sap.com/saphelp_nw04/helpdata/en/84/e8763c997fda50e10000000a11405a/frameset.htm
TBIT40:
https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
TBIT41:
https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
TBIT42:
https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
TBIT43:
http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
TBIT44:
https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
Reward points if helpful...
PrasHanT -
Abap code for sap exit variables?
Hi,
i) Where can I find the abap code for SAP exit variables
OP_KEYDT used for the net due date
OP_KEYD2 used for the posting date
OP_KEYD3 used for the clearing date, which are used in FI AR aging report(0FIAR_C03).
Based on the Net Due Date, which is key date(0NETDUEDATE), entered by the user at runtime, the posting date and celaring date are populated.
II) The problem is we want to simulate a similar scenario, but with key date, which user enters is based on the custom Net Due Date(ZNETDUEDATE).And this date is populated to posting date and clearing date variables.
How do we acheive that.
Thanks.Please tell how u solved ur issue i have the same scenario to be do.
-
How to see the ABAP Code behind SAP Exit Variables.
Hi Everyone.
I was wondering if anyone could help me with the steps to see the ABAP Code behind a SAP Exit Variable.
Sometime back I remember of going to Transaction SE37 - Function Module and give the Variable name,
Eg: 0F_ADAY, Hit F4 or something like that and was able to see the ABAP Code/Function Module/Exit written for that Variable.same
But today I tried to do the same thing to see the code for Variable 0P_FVAEX but I was NOT able to see it.
I think I am missing something.
Can someone help me recollect what I am missing.
Thank You for your time
NOVICEHi bi novice,
big sorry for the late reply!
The following variables are defined in function module RREX_VARIABLE_EXIT as case statement:
'0CMONTH', '0CWEEK', '0CYEAR', '0CQUART', '0DAT', '0CWD', '0FYEAR', '0FPER', '0FYTCFP',
'0FYTLFP', '0FYTCD', '0CYTCM', '0CYTLM', '0CYTCD', '0LYTCLD', '0CMONTHT', '0CWEEKT', '0CYEART', '0CQUARTT', '0DATT', '0FYEART', '0FPERT'
Best regards,
Andreas -
Code (ABAP) for the Customer Exit Variable (CMOD)
Scenario
An employee can purchase any no of policies in a day or month.each policy will have start date and expiry date.
My requirment
Count all the policies(valid) by employee on a ranges basis exception reporting
(0-10;10-20;20-30;30-40) and then able to drill down by policy start date and expiry date.
As per the requirment is to show policies that employee had with in the give date intreval which are not yet expired (active) i need to write a condition that will count only policies whose Expiry date is > Current calender day
As Policy Expiry Date is a char i am converting it to KF using fourmala variable so that i can write a condition on it using current cal day formula variable sap exit
Requirment:
Need a code for SAP exit variable which will meet the following requirment
There are the following 2 variables in the query
1) A variable (User Input)(Date Range) on Policy Start Date and
2) Authorisation Variable which is based on Authorisation Object(Analysis Authorisations)
I need a SAP Exit variable (CMOD) that will
BAsed on the user entered Policy Start date it has to pick all the policy exiry date of the policies and display all the policies whose expiry date is greate than Sy Date (Current Date) and also if Policy Expiry Date is blank or # it has to display
Arun supplied me with the below code...but i think it doesn't include blank expiry date or #...as i am new to ABAP please update me with releavent code
Policy Start Date : ZPST_DTE
Policy Expiry Date: ZPSP_DTE
Variable (Type:Customer Exit) on Expiry Date: ZEEXP_DTE
Arun's Code:
IF I_STEP = 1.
CASE V_NAME
WHEN 'X' " X is the variable u created for the exit
l_s_range-low = SY-DATUM.
l_s_range-opt = 'I'.
l_s_range-sign = 'GT'.
APPEND l_s_range TO e_t_range.
END CASE.
Please modify above code to include Blank or # values of Expiry Date
Thanks Arun
Please ask if you need further info as this is urgent
ThanksHi Arun,
Thanks for the help...will definetly assign points
(Closed the previous thread)
Please spare bit of ur time as this is my first ABAP Code
Can i include 2 restrictions..# and Variable (Customer Exit)...But how can i include Records with Blank Values
As the data from Source system the expiry date is filled up with either Date or # or Blank...my requiorment is to include all 3 and
Question:
As there are 2 other variables defined ..one on Policy Start Date (User input date intreval) and Location (Authorization Variable..Analysis Authorisations)...Do i need to change I_STEP in the code
(Req: Reports shows all the(still valid) policies emp has purchased between 2 give date (Variable on Policy Start date)
IF I_STEP = 1.
CASE V_NAME
WHEN 'X' " X is the variable u created for the exit
l_s_range-low = SY-DATUM.
l_s_range-opt = 'I'.
l_s_range-sign = 'GT'.
APPEND l_s_range TO e_t_range.
END CASE. -
Requirements for integration of XYZ Service - SAP.
Hi Team,
Appriciate any help on understanding the below requirement and how/where to start work in XI.
Requirements for integration of XYZ Service - SAP.
XYZ Service has CRM middle where and SAP ECC 6.0
XYZ Service Calls
=============
1. All the completed calls in XYZ Service has to go in SAP automatically for validation process.
2. All call details (parameters) has to come in sap from XYZ Service to SAP like..
Field Name:
=========
Per No.
official no.
mohile no.
Cust Name.
Address.
etc.
3. All the AMC generated in XYZ Service should replicate to SAP, with all the customers, AMC and product details.
Validation in SAP:
==============
4. In SAP we have to validate the calls according to below parameters.
--> date of purchase : abc validation
--> Serial No. : Should be n fixed lenght with some format
--> Part & Qty. : Same part should not have been consumed in last 30 days in same unit.
-->
-->
etc.
Process in SAP
============
5. All the calls which carry the spare parts has to approve by the store person. He can approve/disapprove the call.
6. Call without spare part have to approve by system once validation process finish and it will considerin qlt report in sap.
7. If the store peroson disapproves tthe call it has to go back XYZ Service and reprocess again.
8. Prepare quality report for all the calls in SAP.
9. Consumption report has generate for each call wise.
10. Call wisw defective settlement( replenishment) in SAP and generate automatic loan settlement.
11. Franchisee bill claim to SAP.
12. ASC can change the disapproved calls and reprocess it again.
As for my understanding and discussions from the above requiremet,
Customer/franchisee/client....enters the request/data through the Web Application .
process from CRM and then to SAP ECC 6.0. after all the process complete details to be shown on Web Applications.
So here where exactly supposed ti implemet the XI system and little bit of confuse how and where to start from.
Please guide me to start the above mentioned and give me a break to learn and do lot of things in XI/PI.
Regards,
Ramana.Thank you Gaurav.
However, as for my understanding...as the client using a legacy system for getting the information.
also The data is given on Web Application ( say via portal) and the data verified from CRM system and then processed via SAP ECC 6.0 giving the required information on the Wb Application to the client (Portal)
That means needto implement XI integration to show the complete required information on the web application.
Only this is I am not knowing how to frame this complete design and where and how exactly to stat.
Please correct me if I am wrong and if possible with the same relavent information.
Thank you for your valuable support.
Regards,
Venkat, -
Variable Required For Date Difference In Ac Create Date
Respected All;
I am stuck in a variable for couple of weeks.
Please help me to get the difference in dates coming under the Ac Create Date Column for respective Request Id's.
I want the result in the Delay Column (Variable Required for the result of delay).
For eg:-
A
B
C
D
E
F
G
Request Id
Ac Create Date
Act Role Proper Name
Delay Simplified(Variable Required
Result In Delay
Act Activity Name
1
000000000560492
7/9/2014
Debt Recovery - Archive
=Ac Create Date C2 - Ac Create Date C1
5
Resolved
2
7/14/2014
Call Centre - Back Office
=Ac Create Date C3 - Ac Create Date C2
1
Forward
3
7/15/2014
OWN Shop - AL Rayyan
=Ac Create Date C4 - Ac Create Date C3
7
Resolved
4
7/22/2014
Call Centre - Back Office
= Ac Create Date C5 - Ac Create Date C4
0
Customer Feedback
5
7/22/2014
Call Centre - Back Office
"NA"
NA
Closed FC
6
000000000561010
7/1/2014
Call Centre - Back Office
=Ac Create Date C7 - Ac Create Date C6
1
Forward
7
7/2/2014
FOLLOW UP TEAM
=Ac Create Date C8 - Ac Create Date C7
0
Resolved
8
7/2/2014
Call Centre - Back Office
=Ac Create Date C9 - Ac Create Date C8
1
Forward
9
7/3/2014
R_RO
=Ac Create Date C10 - Ac Create Date C9
12
Return - Wrong Assignment
10
7/15/2014
Call Centre - Back Office
=Ac Create Date C11 - Ac Create Date C10
1
Forward
11
7/16/2014
IT CRM & Provisioning
=Ac Create Date C12 - Ac Create Date C11
0
Reassignment
12
7/16/2014
IT CRM & Provisioning
=Ac Create Date C13 - Ac Create Date C12
1
Follow Up
13
7/17/2014
IT CRM & Provisioning
=Ac Create Date C14 - Ac Create Date C13
0
Reassignment
14
7/17/2014
IT_Comptel
=Ac Create Date C15 - Ac Create Date C14
3
Resolved
15
7/20/2014
Call Centre - Back Office
=Ac Create Date C16 - Ac Create Date C15
0
Recategorization
16
7/20/2014
Fiber Call Center-Back Office
=Ac Create Date C17 - Ac Create Date C16
0
Forward
17
7/20/2014
IT CRM & Provisioning
=Ac Create Date C18 - Ac Create Date C17
1
Resolved
18
7/21/2014
Fiber Call Center-Back Office
=Ac Create Date C19 - Ac Create Date C18
0
Resolved
19
7/21/2014
Fiber Call Center-Back Office
=Ac Create Date C20 - Ac Create Date C19
0
Customer Feedback
20
7/21/2014
Fiber Call Center-Back Office
"NA"
NA
Closed
I have used Delay =DaysBetween([Ac Create Date];Previous([Ac Create Date]))
but however I'm not getting the results required..
Can someone please help me out with the variable.. For better understanding of the question kindly copy paste the table in excel and check it out, but please please help me out !!!
Thanks In AdvanceHi Fahad,
Try Below-
Create variable-
V_NextDate=If RelativeValue([Request Id];([Request Id];[Ac Create Date];[Act Activity Name];[Act Role Proper Name]);1)=[Request Id] Then ToDate((RelativeValue([Ac Create Date];([Request Id];[Ac Create Date];[Act Activity Name];[Act Role Proper Name]);1));"MM/dd/yyyy")
In Delays column put below
=If IsNull(DaysBetween([Ac Create Date];[V_NextDate])) Then "NA" Else DaysBetween([Ac Create Date];[V_NextDate])
See sceenshot -
What is setting required for Price Contol do the optional entery in master.
Hi SAP EXPERT,
What is setting required for Price Contol do the optional entery in Material master ?
Regards
Mahendra
Edited by: MAHENDRA NAVALE on Aug 27, 2011 2:23 PMHI
In general in the material master record you can, hide display or optional for a field, but there are certain feilds should be mandatory for material creation,like base unit of measure,material description,and price contro,l valuation price,valuation class,without this you cannot create a purchase order.
If you dont want to the price control means go for mateial type non valuated material NLAG. because the price control is mainly linked with the material valuation. based on the the price control the price difference will post either sock account or price difference account.
Goto>MM>LOGISTICS GENERAL>MATERIAL MASTER>FEILD SELECTION >ASSIGN FEILD SELECTION TO FEILD SELECTIN GROUPS(OMSR) >CHECK YOUR FEILD REFERENCE FOR PRICE CONTROL (MBEW-VPRSV) FEILD REFERNCE GROUP IS 32* > AND GOTO MAINTAIN FEILD REFERENCE FOR DATA SCREENS (OMS9) >ENTER YOUR FEILD SELECTIN GROUP 32 (PRICE CONTROL )AND CHOOSE MM01 MAKE IT FROM REQUIRED TO OPTIONAL.
Thanks
Edited by: Nijamudeen**MM on Aug 29, 2011 10:19 AM -
U201CDisplay not allowedu201D for SAP Exit variables
Hi All
I collected some SAP Exit variables under a transport request and moved them to the BI DEV system from sand box systemu2026u2026u2026 when we are trying to use these objects in BIDEV in the query designer the variables are displaying as u201CDISPLAY NOT ALLOWEDu201D for all queries where ever these variables are used and we are not able to use them for drag and drop in the query designer
I searched forum and find one similar thread but no answer
Please help on this
Thanks in advanceSame here. Do you know how you resolved this issue?
-
How to Find Code for SAP Exit variables.....
Gurus:
The SAP Business Content Query "0FIAR_C03_Q0005" uses several BC variables of 'SAP Exit' type for determining "Date" values. I would like to see the code used in these variables. Can anyone please suggest how I can find it?
For examople, the variable on Posting Date is "0P_KEYD2". What is the ABAP code for this? Please give me the Steps..!
Thanks in Advance......PBGenerally SAP doesn't give access to the code behind SAP exit variables, but you can find what the variable is doing using help documentation. Here is some info i saw on SAP help for your variable
0CWD Current workday
0DAT Current calendar day
0P_KEYDT Key date of due date
0P_KEYD2 Key date of posting (from key date of due date)
0P_KEYD3 Key date of clearing (from key date of due date)
0P_KEYD4 Key date of posting (posting date)
0P_KEYD5 Key date of clearing (from key date of posting) -
Search help for Web Dynpro using the SAP-search help
Hi,
Im trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, ) in the project. In addition it should create the call in the customer generic.
It would be great if someone can give me a feedback!Hi Mike,
The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
Personally I'd recommend you give yourself a little project to work on and just get stuck in
Kind Regards,
Owen
Maybe you are looking for
-
HT4623 I download ios7 on my ipad and it is asking for a passcode that I don't have.
I downloaded ios7 on my ipad and it is asking for a passcode. Where do I retrieve passcode?
-
PS CS5 (x64, x32), Windows 7 (x64) - Photomerge crahes PS
Hi! I use PS CS5 x64 to merge some pics for a panorama with Photomerge, which worked just fine - for awhile. Nowadays whenever I try to use Photomerge crashes PS. There is a note the Event Manager of Windows x64 Ultimate (german): name of crashing ap
-
I can't turn off the Nano at all-Its always on the main menu
I can't turn off the nano- I can't reset the nano because I can't turn it off-I've looked everywhere for options- any ideas??
-
Portal Activity -- Date format in Usterstat database
Hello, we have a problem with our activity reporting. The system shows us only 0-3 user per hour in the report. To see what's the problem we looked in our USERSTAT data base to compare it with the report. I wonder, if these numbers below are correct?
-
So a few months back, word would not allow me to open previously save documents that I had once saved. The problem grew to not even being able to open word at all. I have not had any changes to my computer nor any problems prior. I did the step by st