Order of data in DTP
Hi All
Can you clear up my confusion please.
I am transferring data from one DSO to another DSO in an attempt to perform a merge. The records in DSO1 have been modelled incorrectly so one logocal record can appear as 2 physical records. These get merged when going into DSO2.
However I need to control the order of the data so that the data can be overwritten correctly. I was intending to use Semantic Group functionality to achieve this. When I press the Semantic Group button the list of fields is displayed but I cannot tick any of them. Is there an OSS note for this or am I not using this option correctly.
Instead I have found that changing the 'Extraction from' setting also changes the order. The default was Active Table (without Archive) and this yielded the wrong results. Setting it to the Change Log appears to give the correct results (need more testing).
Can someone explain how to use these settings and what impact they have please ?
Regards
Fuey
Hi Raj
For each group of 2 logically same records one of them will have a blank in one of the key fields. The other will be fully filled in. I would like the blank one to be processed first as it would have arrived first into DSO1..
Using the Change Log as the Extraction source appears to produce the correct order. Is this a coincident or will this be consisttent in the future. Does the Change Log ensure that data is sent out in the same order that it arrived etc ??
Regards
Fuey
Similar Messages
-
Hi all,
We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
Any standard report to see the sale orders completed date
ie order closed date wise report.
Regards,
T.MuruguHi
You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
Hope you find it useful.
Reward points if you do.
Regards
Ravi -
Sale Order additional data B.
Hi,
I have created 2 z fields in sale order additional data b at item level.
but when user is entering any data in that field,same data is getting displayed for all line items.
how to control that for particular item for which user has entered.
Data Entered in z fields are used only for display purpose which are used for some calculations.hi,
in PAI usercommand module
use loop endloop for internal table which store item level data
loop at item level data
user command module
endloop.
in module driving program .
module
read table it_issue index tab_ctl-current_line transporting no fields.
if sy-subrc = 0.
it_issue-kostl = p_kostl.
it_issue-ktext = p_ktext.
it_issue-for_sys = p_for_sys.
modify it_issue from it_issue index tab_ctl-current_line.
clear it_issue.
else.
it_issue-kostl = p_kostl.
it_issue-ktext = p_ktext.
it_issue-for_sys = p_for_sys.
append it_issue .
clear it_issue.
endif.
endmodule .
regards
deepak. -
Dear All
which table stored in sale order complection date
Thanks and Regards
SureshYou can see the SO complete status in table VBUK-RFSTK filed.
But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
Anyway plese check with your functional consultant.
Thanks, -
Sales orders flow - dates difference
Dear All,
I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
Base on this, i'm wondering how can i model this scenario...
Do you have any suggestion?
Thanks in advance and best regards,
NunoHi,
I need to build a model for a report which needs to have the days difference between the
Sales order creation date,
Delivery date,
Goods issue date ,
Billing date.
In your question you didn't mension what differences you need
Eg:
Sales order creation date - Delivery date
Goods issue date - Billing date
Sales order creation date - Billing date
Delivery date - Goods issue date
Like what combination you need?.
Steps:
Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy -
Process order confirmation date
Hi all,
I am making a Zreport in PP along with the ABAPER for my client. In the report output there is one column named as "Actual finish date" which as the name suggests is the process order finished date for confirmation.
For this I am using "GLTRIactual finish date" field from AFKO table. But in this table many of the process orders are showing the date as "00:00:0000" even though the process order is confirmed & in the order header some value for actual finish date field-GLTRI is there.
When i see the same order in S021 the same field shows some date value.
Since some ABAP coding is done I want to use only AFKO & not S021.
Can any body help me to solve the problem of GLTRI not getting updated in AFKO.
Regards,
Manish PhatakDear Vishal,
Thanks for ur answer.
I have already rewarded for the same.
I will like to know that wheather it is only "closed" OR "TECO" will also update GLTRI in the table..
Regards,
Manish -
Purchase Order released date field and table name
Hi,
Please tell me the Purchase Order released date field and table name.
Regards
DeepakHi,
Table : EKKO.
Fields : FRGKE,FRGZU.
You can get release date of PO from CDHDR table.
give object value as your po number and check.dont forget to give leading zeros.
The udate will be date field and transaction will be me29n for relaesed po. -
Sales order item data & sales order schedule data
Hello,
I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
Example of how the data looks now:
Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
How do I merge the data on the Sales Order number in the cube so it looks like below?
Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
Many thanks,
Matt> Hello,
>
> I have a Sales Orders cube which is pulling data from
> two DSOs (one for sales order item data and the other
> for sales order schedule data). The common fields
> between these two DSOs is the Sales Order number but
> in my cube I have dual entries for each Sales Order
> document (item and schedule info).
>
Two previous remarks:
1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
- not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
- there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
- if you have more that one schedule line for each item then you would have many times the item information like material/price;
- if not or if you could cope with that, then you can consider:
2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
2.2) update the shedule line datasource to the sales order item DS; same comments apply.
2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
What solutions to choose?
2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
2.2 choose if data volumes and disk space are a concern...
or
2.3 it's OK, but i do not like it because of what explained in point 1...
Message was edited by:
Miguel Costa -
Sales order schedule date is a (working) day before Scheduled ship date
In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
Time fences are not used.
E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.Hi,
This is a complex issue; best solution is by using APO/GATP.
If not, then in ERP only, the second best is:
1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
APO/GATP could do all that automatically!
Regards,
Mario -
Sales Order Item Data & Sales Order Schedule Lines
Hello,
I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
Example of how the data looks now:
<b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date</b>
1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
How do I merge the data on the Sales Order number in the cube so it looks like below?
<b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date</b>
1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
Many thanks,
MattHi Matt,
Its no possible If you are maintaining data at Order Level.
Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
Hope it Helps
Srini -
Is there a way of displaying the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!
Hi geezer,
when you open your 'Downloads' folder choose 'View' in the Menu bar and choose:
'as List'
'Show View Options'
In 'View options' window you tick:
'Always open in list view'
'Date Modified', or
'Date created'
Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
column to get items alined from oldest to newest date (or reverse)… -
How can i have my tasks in order by date like outlook on my iphone 4
how can i have my tasks in order by date like outlook on my iphone 4
Use a task management app that sorts by date? There are lots of options in the App Store.
-
Short dump:ASSIGN_TYPE_CONFLICT- While loading data through DTP
Dear all:
We currently work with BI NW2004s SP10. We created transformation for mapping InfoSource and InfoCube based on 3.x transfer rule. For example, we used cube 0PUR_C04 and Data Source 2LIS_02_ITM_CP. And the transformation is "TRCS Z2LIS_02_ITM_CP -> CUBE 0PUR_C04". Everytime when we tried to load data via DTP. A runtime short dump occurred: ASSIGN_TYPE_CONFLICT
Error analysis:
You attempted to assign a field to a typed fie but the field does not have the required type.
we went back and forth to activated transformation and DTP. But still, same error occurred.
Any idea, please !!!!
BR
SzuFenHi Pavel:
Please refer to the following information-
User and Transaction
Client.............. 888
User................ "TW_S
Language key........ "E"
Transaction......... " "
Program............. "GPD0
Screen.............. "SAPM
Screen line......... 6
===========================================================
Information on where terminated
Termination occurred in the ABAP program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" - in
"EXECUTE".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 704
of the (Include) program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
The program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" was started as a background job.
Job Name....... "BIDTPR_284_1"
Job Initiator.. "TW_SZU"
Job Number..... 16454800
===========================================================
Short text
Type conflict with ASSIGN in program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
===========================================================
Error analysis
You attempted to assign a field to a typed field symbol,
but the field does not have the required type.
===========================================================
Information on where terminated
Termination occurred in the ABAP program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" - in
"EXECUTE".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 704
of the (Include) program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL".
The program "GPD0QBVJ2WFQZZXBD0IJ1DSZAEL" was started as a background job.
Job Name....... "BIDTPR_284_1"
Job Initiator.. "TW_SZU"
Job Number..... 16454800
===========================================================
Line SourceCde
674 ELSE.
675 ASSIGN rdsTG_1->* to <_ys_TG_1>.
676 CLEAR <_ys_TG_1>.
677 MOVE-CORRESPONDING G1 TO <_ys_TG_1>.
678 <_ys_TG_1>-requid = l_requid.
679 l_recno_TG_1 = l_recno_TG_1 + 1.
680 ls_cross-insegid = 1.
681 ls_cross-inrecord = l_recno_SC_1.
682 ls_cross-outsegid = 1.
683 ls_cross-outrecord = l_recno_TG_1.
684
685 CALL METHOD i_r_log->add_cross_tab
686 EXPORTING
687 I_S_CROSSTAB = ls_cross.
688
689 ** Record# in target = sy-tabix - if sorting of table won't be changed
690 <_ys_TG_1>-record = l_recno_TG_1.
691 INSERT <_ys_TG_1> INTO TABLE <_yth_TG_1>.
692 IF sy-subrc <> 0.
693 CALL METHOD cl_rsbm_log_step=>raise_step_failed_callstack.
694 ENDIF.
695
696 ENDIF. "Read table
697 *
698 ENDIF.
699 CLEAR skipseg_all.
700 ENDLOOP.
701 * -
insert table into outbound segment -
702
703 <_yt_TG_1>[] = <_yth_TG_1>[].
>>>>>
705 rTG_1->insert_table( rdtTG_1_dp ).
706 ENDMETHOD. "execute
707
708
709
710 endclass. "lcl_transform IMPLEMENTATION
711
712 &----
713 *& Form get_runtime_ref
714 &----
715 * text
716 ----
717 * -->C_R_EXE text
718 ----
719 form get_runtime_ref
720 changing c_r_exe type ref to object.
721
722 data: l_r_exe type ref to lcl_transform.
723 create object l_r_exe.
===========================================================
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 3
SY-TABIX 0
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE Execute Batch Process
SY-MSGTY E
SY-MSGID R7
SY-MSGNO 057
SY-MSGV1 0TOTDELTIME
SY-MSGV2 A
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20070420
SY-UZEIT 164557
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXIT
===========================================================
Active Calls/Events
No. Ty. Program Include
Name
6 METHOD GPD0QBVJ2WFQZZXBD0IJ1DSZAEL GPD0QBVJ2WFQZZXBD0IJ1DSZAEL
LCL_TRANSFORM=>EXECUTE
5 METHOD CL_RSTRAN_TRFN_CMD============CP CL_RSTRAN_TRFN_CMD============CM005
CL_RSTRAN_TRFN_CMD=>IF_RSBK_CMD_T~TRANSFORM
4 METHOD CL_RSBK_PROCESS===============CP CL_RSBK_PROCESS===============CM00Q
CL_RSBK_PROCESS=>PROCESS_REQUEST
3 METHOD CL_RSBK_PROCESS===============CP CL_RSBK_PROCESS===============CM002
CL_RSBK_PROCESS=>IF_RSBATCH_EXECUTE~EXECUTE
2 FUNCTION SAPLRSBATCH LRSBATCHU13
RSBATCH_EXECUTE_PROCESS
1 EVENT RSBATCH_EXECUTE_PROZESS RSBATCH_EXECUTE_PROZESS
START-OF-SELECTION
===========================================================
Thank you and BR
SF -
The podcasts I listen are automatically organized chronologically. I downloaded something from itunes U and it is organized by date in itunes but alphabetically on my ipod so I have no idea which one actually comes first. I'd appreciate some help in knowing how to put them in order by date. Thanks.
Hi Richard,
Based on my experience, I don't think drill-down links can be included in alerts/messages.
Thanks,
Gordon -
Planned order creation with PDS valid on only order start date and not finish date
Hi All,
We have requirement to allow creation of planned order manually if production version is valid on order start date and not finish date. This is because lead time of order is longer. I refered OSS notes 385602. I could find out solution for this is implementation of OSS note 694140 to change validity mode at activity level to consider start date of first produce activity in validity interval. Problem is even If I create order in APO by implementiong this note planned order is not transfered to ECC and it gets stuck with error production version not valid.
Is there any way in ECC to control this? Any config or customization?
Regards,
SantoshNilesh,
I think there is a simple procedural skip happening in your business process. You are right when a planned order is created after MRP it would default assign it to the first available production version. 2options available for us,
1. First use transaction MF50 and do the line loading and assign the quantites to the production versions/Production lines, so that the actual capacity planning is getting completed. This way you can have planned orders with both the production versions and matching to your actual line capacity.
2. Use Quota arrangement concept, to automatically split the Planned orders during MRP for a percentage based on individual production versions.
Now when backflush is performed S225 table is updated and Planned order qty also gets reduced.
Hope this helps....
Regards,
Prasobh
Maybe you are looking for
-
Time machine backup error in Mavericks
I"m getting backup errors in Mavericks when it tries to back up to the Backups.backupdb folder in my 3TB external backup drive. This happens even when I turn Time Machine off! This is the error I'm getting (taken from the console) when I manually s
-
I need a Query for BOM items to get, Inventory item Category, Inventory Item type and approved supplier, if any, for each item in BOM. for this I wrote a query, but i am getting Duplicate item. when I join MTL_SYSTEM_ITEMS_B, MTL_ITEM_CATEGORIES and
-
Extract data from a BW 7.0 cube to a SQL DB using Data Services XI
Hi Gurus, We are trying to extract data from a BW 7.0 cube to a SQL DB using Data Services XI, the issue is that we can not read text without making "joins" between SID in the fact table and the master data tables. Do you know if it is posible to rea
-
Purchase Group Vs Material number
Hi, We have a requirement that we want to restrict PO should be created for a material if the Purchase Group is same in Material Master (Purchasing View) and PO Header. Thanks Prasad
-
When using "COPY" where does the copied text go so I can retrieve it later and paste it somewhere?