Segment scheduling in OBIEE11g
Hi,
I am using OBIEE11.1.16.7 mainly for marketing purpose. I can create a segment (Marketing --> Segment) and SRS it. But everytime I need to execute the Save Result Set (SRS), manual intervention is required to execute it. Is there any mechanism in OBIEE to schedule the segment so that it can run automatically in daily basis.
I know there is some way in Siebel CRM from where we can call the segments created in OBIEE and schedule it. But I want to schedule the segment within OBIEE.
Please let me know if this is possible in OBIEE11g.
Thanks,
Prasanta
SMTP configuration is done, but if SMTP was an issue it should throw an error saying mail id cannot be resolved.
Please advice
Thanks
Similar Messages
-
ORDRSP Idoc addition and deletion of segment schedule lines
Hello
I have requirement in the Iodc ORDRSP it has segment E1EDP01 and it has sub segments
E1EDP02
E1EDP03
E1EDP05
E1EDP20
E1EDP20
And it has multiple E1EDP20 with the different quantity
Now I if there are more than one E1EDP20 segments and should display in different segments .
I have found the customer exit EXIT_SAPLVEDC_003 where I will get the idoc data “DINT_EDIDD”.
Example :
Now :
After change I want to beHi,
Yes you can replicate the segment "E1EDP01" along with its sub-segments.
as mentioned, if your requirement is met by having multiple "E1EDP20" segments,
then in exit table: “DINT_EDIDD”,
replicate all the SEGNAM with incrementing SEGNUM and maintaining only one "E1EDP20" for each "E1EDP01".
(please relate SEGNAM to PSGNUM & SEGNUM(incremented) ).
this will do!!!.......let me know if anything.
Thanks & Regards,
Santosh. -
Hello,
I'm looking for some updates on the timelines for SCPM 2.0 HANA integration and the next release of SCPM.
I understand SCPM 2.0 is to be validated with BW 7.3 on HANA, is this up and running now?
Also I understand the next release (Next year) may potentially use HANA as a database and as a platform bypassing the need for BW with an HTML 5 based UI.
Are these still in the pipeline or have plans changed?
Many thanks,
Bridie
Edited by: Bridie Stevens on Dec 5, 2011 4:50 PMHi Birdie,
SCPM on BW 7.3 on HANA will be validated by Q1 2012
Future direction is to build LEAN version of SCPM on Native HANA with HTML5, initially targeted for On Demand Segment scheduled for market release in late 2012
Regards,
Tarun -
Hi!
After integrating and configuring Siebel Marketing 8 with OBIEE 10g, I can now create segments using OBIEE metadata.
But how can I schedule the Segment execution, in order to load S_CAMP_CON at a schedule date/time, so it does not load it during the day, when the system is heavily used?
thanks.
FPGHi,
Have you selected any query saved under the Category defined by you? The Schedule will be greyed out till the time the saved query from the category is not highlighted.
Check whether you can schedule the query to be run to the defined parameter in the Schedule : Report Execution.
Kind Regards,
Jitin
SAP Business One Forum Team -
OBIEE11g - Schedule Multiple Reports
Hi All,
I have been successfully able to schedule my analysis and my dashboards with OBIEE11g Agents.
Now, I have a set of 100 critical reports that I have to schedule. Is there a way to create one agent having these 100 reports?
How do I schedule 100 reports without creating 100 different agents ?
Any suggestions/advice will be highly appreciated.
Thanks n Regards
DevHi Swastik,
You would need to have a lookup on a table that had currency conversion values, then have an additional table that contains the username and country that they are in. You would then need to bring the country into a session variable via an initialisation block and then filter your report/lookup based on that.
Hope that helps,
Chris -
OBIEE: Schedule Segments with Saved Result Sets?
Hi!
I'd like to know how it is possible to solve this problem:
Imagine that we have segments that were created with Segment Designer and configured with Saved Result Sets (SRS). Some of them are quicker to execute at night, so the goal is to schedule at night the execution of those sements and the respective saving of result sets. The next morning, the marketeer using Siebel Marketing, when designing and building the campaign, would only have to select the segment and then choose to use the contacts of the SRS of that segment, instead of running on-the-fly (online) the segment...
Was may explanation clear? How is this possible?
Thank you.
Regards,
Filipe GanhãoUpdate: looks like the wizard is really overwhelmed with big cubes (1.5k accounts, 20 dims @ approx 10 generations each) and just breaks.
I haven't figured out the exact limit, but I'm able to migrate pack of about 8 dims at a time as long as I leave the accounts dim out and do that on itself.
Cheers,
C. -
Scheduling Agreement with Delivery Schedule using Idoc messages
Hi all,
Can anybody please explain the importance of the field name "LABKY" in Idoc execution for Forecaste/JIT Delivery Schedule.
My requirement is that when i send a new Idoc i do not want the old schedule line which are not yet released , to be deleted .
As per the SAP help the use of the field LABKY is related to this , but when i tried its value as "1" , the previous schedule lines are still getting deleted.
Can you pls explain how to go about it . ( DELFOR/DELJIT Idocs)
Thank you
Regards
SubhaHi ,
The Field
LABKY : Delivery schedule key
internal data type : CHAR
Internal length : 000001 characters
Position in segment : 026, Offset : 0393. external length : 000001
Regards
Seegal -
Idoc execution in Scheduling Agreement with Delivery Schedule
Hi all,
Can anybody please explain the importance of the field name "LABKY" in Idoc execution for Forecaste/JIT Delivery Schedule.
My requirement is that when i send a new Idoc i do not want the old schedule line which are not yet released , to be deleted .
As per the SAP help the use of the field LABKY is related to this , but when i tried its value as "1" , the previous schedule lines are still getting deleted.
Can you pls explain how to go about it . ( DELFOR/DELJIT Idocs)
Thank you
Regards
SubhaHi ,
The Field
LABKY : Delivery schedule key
internal data type : CHAR
Internal length : 000001 characters
Position in segment : 026, Offset : 0393. external length : 000001
Regards
Seegal -
Delivery Schedule line no in Make to Order
Hi all,
i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order number and sale order item number is getting updated in production order . Beside these two , delivery schedule line number is not populated and delivery date is not picking correctly in production order.
please give your valuable suggestion .
i would be highly thankful to u
regards
piyushhi
thanks,
i have checked MD04 peg requirement list with order route.
every thing is ok.,schedule number is also coming but only for finished good . if three production order is there for semifinished then there is no any relation that how i can judge that this semifinished is for which FG material.means :
FG 1 FG 2 FG 3
SF 1 SF 2 SF 3
SF 11 SF 22 SF 33
How this SF 11 is linked with FG1.and schedule delivery number is there but only for FG material. planning segment is same for all the FG material.MRP element data having all the link but only for FG material.
what is the link of SF 11 to schedule delivery line number with FG material.
Regards -
Creation of PO/Contract/Scheduling agreement with ref to PR using IDOC
Hi Experts,
Is it possible to <b>create PO/Contract/Scheduling agreement</b> <b>with reference to PR</b> <b>using inbound IDOC ?</b>
If yes, please let me know the segment type and field to be populated for referencing PR in the IDoc .
Thanks in Advance,
Best Regards,
Mitesh DesaiHi Aarif,
Thanks for taking time to reply .
We are palnning to integrate SAP and non SAP systems.
The business Process is as under .
(1) PR will be generated in ERP (Manaul/MRP)
(2) PR will be coverted into RFQ (for which there is no appropriate source of supply
in ERP)
(3) Sourcing will be done in non SAP system. RFQ will be created with dummy vednro (for example say "source") to identify RFQs to be sent to another system.
These RFQs needs to be sent using IDOC alonwith reference PR numbers and line item numbers.
Multiple PRs will be combined into one RFQ as multiple line items.
(4) Non SAP system will do sourcing and generates either PO or master outline agreement and have reference PR/RFQ numbers and line item numbers.
No SAP system will send PO/outline agreement information to SAP system in XML file format to generate inbound IDOC in SAP .
(5) This inbound idoc will generate PO/outline agreement in SAP.
From SAP functionality point of view, I ca createPO/outline agreement with reference to PR but <b>My Question is how I can generate PO/outline agreement in SAP through IDOC and using "Reference PR or RFQ numbers".</b>
Looking forward to help ASAP.
Regards,
Mitesh Desai -
How to Count schedule lines in IDoc ORDERS05 using XSLT Mapping
Hi Experts,
In a Scenario where we are sending Purchase order (ORDERS05) to SAP SNC using XSLT Mapping,
where in we need to count the no. of schedule lines against the Purchase Order line.
As in Schedule line segment there is no such provision, so it needs to be handle in XSLT mapping to count the schedule lines.
Can you all please guide me how to go about the same.
Regards,
Nitin PHi Satish,
Thank you very much for the reply,
as there is only Quantity and other information is maintained against schedule lines how we can count the schedule line repeatation against PO line ? Is that very simple as you suggested or some other consideration also needs to be taken.
Please clarify the same and let me also know if there are some standard documents also for the same.
Regards,
Nitin P -
Fist, I should mention I am not a programmer but am eagerly learning powershell!
I am looking for an automated solution to accomplish what I am currently doing manually. I need a script that would combine the following:
Reach out to a list of websites (probably a loop of some sort since the list will come out of a spreadsheet which could contain 1 or 100 different sites)
Search each page for a specific word or words (not contained in the spreadsheet though that may make it more scalable)
Save the URL of the site(s) that contained the keywords to one text file (versus the multiple .html files I am creating today)
Have the output contain which words it found on which site.
If not overly complicated, I would like to schedule this to recur once a week.
A working script would be ideal, but even the resources that show me how to incorporate each element would suffice.
I have had success pulling down the full content of the listed pages and saving them to a directory, which requires manual intervention.
So far this works, but it's not scalable:
Set-ExecutionPolicy RemoteSigned
$web = New-Object Net.WebClient
$web.DownloadString("http://sosomesite/54321.com") | Out-File "C:\savestuffhere\54321.html"
$web.DownloadString("http://sosomesite/54321.com") | Out-File "C:\savestuffhere\65432.html"
Get-ChildItem -Path "C:\savestuffhere\" -Include *.html -Recurse | Select-String -Pattern "Keyword 1"
In otherwords, I have to manually replace the "http://sosomesite/54321.com" and "C:\savestuffhere\54321.html" when the URL changes to .\65432.com and the output name to match. That works fine when it's a couple sites, but again,
is not scalable.
Then, to see if any of the saved file's contain the keyword(s), I have to search the directory for the keyword which I am using:
Get-ChildItem -Path "C:\savestuffhere\54321.html" -Include *.html -Recurse | Select-String -Pattern "Keyword 1"Hi Sure-man,
Sorry for the delay reply.
To automatically Reach out to all urls, you can list all urls in a txt file "d:\urls.txt" like this:
http://sosomesite/54321.com
http://sosomesite/65432.com
Then please try the script below to save the URL of the site(s) that contained the keywords to one text file "d:\outputurls.txt":
$urls = get-content d:\urls.txt
foreach($url in $urls){
$results = $web.DownloadString("$url")
$matches = $results | Select-String -Pattern "keyword1","keyword2"
#Extract the text of the messages, which are contained in segments that look like keyword1 or keyword2.
if ($matches.Matches){
$Object = New-Object PSObject
$Object | add-member Noteproperty keyword $matches.Matches.value
$Object | add-member Noteproperty URL $url
$output+=$Object}
$output|Out-File d:\outputurls.txt
If you want to schduled this script in Task Scheduler once a week, please save the script above as .ps1 file, and follow this article:
Weekend Scripter: Use the Windows Task Scheduler to Run a Windows PowerShell Script
If I have any misunderstanding, please let me know.
I hope this helps. -
Erro while running query for a Scheduled work book
The following error found while running query for a schedule workbook:
ORA-12801: Error signaled in parallel query server P000
ORA-01652: uable to extend temp segment by 14720 in tablespace SYSTEM
ORA-27068: skgfdisp: buffer is not aligned properly
OSD-04005: SetFilePointer() failure, unable to read it from file
We are using discoverer 4.1.
Any help is highly appreciated.
nullCandi,
Have your DBA check for trace file and contact Oracle Support: RDBMS group to track these errors down...
Chris
null -
Urgent: Error-Record 39,779, segment 0001 is not in the cross-record table
Hi Gurus,
This is an urgent production issue: I got the following error-
I am updating data records from a DSO to Infocube in delta mode,
1.Record 39,779, segment 0001 is not in the cross-record table
2.Error in substep: End Routine
I dont know problem is in the End Routine or somewhere else,
The End routine is this:
PROGRAM trans_routine.
CLASS routine DEFINITION
CLASS lcl_transform DEFINITION.
PUBLIC SECTION.
Attributs
DATA:
p_check_master_data_exist
TYPE RSODSOCHECKONLY READ-ONLY,
*- Instance for getting request runtime attributs;
Available information: Refer to methods of
interface 'if_rsbk_request_admintab_view'
p_r_request
TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
PRIVATE SECTION.
TYPE-POOLS: rsd, rstr.
Rule specific types
TYPES:
BEGIN OF tys_TG_1,
InfoObject: ZVEHICLE Unique Vehicle ID.
/BIC/ZVEHICLE TYPE /BIC/OIZVEHICLE,
InfoObject: ZLOCID Mine Site.
/BIC/ZLOCID TYPE /BIC/OIZLOCID,
InfoObject: ZLOCSL Location Storage Location.
/BIC/ZLOCSL TYPE /BIC/OIZLOCSL,
InfoObject: 0VENDOR Vendor.
VENDOR TYPE /BI0/OIVENDOR,
InfoObject: ZNOMTK Nomination Number.
/BIC/ZNOMTK TYPE /BIC/OIZNOMTK,
InfoObject: ZNOMIT Nomination Item.
/BIC/ZNOMIT TYPE /BIC/OIZNOMIT,
InfoObject: ZNOMNR Nomination number.
/BIC/ZNOMNR TYPE /BIC/OIZNOMNR,
InfoObject: ZVSTTIME Vehicle Starting Time Stamp.
/BIC/ZVSTTIME TYPE /BIC/OIZVSTTIME,
InfoObject: ZVEDTIME Vehicle Ending Time Stamp.
/BIC/ZVEDTIME TYPE /BIC/OIZVEDTIME,
InfoObject: ZNETWT Net Weight.
/BIC/ZNETWT TYPE /BIC/OIZNETWT,
InfoObject: TU_GRS_WG Gross Wgt.
/BIC/TU_GRS_WG TYPE /BIC/OITU_GRS_WG,
InfoObject: ZTU_TRE_W Tare Wgt.
/BIC/ZTU_TRE_W TYPE /BIC/OIZTU_TRE_W,
InfoObject: ZCUSTWT Customer Weight.
/BIC/ZCUSTWT TYPE /BIC/OIZCUSTWT,
InfoObject: ZCAR_NO Car Number.
/BIC/ZCAR_NO TYPE /BIC/OIZCAR_NO,
InfoObject: ZINBND_ID Train Consist Inbound ID.
/BIC/ZINBND_ID TYPE /BIC/OIZINBND_ID,
InfoObject: ZOTBND_ID Train Consist Return Load.
/BIC/ZOTBND_ID TYPE /BIC/OIZOTBND_ID,
InfoObject: 0SOLD_TO Sold-to Party.
SOLD_TO TYPE /BI0/OISOLD_TO,
InfoObject: 0CUSTOMER Customer Number.
CUSTOMER TYPE /BI0/OICUSTOMER,
InfoObject: 0SHIP_TO Ship-To Party.
SHIP_TO TYPE /BI0/OISHIP_TO,
InfoObject: ZVEHI_NO Vehicle Number.
/BIC/ZVEHI_NO TYPE /BIC/OIZVEHI_NO,
InfoObject: ZCARSTDAT Car Start Date.
/BIC/ZCARSTDAT TYPE /BIC/OIZCARSTDAT,
InfoObject: ZCAREDDAT Car End Date.
/BIC/ZCAREDDAT TYPE /BIC/OIZCAREDDAT,
InfoObject: ZCARSTTIM Car Start Time.
/BIC/ZCARSTTIM TYPE /BIC/OIZCARSTTIM,
InfoObject: ZCAREDTIM Car End Time.
/BIC/ZCAREDTIM TYPE /BIC/OIZCAREDTIM,
InfoObject: 0COMPANY Company.
COMPANY TYPE /BI0/OICOMPANY,
InfoObject: ZCONTRACT Contract.
/BIC/ZCONTRACT TYPE /BIC/OIZCONTRACT,
InfoObject: 0PLANT Plant.
PLANT TYPE /BI0/OIPLANT,
InfoObject: ZLOADTIME Total Vehicle Loading time.
/BIC/ZLOADTIME TYPE /BIC/OIZLOADTIME,
InfoObject: ZSHIPDATE Shipping Date.
/BIC/ZSHIPDATE TYPE /BIC/OIZSHIPDATE,
InfoObject: ZSHIPTIME Shipping Time.
/BIC/ZSHIPTIME TYPE /BIC/OIZSHIPTIME,
InfoObject: ZMNEDDT Manifest End Date.
/BIC/ZMNEDDT TYPE /BIC/OIZMNEDDT,
InfoObject: ZMNEDTM Manifest End Time.
/BIC/ZMNEDTM TYPE /BIC/OIZMNEDTM,
InfoObject: ZLDEDDT Loaded End Date.
/BIC/ZLDEDDT TYPE /BIC/OIZLDEDDT,
InfoObject: ZLDEDTM Loaded End Time.
/BIC/ZLDEDTM TYPE /BIC/OIZLDEDTM,
InfoObject: ZMANVAR Manifest Variance.
/BIC/ZMANVAR TYPE /BIC/OIZMANVAR,
InfoObject: ZTU_TYPE Trpr Unit Type.
/BIC/ZTU_TYPE TYPE /BIC/OIZTU_TYPE,
InfoObject: ZACTULQTY Actual posted quantity.
/BIC/ZACTULQTY TYPE /BIC/OIZACTULQTY,
InfoObject: ZVEDDT Vehicle End Date.
/BIC/ZVEDDT TYPE /BIC/OIZVEDDT,
InfoObject: ZVEDTM Vehicle End Time.
/BIC/ZVEDTM TYPE /BIC/OIZVEDTM,
InfoObject: ZVSTDT Vehicle Start Date.
/BIC/ZVSTDT TYPE /BIC/OIZVSTDT,
InfoObject: ZVSTTM Vehicle Start Time.
/BIC/ZVSTTM TYPE /BIC/OIZVSTTM,
InfoObject: ZTRPT_TYP Vehicle type.
/BIC/ZTRPT_TYP TYPE /BIC/OIZTRPT_TYP,
InfoObject: 0CALMONTH Calendar Year/Month.
CALMONTH TYPE /BI0/OICALMONTH,
InfoObject: 0CALYEAR Calendar Year.
CALYEAR TYPE /BI0/OICALYEAR,
InfoObject: ZLOEDDT Quality Sent End Date.
/BIC/ZLOEDDT TYPE /BIC/OIZLOEDDT,
InfoObject: ZLOEDTM Quality sent End Time.
/BIC/ZLOEDTM TYPE /BIC/OIZLOEDTM,
InfoObject: ZATMDDT At Mine End Date.
/BIC/ZATMDDT TYPE /BIC/OIZATMDDT,
InfoObject: ZATMDTM At Mine End Time.
/BIC/ZATMDTM TYPE /BIC/OIZATMDTM,
InfoObject: ZDELAY Delay Duration.
/BIC/ZDELAY TYPE /BIC/OIZDELAY,
InfoObject: ZSITYP Schedule type.
/BIC/ZSITYP TYPE /BIC/OIZSITYP,
InfoObject: ZDOCIND Reference document indicator.
/BIC/ZDOCIND TYPE /BIC/OIZDOCIND,
InfoObject: 0BASE_UOM Base Unit of Measure.
BASE_UOM TYPE /BI0/OIBASE_UOM,
InfoObject: 0UNIT Unit of Measure.
UNIT TYPE /BI0/OIUNIT,
InfoObject: ZACT_UOM Actual UOM.
/BIC/ZACT_UOM TYPE /BIC/OIZACT_UOM,
Field: RECORD.
RECORD TYPE RSARECORD,
END OF tys_TG_1.
TYPES:
tyt_TG_1 TYPE STANDARD TABLE OF tys_TG_1
WITH NON-UNIQUE DEFAULT KEY.
$$ begin of global - insert your declaration only below this line -
... "insert your code here
$$ end of global - insert your declaration only before this line -
METHODS
end_routine
IMPORTING
request type rsrequest
datapackid type rsdatapid
EXPORTING
monitor type rstr_ty_t_monitors
CHANGING
RESULT_PACKAGE type tyt_TG_1
RAISING
cx_rsrout_abort.
METHODS
inverse_end_routine
IMPORTING
i_th_fields_outbound TYPE rstran_t_field_inv
i_r_selset_outbound TYPE REF TO cl_rsmds_set
i_is_main_selection TYPE rs_bool
i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
i_r_universe_inbound TYPE REF TO cl_rsmds_universe
CHANGING
c_th_fields_inbound TYPE rstran_t_field_inv
c_r_selset_inbound TYPE REF TO cl_rsmds_set
c_exact TYPE rs_bool.
ENDCLASS. "routine DEFINITION
$$ begin of 2nd part global - insert your code only below this line *
... "insert your code here
$$ end of 2nd part global - insert your code only before this line *
CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
Method end_routine
Calculation of result package via end routine
Note: Update of target fields depends on rule assignment in
transformation editor. Only fields that have a rule assigned,
are updated to the data target.
<-> result package
METHOD end_routine.
*=== Segments ===
FIELD-SYMBOLS:
<RESULT_FIELDS> TYPE tys_TG_1.
DATA:
MONITOR_REC TYPE rstmonitor.
*$*$ begin of routine - insert your code only below this line *-*
Fill the following fields by reading Nomination and Vehicls DSO
SOLD_TO, Customer
data: L_TIMESTAMP1 TYPE timestamp,
L_TIMESTAMP2 TYPE timestamp,
L_TIMESTAMP3 type CCUPEAKA-TIMESTAMP,
L_TIMESTAMP4 type CCUPEAKA-TIMESTAMP,
L_TIMESTAMP5 type CCUPEAKA-TIMESTAMP,
L_TIMESTAMP6 type CCUPEAKA-TIMESTAMP,
L_TIMESTAMP7 TYPE timestamp,
L_TIMESTAMP8 TYPE timestamp,
L_TIMESTAMP9 type timestamp,
L_TIMESTAMP10 type TIMESTAMP,
L_CHAR1(14),
L_CHAR2(14),
l_duration type I,
L_TS TYPE TZONREF-TZONE,
l_flag,
l_nomit TYPE /BIC/OIZNOMIT,
l_error_flag.
l_TS = 'CST'.
Data: EXTRA_PACKAGE type tyt_TG_1.
data: extra_fields type tys_TG_1.
LOOP at RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
clear l_error_flag.
Get sold_to and customer from nomination table.
Select single SOLD_TO /BIC/ZLOCSL /BIC/ZCONTRACT COMPANY
/BIC/ZMNEDDT /BIC/ZMNEDTM /BIC/ZLDEDDT
/BIC/ZLDEDTM SHIP_TO /BIC/ZACTULQTY
/BIC/ZLOEDDT /BIC/ZLOEDTM /BIC/ZDELAY
/BIC/ZATMDDT /BIC/ZATMDTM
/BIC/ZSITYP /BIC/ZDOCIND
into (<RESULT_FIELDS>-SOLD_TO,
<RESULT_FIELDS>-/BIC/ZLOCSL,
<RESULT_FIELDS>-/BIC/ZCONTRACT,
<RESULT_FIELDS>-company,
<RESULT_FIELDS>-/BIC/ZMNEDDT,
<RESULT_FIELDS>-/BIC/ZMNEDTM,
<RESULT_FIELDS>-/BIC/ZLDEDDT,
<RESULT_FIELDS>-/BIC/ZLDEDTM,
<RESULT_FIELDS>-SHIP_TO,
<RESULT_FIELDS>-/BIC/ZACTULQTY,
<RESULT_FIELDS>-/BIC/ZLOEDDT,
<RESULT_FIELDS>-/BIC/ZLOEDTM,
<RESULT_FIELDS>-/BIC/ZDELAY,
<RESULT_FIELDS>-/BIC/ZATMDDT,
<RESULT_FIELDS>-/BIC/ZATMDTM,
<RESULT_FIELDS>-/BIC/ZSITYP,
<RESULT_FIELDS>-/BIC/ZDOCIND)
from /BIC/AZTSW_0000
where /BIC/ZNOMTK = <RESULT_FIELDS>-/BIC/ZNOMTK
AND /BIC/ZNOMIT = <RESULT_FIELDS>-/BIC/ZNOMIT.
Select Invalid Nominations
if sy-subrc <> 0.
l_error_flag = 'X'.
endif.
<RESULT_FIELDS>-customer = <RESULT_FIELDS>-SOLD_TO.
Prepare time stamp for Time Differences
Vehicle Starting Time Stamp
clear : L_TIMESTAMP9,L_TIMESTAMP10.
CONVERT DATE <RESULT_FIELDS>-/BIC/ZCARSTDAT TIME
<RESULT_FIELDS>-/BIC/ZCARSTTIM
INTO TIME STAMP L_TIMESTAMP9 TIME ZONE l_TS.
Vehicle Ending Time Stamp
CONVERT DATE <RESULT_FIELDS>-/BIC/ZCAREDDAT TIME
<RESULT_FIELDS>-/BIC/ZCAREDTIM
INTO TIME STAMP L_TIMESTAMP10 TIME ZONE l_TS.
Clear : L_TIMESTAMP3, L_TIMESTAMP4,
<RESULT_FIELDS>-/BIC/ZVEDTIME,
<RESULT_FIELDS>-/BIC/ZVSTTIME.
<RESULT_FIELDS>-/BIC/ZVEDTIME = L_TIMESTAMP10.
<RESULT_FIELDS>-/BIC/ZVSTTIME = L_TIMESTAMP9.
L_TIMESTAMP3 = L_TIMESTAMP10.
L_TIMESTAMP4 = L_TIMESTAMP9.
Caliculate the load time
IF L_TIMESTAMP3 is initial.
clear <RESULT_FIELDS>-/BIC/ZLOADTIME.
elseif L_TIMESTAMP4 is initial.
clear <RESULT_FIELDS>-/BIC/ZLOADTIME.
else.
CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
EXPORTING
timestamp1 = L_TIMESTAMP3
timestamp2 = L_TIMESTAMP4
IMPORTING
DIFFERENCE = <RESULT_FIELDS>-/BIC/ZLOADTIME
ENDIF.
Caliculate the Manifest Variance
clear : L_TIMESTAMP5,L_TIMESTAMP6,L_TIMESTAMP7,L_TIMESTAMP8.
CONVERT DATE <RESULT_FIELDS>-/BIC/ZMNEDDT TIME
<RESULT_FIELDS>-/BIC/ZMNEDTM
INTO TIME STAMP L_TIMESTAMP7 TIME ZONE l_TS.
CONVERT DATE <RESULT_FIELDS>-/BIC/ZLDEDDT TIME
<RESULT_FIELDS>-/BIC/ZLDEDTM
INTO TIME STAMP L_TIMESTAMP8 TIME ZONE l_TS.
L_TIMESTAMP5 = L_TIMESTAMP7.
L_TIMESTAMP6 = L_TIMESTAMP8.
Caliculate the Maniefest Variance
IF L_TIMESTAMP5 is initial.
clear <RESULT_FIELDS>-/BIC/ZMANVAR.
elseif L_TIMESTAMP6 is initial.
clear <RESULT_FIELDS>-/BIC/ZMANVAR.
else.
CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
EXPORTING
timestamp1 = L_TIMESTAMP5
timestamp2 = L_TIMESTAMP6
IMPORTING
DIFFERENCE = <RESULT_FIELDS>-/BIC/ZMANVAR
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
Delete datapackets with blank nominations
Delete datapackets with blank shipdate and Invalid Time Stamps
*IF <RESULT_FIELDS>-/BIC/ZNOMTK IS INITIAL OR
<RESULT_FIELDS>-/BIC/ZSHIPDATE IS INITIAL.
l_error_flag = 'X'.
*ENDIF.
<RESULT_FIELDS>-/BIC/ZVEHI_NO = 1.
<RESULT_FIELDS>-CALMONTH = <RESULT_FIELDS>-/BIC/ZSHIPDATE(6).
<RESULT_FIELDS>-CALYEAR = <RESULT_FIELDS>-/BIC/ZSHIPDATE(4).
if l_error_flag = 'X'.
Looks like Monitor Entries are not working in SP11.
Hence the following is commented temporarily.
CLEAR MONITOR_REC.
MONITOR_REC-MSGID = '0M'.
MONITOR_REC-MSGTY = 'S'.
MONITOR_REC-MSGNO = '501'.
MONITOR_REC-MSGV1 = <RESULT_FIELDS>-/BIC/ZNOMTK.
MONITOR_REC-recno = sy-tabix.
APPEND MONITOR_REC to MONITOR.
RAISE exception type CX_RSROUT_ABORT.
DELETE RESULT_PACKAGE index sy-tabix.
CLEAR L_ERROR_FLAG.
else.
MODIFY RESULT_PACKAGE FROM <RESULT_FIELDS>.
endif.
clear l_nomit.
l_nomit = <RESULT_FIELDS>-/BIC/ZNOMIT.
extra_fields = <RESULT_FIELDS>.
Actual Qty and Contract details
Select /BIC/ZLOCSL /BIC/ZNOMIT /BIC/ZCONTRACT /BIC/ZACTULQTY
/BIC/ZSITYP /BIC/ZDOCIND
SOLD_TO SHIP_TO COMPANY
into (extra_fields-/BIC/ZLOCSL,
extra_fields-/BIC/ZNOMIT,
extra_fields-/BIC/ZCONTRACT,
extra_fields-/BIC/ZACTULQTY,
extra_fields-/BIC/ZSITYP,
extra_fields-/BIC/ZDOCIND,
extra_fields-SOLD_TO,
extra_fields-SHIP_TO,
extra_fields-company)
from /BIC/AZTSW_0000
where /BIC/ZNOMTK = <RESULT_FIELDS>-/BIC/ZNOMTK AND
/BIC/ZNOMIT <> l_NOMIT.
INSERT extra_fields into table EXTRA_PACKAGE.
endselect.
ENDLOOP.
Append lines of extra_package to RESULT_PACKAGE.
*-- fill table "MONITOR" with values of structure "MONITOR_REC"
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
$$ end of routine - insert your code only before this line -
ENDMETHOD. "end_routine
Method inverse_end_routine
This subroutine needs to be implemented only for direct access
(for better performance) and for the Report/Report Interface
(drill through).
The inverse routine should transform a projection and
a selection for the target to a projection and a selection
for the source, respectively.
If the implementation remains empty all fields are filled and
all values are selected.
METHOD inverse_end_routine.
$$ begin of inverse routine - insert your code only below this line-
... "insert your code here
$$ end of inverse routine - insert your code only before this line -
ENDMETHOD. "inverse_end_routine
ENDCLASS. "routine IMPLEMENTATIONHi,
Most probably you are appending some records in the data package or deleting from the data package through end routine or expert routine or start routine.
I just solved it.....you will have to import the note 1180163.
Then modify the code which you are using....and include the function module as mentioned in the note 1223532.
You need to add the function module just before you append the records.This will work perfectly.
Thanks
Ajeet -
Hi,
I got this error "No gap for activity ||| found within the planning horizon" during production planning run.
Diagnosis
There is not a large enough gap for the activity ||| on the mode
1- in the planning period specified in the time profile.
System Response
The system does not schedule or reschedule.
What could be the reason for this error ? Kindly help.
I am struck with this. i am not getting this error if i create any order manually in product view. but when i run planning for a particular sale order in variable heuristic i am getting this error. any idea pls help
regards
vinayDear all,
I had posted the querry to sap. below is what they are saying*.
I had a look at system APD and started heuristic SAP_PP_002 for one
of the customer segments. As expected the following happened:
1. As the 'planning direction' in the strategy settings of the heuristic is set to 'Backwards + Revers' and the planned order availability
date should be today (due to the early requirement date) strategy 1
(backwards scheduling) can't be successful and thus leads to an error /SAPAPO/DM_SCHEDFAIL044
2. Strategy 2 ('revers', i.e. forward scheduling) is successful then and creates a planned order that starts today and ends in the future.
Both steps & messages are displayed in the scheduling log of the
heuristic. Both messages are abolutely correct and are created as
expected.
All created orders are overlapping. This is correct, as they are
scheduled infinitely according to the heuristic settings.
In order to do a finite scheduling of the created orders a suitable DS
heuristic should be carried out as a subsequent step after the PP
heuristic run (as recommended by SAP).
So altogether your system works absolutely correct and there is no
indication for a software error.
SO FRIENDS,
DOES HE MEAN THAT I SHUD NOT RUN VARIABLE HEURISTIC AT ALL. HE MEANS TO SAY THAT I HAVE TO RUN PLANNING IN PLANNING RUN.
pLA GUIDE ME AS TO WHAT I SHUD DO.
THANKS
VINAY
Edited by: vinay on Aug 26, 2009 5:27 PM
Maybe you are looking for
-
Templates in SCVMM 2008 R2 and SCVMM 2012 R2
Hi Experts, I have few questions regarding VM Template creation using SCVMM. 1. What is the difference between VM templates in SCVMM 2008 R2 and SCVMM 2012 R2 ? 2. I could not see the three folders (Snapshots, Virtual hard disks and Virtual Machines)
-
Positioning quiz slide objects
I am working on a Captivate 5 project with many quiz slides. The quiz slides were put into the project by someone else. I need to move the various quiz slide objects (submit button, back button, clear button, question text, review area, hint caption,
-
Hi Guys, please.. How can a Search Help implement a "CALL SCREEN" command? I have a problem in a ABAP WebDynpro app, apparently because the search help is calling a SCREEN from the program SAPLSZA1, and I have to undo this. It shouldn't call. This is
-
PXI 6220 - problems with the counter
Hello all, I try to make a buffered counting with counter0 of my PXI card 6220, to count the speed of a motor through a photocell and a sticker over the pulley of the motor. I have wired my photocell at PFI8 (source) and I generate a pulse train that
-
Is there anyone with *better* battery performance on the 3GS?
OK, there are a lot of posts complaining about the 3GS battery life. I'm now curious to find out if there's a bad batch of batteries, or if it's a software issue involving all iPhone 3GS. My question: is there anyone out there who's getting better ba