Where is Expiry date & Rule that is triggered in CRMXIF_ORDER_SAVE_M
Hi All,
I am trying to troubleshoot an issue in the idoc CRMXIF_ORDER_SAVE_M.
Segment name is E101CRMXIF_APPOINTMENT_XT under E101CRMXIF_BUSTRANS.
1st node should be populated with Expirydate. But it is populating the approve date. When I try to debug, I am not able to figure out from where the RULE_NAME & APPT_TYPE are getting populated.
For example:
Under APPL_SNAME: CRMXIF_APPOINTMENT_XT, when I select the 1st node, the values are populated as below.
APPL_SNAME CRMXIF_APPOINTMENT
APPT_TYPE APPROVEDATE
TIMESTAMP_FROM 20101108080000
TIMESTAMP_TO 20101108080000
RULE_NAME TODAY
DURATION 0
OBJECT_TASK I
It should actually be populating,
APPL_SNAME CRMXIF_APPOINTMENT
APPT_TYPE EXPIRYDATE
TIMESTAMP_FROM 20110308080000
TIMESTAMP_TO 20110308080000
RULE_NAME ZDDW_DEF
DURATION 0
OBJECT_TASK I
Please help.
Thanks
Shubha
Hey Sreenivas,
Standard provided Idoc will not have segments for Z fields that you add using AET/EEWB. How did you try to regenerate Idoc? You need to use transaction BDFG to generate a custom Idoc.
Follow the steps below.
1. Create a Z function group.
2. Run BDFG. Enter 'CRMXIF_ORDER_SAVE' in parameter for function Module and press enter. It will list the available message types including 'CRMXIF_ORDER_SAVE_M'
3. Press Create button in application toolbar. A popup will come. Give a name for new message type. Another popup will come, give names for inbound/outbound functions using the Z FG you created, suitable development class and press enter.
4. Now view your message type. Go to the idoc type and release it.
5. Finally selecting your new Z message type, go to menu Edit->Idoc Type and Segment Type->Release. Release your objects. There may be a few popups, respond accordingly.
6. Maintain partner profile settings. Process code will be APLI or APLM as per your need.
Voila!! You have your new message type having segments for Z fields.
Let me know the outcome.
Similar Messages
-
I am creating an Apple ID and i can't seem to get the payment method right!
I need to know where the expiry date, code and card number is on my $30 iTunes Gift Card because i have no idea where it is.....
Anyways please help me!?!
Thanks.....Welcome to Apple Support Communities
iTunes cards don't expire, so don't worry about that. To know where the code you have to type is, read > http://support.apple.com/kb/ht1574 -
Date Determination using Date Types and Date Rules
Hi Friends,
Iam working on Date Management in CRM 7.0
I have a requirement where I need to calculate the generate the Billing Date present in the Billing Plan tab of the Service Contract.
I have gone through few of the Date Rules defined in the system. My requirement is to subtract the number of days from the Settlement Start Date and populate this Billing Date. It is clear from the existing date rules that we can subtract the days from Settlement Start Date. But I have a new Z field that is created using EEWB, in which user will enter the number of days. Now I need to subtract these days from Settlement Start Date. So, how can I get the reference of this new field. How can I subtract the number of days that the user will enter in this new Z field.
Thanks & regards,
RajuHello Robert
I am currently working on service request.I am facing a problem in the date management there.In my service request i have 5 statuses .One of my status is "Pending with consumer".I am using duration settings of service request.By duration settings , i am calculating the duration for which its pending with consumer.I am having 2 response profile one is 24*7 and other is having 9 working hours.In the service request from the SLA configuration i am calculating the escalation date & Time .I need to add the pending with consumer duration with the escalation date and time.I am facing a problem , i am explaining whole problem ..
Let say if the pending with consumer duration is 1440 minutes(that is 24 hours) .I am adding the minutes to the escalation date through the date rule.
I am facing problem that if the service profile is 24*7 then there is no problem but if it is having the 9 hours working service profile then after adding the minutes to it the escalation date is changing to 4 days ahead which is wrong.
I need to add only those minutes for which it is pending with consumer in working hours for the 9 hours service profile
I need to dynamically determine the working hours from the duration then add it to escalation dates when the status is changed from pending with consumer.
Please suggest a badi will work or how to do it.Its urgent as i need to give demo.I will appreciate a quick reply.Please reply -
Report for expiry date of the material
All SAP Gurus,
We have certain Materials which are expirable.
These Materials are batch managed, and each batch is having different expiry date.
Is there any standard report available which can give is the days remaining to reach the expiry date (for that material)?
Regards,Hi,
Try MB5M,
here
Field name Field value
Material Enter the material code to which the report is desired.
Plant Enter the plant in which the report is to be generated.
Storage Location Enter the storage location in which the report is to be generated. Optional entry. Leave it blank.
Batch Batch number to be displayed. Optional entry. Leave it blank.
Remaining shelf life Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system. Optional entry.
Remaining shelf life warehouse Indicates that the remaining shelf life of a batch in
Total remaining shelf life Indicates that the system displays the total remaining shelf life of a batch.
The total remaining shelf life is calculated from the shelf life
Expiration date minus the current date. Select this radio button.
Indicates that the system also displays materials with zero stock. Optional, leave it blank.
Display of remaining shelf life in days. Select this radio button to display the remaining shelf in days in the report.
Regards,
Pardeep Malik -
Using data rule on table level
Hi
We want to implement a data rule that compares the grand total in the target table with the grand total in the source table.
In case of difference, we only want one record in the error table.
That seems not possible out of the box. We could implement a procedure in the workflow, but want to use the buildt in features (if they exist).
Have anyone solved this problem ?
Best Regards
KlausHi Klaus,
as far as I know data rules only examine the incoming data. If you want to compare loaded data grand total with the source grand total I see two diefferent approaches:
1. Use the post process operator in the mapping to call a customs procedure that calculates the totals, compares them and in case of a difference writes directly into the error table
2. Create a mapping to do this checks and call it directly after the original mapping.
Regards,
Carsten. -
A constant date to be created through Date rule
Hello Folks.
I need to create a date rule that could store a constant date(say 13 July, 2014). This rule would then be assigned to a date type.
Has anyone worked on the same?
Regards
AnkitIn my requirement, I'm actually using the LDB's and getting a desired selection screen.
But i need to addd one more field in the Sel. screen. ie., date.
I want tht date to be setted as dynamic radiobutton .
parameter for presentation server filename
PARAMETERS : rb_date RADIOBUTTON GROUP disp DEFAULT 'X'.
rb_other RADIOBUTTON GROUP disp .
in this RB_other field i wud like to add one more field to type the desired date.
can any let me know how to proceed on.
Regards
Rohini. -
My imac running OS 10.6.8, and want to install Garmin software that needs OS10.7.
The latest upgrade Maverick requires a MAC dated 2007 or later. Where is the date... It is NOT in "About this Mac".
I feel an older upgrade than Maverick might be better for my machine?
Is it possible to upgrade to ie, 10,7? or another recommended upgrade.
How to proceed?Upgrading from Snow Leopard to Lion or Mountain Lion
You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99.
If you sign into the App Store and try to purchase Mountain Lion but the App Store says your computer is not compatible then you may still be able to upgrade to Lion per the following information.
A. Upgrading to Mountain Lion or Mavericks
To upgrade to Mountain Lion or Mavericks you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion or Mavericks (Free) from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
OS X Mountain Lion — System Requirements
OS X Mavericks- System Requirements
Macs that can be upgraded to OS X Mountain Lion
1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
Model Identifier 5,1 or later
3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
7. Xserve (Early 2009) — Model Identifier 3,1 or later
To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
Are my applications compatible?
See App Compatibility Table — RoaringApps.
B. Upgrading to Lion
If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax. It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
Lion System Requirements
1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
or Xeon processor
2. 2GB of memory
3. OS X v10.6.6 or later (v10.6.8 recommended)
4. 7GB of available space
5. Some features require an Apple ID; terms apply. -
Where can I view all Business rules that are currently running
Hi,
I was told that this is available in our Planning v11 but can't find it.
where can I view all processes (such as Business rules) that users are currently running ?
thanks.Hi,
They are probably meaning the job console > Tools > Job console.
More information > http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_user/job_stat.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Does the balance of a iTunes Gift Card that is "loaded" to my iTunes Store / App Store account have an expiry date ?
I know that the actual card/s have an expiry date, but when I load the card value into my iTunes Store / App Store account, will this balance have an expiry date ?
I can't find an answer.UPDATE
Last night, approx.11:00PM I sent a "Express Lane" enquiry regarding my question.
I received the following e-mail back at 11:30PM:
I have read through your email and understand that you would like to know if there is any expiry time for Store Credit on your account. My name is ******* and I thank you for letting me help you with this.
That is a very good question *******, and the answer is once on your account there is no time frame required for you to spend it. It does not collect interest, but it will certainly be there for you, ready to be used when you find something that interests you.
Thank you for choosing iTunes as your source of entertainment, *******. If you have any more questions feel free to contact me as I am only an email away. Have a great day!
I have removed the names and highlighted the answer to the question I asked the forum. -
Item Expiry Dates in a View ?
I would like to write a query to show items that have an expiry date or number of days until expiry set, is there a secured view that can be used or do I need to access the underlying table directly ?
The wwv_things table gives me the expiredate, expirenumber, expiremode. The content area view (wwsbr_all_items) only has the expiredate so doesn't show any items that are set to expire say 5 days in the future.
Is there a different view that shows this or should I just run the query off wwv_things ?Simon,
You would need the expirenumber and expiremode columns from the wwv_things table to achieve this. Expiremode, a varchar2 column, can contain the literal 'PERMANENT', 'DATE', or 'NUMBER'. WWSBR_ALL_ITEMS view currrently does not expose these columns. If you have access to the source, add these 2 columns to the view creation script. If not use the view script given below to recreate the view:
PROMPT Creating View 'WWSBR_ALL_ITEMS'
CREATE OR REPLACE VIEW WWSBR_ALL_ITEMS AS
SELECT t.masterthingid masterid,
t.id,
t.siteid caid,
t.language,
t.iscurrentversion is_current_version,
t.cornerid folder_id,
t.regionid folder_region_id,
t.name,
t.title display_name,
t.itemtype,
t.type,
t.subtype,
t.parentid parent_item_id,
t.topicid category_id,
t.topicsiteid category_caid,
t.author,
t.description,
t.publishdate publish_date,
t.expiremode expire_mode,
t.expiredate expire_date,
t.expirenumber expire_number,
t.image,
t.keywords,
u.url url,
t.filename,
tx.text text,
t.cornerlinkid folder_link_id,
t.cornerlinksiteid folder_link_caid,
t.active,
t.checkable can_be_checkedout,
t.checkedout is_item_checkedout,
t.checker checker_username,
t.checkoutdate checkout_date,
t.fullscreen,
t.inplace,
t.hideinbrowse,
t.createdate,
t.creator,
t.updatedate,
t.updator,
t.seq,
t.author_seq,
t.createdate_seq,
t.itemtype_seq
FROM WWV_THINGS T,
WWSBR_URL$ U,
WWV_TEXT TX
WHERE t.url = u.url(+) and
t.siteid = u.object_siteid(+) and
t.textid = tx.id(+) and
t.siteid = tx.siteid(+) and
( EXISTS
-- site and style admin
SELECT 'x'
FROM WWSEC_SYS_PRIV$
WHERE OBJECT_TYPE_NAME = 'SITE'
AND NAME = TO_CHAR(T.SITEID)
AND OWNER = wwctx_api.get_product_schema
AND GRANTEE_TYPE = 'USER'
AND GRANTEE_USER_ID = wwctx_api.get_user_id
AND GRANTEE_GROUP_ID = 0
AND PRIVILEGE_CODE > 100 -- SITE and STYLE ADMIN
UNION ALL
SELECT 'x'
FROM WWSEC_SYS_PRIV$ P, WWSEC_FLAT$ F
WHERE P.OBJECT_TYPE_NAME = 'SITE'
AND P.NAME = TO_CHAR(T.SITEID)
AND P.OWNER = wwctx_api.get_product_schema
AND P.GRANTEE_TYPE = 'GROUP'
AND P.GRANTEE_USER_ID = 0
AND P.GRANTEE_GROUP_ID = F.GROUP_ID
AND P.PRIVILEGE_CODE > 100 -- SITE and STYLE ADMIN
AND F.PERSON_ID = wwctx_api.get_user_id
OR
-- portal admin
EXISTS
SELECT 'x'
FROM WWSEC_SYS_PRIV$
WHERE OBJECT_TYPE_NAME = 'ANY_SITE'
AND NAME = 'ALL_OBJECTS'
AND OWNER = wwctx_api.get_product_schema
AND GRANTEE_TYPE = 'USER'
AND GRANTEE_USER_ID = wwctx_api.get_user_id
AND GRANTEE_GROUP_ID = 0
AND PRIVILEGE_CODE = 500 -- ADMIN
UNION ALL
SELECT 'x'
FROM WWSEC_SYS_PRIV$ P, WWSEC_FLAT$ F
WHERE P.OBJECT_TYPE_NAME = 'ANY_SITE'
AND P.NAME = 'ALL_OBJECTS'
AND P.OWNER = wwctx_api.get_product_schema
AND P.GRANTEE_TYPE = 'GROUP'
AND P.GRANTEE_USER_ID = 0
AND P.GRANTEE_GROUP_ID = F.GROUP_ID
AND P.PRIVILEGE_CODE = 500 -- ADMIN
AND F.PERSON_ID = wwctx_api.get_user_id
OR
-- folder owner
( EXISTS (SELECT 'X'
FROM WWV_USER_OWNED_CORNERS
WHERE SITEID = T.SITEID
AND ID = T.CORNERID)
OR
-- view folder w/no ILS
( EXISTS (SELECT 'X'
FROM WWV_USER_CORNERS
WHERE SITEID = T.SITEID
AND ID = T.CORNERID
AND HAVEITEMSECURITY = 0)
OR
-- view folder or item w/ILS
EXISTS (SELECT 'X'
FROM WWV_USER_CORNERS C
WHERE C.SITEID = T.SITEID
AND C.ID = T.CORNERID
AND ((HAVEITEMSECURITY = 0) OR
(HAVEITEMSECURITY = 0 AND
T.SECURITY = 'folder') OR
(HAVEITEMSECURITY = 1 AND
T.SECURITY = 'item' AND
EXISTS
(SELECT 'X'
FROM WWSEC_SYS_PRIV$ D,
WWSEC_FLAT$ F
WHERE F.PERSON_ID =
WWCTX_API.GET_USER_ID()
AND D.OBJECT_TYPE_NAME = 'ITEM'
AND D.NAME =
T.SITEID| |'/'| |T.MASTERTHINGID
AND D.OWNER =
WWCTX_API.GET_PRODUCT_SCHEMA
AND D.GRANTEE_TYPE = 'GROUP'
AND D.GRANTEE_GROUP_ID = F.GROUP_ID
AND D.GRANTEE_USER_ID = 0
UNION ALL
SELECT 'X'
FROM WWSEC_SYS_PRIV$ D
WHERE D.OBJECT_TYPE_NAME = 'ITEM'
AND D.NAME =
T.SITEID| |'/'| |T.MASTERTHINGID
AND D.OWNER =
WWCTX_API.GET_PRODUCT_SCHEMA
AND D.GRANTEE_T YPE = 'USER'
AND D.GRANTEE_USER_ID IN
(WWCTX_API.GET_USER_ID(),2)
PROMPT Creating View 'WWSBR_ITEM_PERSPECTIVES'
CREATE OR REPLACE VIEW WWSBR_ITEM_PERSPECTIVES AS
SELECT tp.siteid item_caid,
tp.masterthingid item_masterid,
tp.perspectiveid perspective_id,
tp.perspective_siteid perspective_caid,
p.name perspective_name
from wwv_thingsperspectives tp,
wwv_perspectives p
where p.siteid = tp.perspective_siteid
and p.id = tp.perspectiveid
and exists (select 1
from wwsbr_all_items i
where i.masterid = tp.masterthingid
and i.caid = tp.siteid)
null -
How to automatically update the Expiry Date's number of days
My web app input form is an event submission form. Users enter the event title, event date and other details, etc. I've figured out how to get the "expiry days" in the form and it be hidden but i can't figure out how to calculate this:
(today's date) - (event date) + 1 day = number of days to expire and then set the expiry days to that value upon submission.
I have tried writing the js but am getting no where, has anyone out there already accomplished this? I've researched and researched and find a million things on calculating the number of days but can't get one of them to work for my situation here... any help would be greatly appreciated!!Hi Murtuza,
You can use function module BAPI_ISUACCOUNT_CHANGE.
Pass dunning lock details in parameter TCTRACLOCKDETAIL. This function module only create and delete locks.
So, you need to pass existing lock details (from table DFKKLOCKS) with PROCESSING_MODE = 04 (delete) and append another value with changed expiry date with PROCESSING_MODE = 01 (Create).
This will also help in maintain lock history too.
Hope this helps.
Regards,
Avinash -
Where does the data of health service watcher node gets stored in OperationsManagerDB/DW ?
Hi,
We have integrated SCOM 2007 R2 to some third party tool which takes the data of health service as the component from OperationsManagerDB/DW and shows the availability of each server in graphical format. But we have noticed that due to some issues with health
service, the availability gets affected. Hence, we have thought to add the data of health service watcher node as a component in that tool than
health service only. But we are unable to get the exact location of health service watcher in OperationsManagerDB/DW.
Could anyone please help me with the location of health service watcher node data in
OperationsManagerDB/DW.
What is the table name where the data of health service watcher node gets collected in OperationsManagerDB/DW.
Thanks in anticipation.Hi,
A watcher node is an agent that runs monitors and rules that test an application or feature on another computer.
A watcher node can either be the agent with the application or feature installed, or it can be a separate agent. If the watcher node is a separate computer, in addition to ensuring that the application or feature is healthy, the watcher node can validate
that clients can connect to it and test such additional features as security, network availability, and firewalls.
I think according to applications monitored, watcher node is configured differentlly, the below article is talking about lync watcher node, you may want to check it:
http://technet.microsoft.com/en-us/library/jj204943.aspx
Regards,
Yan Li
Regards, Yan Li -
Make content item's status to expire after crossing expiry date in WLP repo
Can anybody please tell me, how make the status of content to expired after crossing its expiry date(content attribute) programmatically.
Thanks a ton in advance.Are you using Library Services and the WLP Repository? If so, are you looking to automatically move content Nodes to the Retired status when the expiry date is reached? If the answers to both of these are yes, then you'll need to write some type of job that runs on some frequency and queries for Nodes where the expiration/retired date is reached. Of course, you'll need to have a Property on each content Type that holds the scheduled retirement date. Your job would then need to query where the retirement date has been reached and do a checkout, change status to retired, and then check the Node back in. Note that the retirement would only occur as often as your job ran, so if the retirement is time senstivie (ie. to the minute or second), then you'll also need to filter your content searches that are used in your application to filter out items that have reached the expiration date (ex. Type.ExpirationProperty > now).
If you're not using Library Services, then you would just include the expiration date test (Type.ExpirationProperty > now) in each query/display to ensure that you are not displaying content that has reached maturity.
Brad -
Update the expiry date of dunning lock in program
Hi,
I have requirement where I want to update dunning lock expiry date to today's date in the program. Does anybody have idea about FM or BAPI for that.
I have actually used FKK_S_LOCK_DELETE but here i dont want to delete it directly. I have checked other FMs in function group FKLOCK but couldn't find any suitable.
Thanks in advance,
MurtuzaHi Murtuza,
You can use function module BAPI_ISUACCOUNT_CHANGE.
Pass dunning lock details in parameter TCTRACLOCKDETAIL. This function module only create and delete locks.
So, you need to pass existing lock details (from table DFKKLOCKS) with PROCESSING_MODE = 04 (delete) and append another value with changed expiry date with PROCESSING_MODE = 01 (Create).
This will also help in maintain lock history too.
Hope this helps.
Regards,
Avinash -
Different date profile and date rule in one transaction type
Hi CRM Experts,
We have requirement that quotation should have validity date based on the contry.We have only one quotation type which will be used in all county.
Now i need to know how can we use different date profile and date rule in one quotation.
Ex -
When the quotation created for russia - expiry date = today + 10 days
when quote created in china = expiry date = today + 25 days
Can it be possible in standared configuration? if not then give me some insight how to achive this?
Regards
RajeshHi, Rajesh.
You can create a Date Rule based on functional module.
Look at example in SAP standard: Date Rule "WTY004 Purchase Date Object":
<?xml version="1.0"?>
<SAPTimeRule>
<ABAPTimeRule function="CRM_WTY_IL_TIMERULE_03"/>
</SAPTimeRule>
Hope this helpful!
Maybe you are looking for
-
Facing error while running jsp page in jdev10g ADF
Hi, I am not able to run pages of an application created in Jdev ADF.I am facing this error. can anybody help me out??? JBO-30003: The application pool (model.ChakDeTrackersLocal) failed to checkout an application module due to the following exceptio
-
G/L Account and Revenue Account determination
Hi all, What is the difference between G/L Account determination and Revenue Account determination? How to configure them? Regards, Ajit
-
Automatic payment run Program control points
I want to know when we are configuring APP through code FBZP. then we want control in terms of : 1. If postal code is missing in vendor master data then it should show as exception in APP 2. If account details , bank key detail fields are not inputt
-
Selecting objects in a layer to copy and paste into a new doc?
How can I select all objects in a layer and copy and paste the objects into a new document? We are having issues with the copy and paste method. Is this because it uses the operating systems clipboard?
-
I am a newb to the DBA side of Oracle and have never setup an instance of it or installed it for that matter. I have TOAD and I would like to connect to the server using it. I have installed TOAD 7.6 on my workstation and that is all. I have not inst