Very Urgent - Target Group count
Hi,
When I create a profile and click on count, it gives me No. of BPs and when I click on "Create Target Group" the No. of BP changes. It always reduces.
Why is this happenning?
Can someone pls help.
Regards,
Monica
More information needed. First and most important, ALWAYS post your CRM version (click on System -
Status -
Click the detail button under the "Component Version" field. Post the BBPCRM Release and Level fields). This helps us understand if certain notes are applicable to your problem.
In this case, the difference between count and final target group size could be because of a program error on SAP's side. Check note 1019180.
If your version is at the same level as what is in the note (i.e. Release 510, Level 0004) then it sounds like you have a more serious problem. You should create an OSS Message to SAP to let them know of this error.
Anyway, if the final target group which was built has the <b>correct entries</b>, the "count" shouldn't matter. It is intended to be just a helper number to let you know how big the target group is going to be, so that you can refine your criteria if needed.
Hope this helps! Good luck with your target groups!
Rahul
<b>AWARD POINTS IF THIS HELPED YOU!</b>
Similar Messages
-
Very urgent..Formula count
Hi All
I have a Query got 4 RKFs(local) 2 Formula(ckfs), the out put is like this,
rkf1 rkf2 fkf1 fkf2
0 30 1 0
0 0 0 0
20 0 0 1
Result 1 1
i have created these 2 fks based on 2 rkfs when i try to count the FKfs to get the total as like in Result iam not geting that Result and Ovaral Result Part in my Report.....and count......!
and i have creared one more FKF´s based on the FKF1 puting a Count(FKF1)
and in the properties Calucutlae Result as...SUMMATION. Stil its giving the
sum of FKF´1 ==1.
Is there any solution for this pls let me know
Thanks in advance
SanHi,
I dont see any strange behavior in your Query result.
1. I guess you must be having consdition in your Query.Isn't it? thats y overall result values are not matching to sum of individual values.
(thats why overall result for 80,445...though you see only one Keyfigure value i.e 120,509...)
Please note that Overall result remains unchanged regardless of condition.
2.So when you remove Ftrans ID from drilldown, there are no Keyfigure values(individual values).So overall result is 0.... this is normal behavior.
so you need not worry about it....
deactivate the condition then check and compare the result for better idea.( then you will see overall result matching with summation of individual values).
Message was edited by:
Murali -
How can shrink matrix group very urgent
hello programmers
how r u all? i have a little problem. i want to shrink my matrix frame when i donot want to print all columns of matrix group in report. suppose i haev three matrix groups and i want matrix group 2 all columns to be hide at runtime and matrix three group will automatically come at the position of matrix 2 group. please if ant body have any idea about it please email me. this is very urgent problem which i am facing.
thanks for any reply
kamran ahmedIt's not very clear what you're looking for. However, one of the following may work for you:
a) Restrict the data at query time through use of parameters and bind variables.
b) Use format triggers to dynamically hide values at runtime (by returning false).
If neither of these solutions works then please provide more details of the problem you're facing.
Thanks,
Danny -
Target groups in Marketing....Urgent
Hi,
I have created a Profile set and Target groups in the profile set. i have executed the campaign for that.
My Question, is can i add the target group created earlier to the another profile set, if so How?
I am in urgent need of documentation of the same.
Regards
Yaswanth.kPlease read carefully the rules regarding target groups in CRM Segment Builder:
<i>-A target group can exist without reference to a profile. If so, it must however reference a profile set ("lies in profile set..") or as a subset, if present ("is attached to profile set ...").
-If a target group is created with the profile set reference "is attached to" (that is, to a subset), it will have the status "active"; and any available target groups of the profile of the subset will be set to "inactive".
-A target group with profile reference always has a set reference ("lies in profile set ..").
-A target group with profile reference cannot be attached directly to a profile set.
Within a profile set, a target group without profile reference is represented by an icon indicating a single target group.</i>
<i><b>-You cannot move target groups from one profile set to another, however you can copy existing target groups.</b></i>
The documentation is available here:
http://help.sap.com/saphelp_crm50/helpdata/en/b6/ef0b3bcbe24b74e10000000a114084/frameset.htm
If by "add target group to another profile set" you mean to say "COPY target group to another profile set", then yes it is possible to do it.
As for the "how" ... please read the help again:
<i>To copy a marketing segment, select the required segment in the staging area of the Segment Builder and choose either the Copy pushbutton or choose Copy Segments from the context menu. If no individual segments are selected, the entire profile set is copied.
You can choose whether the copied segments are created in a new profile set, an existing profile set, an existing subset, or in a new subset of an existing profile set.</i>
http://help.sap.com/saphelp_crm50/helpdata/en/1c/611d429e66da2ce10000000a1550b0/frameset.htm
Hope this helps,
Rahul
PS. Please mark all helpful answers. If you question has been answered, please mark it as such so that the forum stays clean! -
Very Urgent Extn.Material Group and Material Group.
Hi Guru's,
I was created Generic D.S Using table (AFRU) for Orders Confirmation.I was Created Info Source AND ODS.
I nedd to maitain ODS Extn.Material Group and Material Group.but These fields are not Avilable in Data Source (AFRU Table not having).
Data source having Field AUFNR (order number) I was mapped To BW Object 0prodorder. I was maitained master data for 0prodorder.
0prodorder master data (0prodorder_attr) having 0material (PLNBEZ Field mapeed to 0material) as a navigational Attribute.
i am asking to all is it possible to bring Extn.Material Group and Material Group update rule level using master data attribute option?
Please help to me Above issue.it's very urgent.
Thanks & Regards,
Guna.Hi Manju & Gopi,
This Order Confirmations cube having data from 2 data sources.
There is a performence issue to clubbing so many tables.
Any way i was maitained 0material is attribute(Nav Attr) of 0proorder.i was loaded 0prodoreder master data.
0material having master data .Extn mat group & Material group are Nav Attributes of 0material.
Now is it possible to maitaining the data in cube Extn mat group & Material group ?
Please Give me Suggestion with out adding another table using view.
Thanks & Regards,
Guna. -
Counting Unique Records: very urgent
Hi,
I have to create a query for which i have to count the unique records appearing for a particular selection. For that i created a CK and in its agregation set Count all values <> 0 For customer. we are having Modality in my rows and CK in column. Now what happens if for 4 different records there is one customer then output appears one against that modality but it should show 4. As such there is no unique field in the cube that i can count. But we have maintined a Count key figure against each record in the cube that has value 1 for each row. But as it is a Key figure i cannot use it in aggregation. Is there any way to solve this situation....
Please help. Its very urgent..
Thanks
Points assured.Hello,
Use Exception Aggregation as Customer. It will work.
Crearte CKF
Assign 1 initial value
Count all properties
Exception aggretion is Customer.
I think It should work
Thanks,
Kishore
@KR -
Creation of empty target group---URGENT!!!!!!!
Hi...
I have a scenario in campaign automation where i need to create a target group automatically when ever a customer clicks on yes/no in the survey.
I hope there is a standard workflow which creates target grooup.but do we need to have an empty target group so that who ever cliks on yes/no can form a target group.?
When ever a Target group is created,i need to create LEAD automatically from it.How do i achieve this?is there a workflow or BADI? and if at all leads are created automatcally,how are they automatically assigned to Lead qualifier??
Regards,
Sanjanahi sanjana
its easy as you just assign a new target group to existing or new profile set and do not assign any BP tp that target group
this way you have empty target group at your discretion.
best regards
ashish -
Please check my code where i am wrong ,-very urgent please
Hi ,
i am getting all values execpt the values from table t685 , kolnr and kotabnr and i am using three selects and moving the values in it_output_report.
this is very urgent
REPORT zmaster_condition LINE-COUNT 80 LINE-SIZE 225.
D A T A *
INCLUDE zmaster_condition_top.
S E L E C T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
SELECT-OPTIONS: s_kvewe FOR t683s-kvewe,
s_kappl FOR t683s-kappl,
s_kalsm FOR t683s-kalsm,
s_kschl FOR t683s-kschl,
s_kabnr FOR t682i-kotabnr.
SELECTION-SCREEN END OF BLOCK b01.
*SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s04.
*PARAMETERS: p_vari LIKE disvariant-variant.
*SELECTION-SCREEN END OF BLOCK b4.
**SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
*SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
PARAMETERS R1 RADIOBUTTON GROUP RADI1 DEFAULT 'X'.
*SELECTION-SCREEN END OF BLOCK b02.
A T S E L E C T I O N - S C R E E N *
M A I N P R O G R A M *
START-OF-SELECTION.
*Initializing the local tables.
CLEAR:it_t682i,it_t683s,it_t685,it_output_report.
REFRESH:it_t682i,it_t683s,it_t685,it_output_report.
*Selection of data from pricing procedure tables using a join.
*SELECT Akvewe Akappl Akalsm Astunr A~zaehk
Akschl Bkolnr Bkotabnr Ckozgf
INTO TABLE it_output_report
FROM t683s as A
JOIN t682i as B
ON Akvewe eq Bkvewe and
Akappl eq Bkappl
JOIN t685 as C
ON Bkvewe eq Ckvewe and
Bkappl eq Ckappl and
Bkozgf eq Ckozgf
WHERE A~KVEWE = 'B' and
A~KAPPL = 'V1' .
A~KALSM IN S_KALSM and
A~KSCHL IN S_KSCHL and
B~KOTABNR IN S_KABNR.
*Selection of data from pricing procedure tables
*SELECT * FROM t683s APPENDING CORRESPONDING FIELDS OF TABLE it_t683s
WHERE kvewe = 'B'
and kappl = 'V1'.
SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
INTO TABLE it_t682i
WHERE kvewe = 'B'
AND kappl = 'V1'.
SELECT kvewe kappl kalsm stunr zaehk kschl FROM t683s
INTO TABLE it_t683s
WHERE kvewe = 'B'
AND kappl = 'V1'
AND kalsm IN s_kalsm.
*SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_kabnr.
SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_kabnr.
*clear it_t685.
*loop at it_t685.
it_output_report-kschl = it_t685-kschl.
it_output_report-kozgf = it_t685-kozgf.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
*endloop.
clear it_t683s.
loop at it_t683s.
it_output_report-kvewe = it_t683s-kvewe.
it_output_report-kappl = it_t683s-kappl.
it_output_report-kalsm = it_t683s-kalsm.
it_output_report-stunr = it_t683s-stunr.
it_output_report-zaehk = it_t683s-zaehk.
it_output_report-kschl = it_t683s-kschl.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
APPEND IT_OUTPUT_REPORT.
clear it_output_report.
*loop at it_t685.
it_output_report-kschl = it_t685-kschl.
it_output_report-kozgf = it_t685-kozgf.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
endloop.
*MOVE : it_t683s-kvewe TO it_output_report-kvewe.
E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*Output to a list
FORMAT COLOR 2 .
WRITE:/2 'Usage',09 'App',17 'Proced',24 'Step',
37 'Counter',50 'CondType',63 'Description',85 'AccSeq',
97 'AccSeqNum',108 'ConTable'.
WRITE:/1(225) sy-uline.
loop at it_output_report.
WRITE:/ it_output_report-kvewe UNDER 'Usage',
it_output_report-kappl UNDER 'App',
it_output_report-kalsm UNDER 'Procedure',
it_output_report-stunr UNDER 'Step',
it_output_report-zaehk UNDER 'Counter',
it_output_report-kschl UNDER 'CondType',
it_output_report- UNDER 'Description',
it_output_report-kozgf UNDER 'AccSeq',
it_output_report-kolnr UNDER 'AccSeqNum',
it_output_report-kotabnr UNDER 'ConTable'.
it_output_report- UNDER 'SalesOrg',
it_output_report- UNDER 'DocType'.
it_output_report- UNDER 'Customer'.
endloop.
INCLUDE ZMASTER_CONDITION_TOP *
*Table declaration
Tables:T682I,
T683S,
T685,
NACH,
B005.
*Data declaration for internal tables
DATA:Begin of it_output_report occurs 0,
KVEWE LIKE T683S-KVEWE, "Usage of the condtion table
KAPPL LIKE T683S-KAPPL, "Application
KALSM LIKE T683S-KALSM, "Procedure for pricing
STUNR LIKE T683S-STUNR, "step number
ZAEHK LIKE T683S-ZAEHK, "condition counter
KSCHL LIKE T683S-KSCHL, "condition type
KOZGF LIKE T685-KOZGF, "Access sequence
KOLNR LIKE T682I-kOLNR, "Access sequence number
KOTABNR LIKE T682I-KOTABNR, "Condition Table
End of it_output_report.
DATA: BEGIN OF IT_T683S OCCURS 10 ,
KVEWE LIKE T683S-KVEWE, "Usage of the condtion table
KAPPL LIKE T683S-KAPPL, "Application
KALSM LIKE T683S-KALSM, "Procedure for pricing
STUNR LIKE T683S-STUNR, "step number
ZAEHK LIKE T683S-ZAEHK, "condition counter
KSCHL LIKE T683S-KSCHL,
KOZGF LIKE T685-KOZGF, "condition type
END OF IT_T683S.
DATA: BEGIN OF IT_T685 OCCURS 10,
kvewe like t685-kvewe,
kappl like t685-kappl,
KSCHL LIKE T685-KSCHL,
KOZGF LIKE T685-KOZGF, "Access sequence
END OF IT_T685 .
DATA: BEGIN OF IT_T682I OCCURS 0,
KVEWE LIKE T682I-KVEWE,
KAPPL LIKE T682I-KAPPL,
KOZGF LIKE T682I-KOZGF, "Access sequence
KOLNR LIKE T682I-kOLNR, "Access sequence number
KOTABNR LIKE T682I-KOTABNR, "Condition TableHi,
I think may be you should check with T682I-KOZGF(Access sequence) instead of T682I-KOTABNR(Condition table).
In select-options declare like
s_KOZGF FOR t682i-KOZGF
SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_KOZGF. //change s_kabnr to s_kozgf
Thanks,
Veni. -
HI all,
I am trying to create the target group in Segment builder, for which I have done the following settings
1)I have maintained Attributes and attribute set,
2)i have assigned attribute set to Business partner.
3)I also have created Data source here i have maintained
Origin type as attribute set
maintained name of attribute set
function module used Cross-selling: function module CRM_MKTPR_PP_CS_TG_READ,and description.
4)Created attribute list as follows
Description_______
Category:Product proposal
Segment type:Product Proposal and saved.
Then assigned data source and highleted what ever attributes required to display in Segment builder.
The issue here is:
When i go to Segment builder(crmd_mktseg):
in Segment builder when i tried to create profile set for product proposal the system is asking for Profile set description and Master group.
and i am unable to drag and drop profile set onto staging area and create target group.
can u/any one advice me in this regard/
Thanks in advance.
mdv.Hi mdv,
For the purpose of creating your target group, the name of the profile set is of no importance. CRM just requires that you do create the target group within a profile set. That being said, when you create a profile set and system asks you for profile set description and master group, just put any words in the description field that is meaningful to you, and don't select anything in the master group.
Once this is done, you will need to drag and drop your 'filter' that you created for your attribute list into the staging area. Then, one very important step (which I missed in the beginning and it took me 8 hours to figure out) is that you need to click on the 'Count' button. Once you see a number on the target group, it means the filter is working. From there you can create your target group and open it for list export.
Hope this helps.
Leon -
Getting the tablespace name(its very urgent)
Hi,
Can anyone help me to get the query to find the tablespace used by the users in the database
Its Very urgent please
Thanks,
Murali.V@Murali,
...the tablespace used by the users...What did you mean exactly ?
Default tablespace doesn't say that user cannot create a table in an other tablespace.
You can see what tablespace are used by the user's segments :
SQL> select default_tablespace
2 from user_users;
DEFAULT_TABLESPACE
PSDEFAULT
SQL> select tablespace_name, count(*)
2 from user_segments
3* group by tablespace_name
SQL> /
TABLESPACE_NAME COUNT(*)
AAAPP 102
AALARGE 4
ADAPP 429
AMAPP 2
[...]@Talifhani,
SELECT tablespace_name FROM dba_tablespaces; This give all tablespace from database.
Nicolas. -
Very urgent please ----repetting values in the output
I am getting values for acc seq access seq number and codndition table repeting values as in the output of the report, please have a look in my code and please do respond immediatley.
regards always, below is my code and output
REPORT zmaster_condition LINE-COUNT 80 LINE-SIZE 225.
D A T A *
INCLUDE zmaster_condition_top.
S E L E C T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
SELECT-OPTIONS: s_kvewe FOR t683s-kvewe,
s_kappl FOR t683s-kappl,
s_kalsm FOR t683s-kalsm,
s_kschl FOR t683s-kschl,
s_kabnr FOR t682i-kotabnr,
s_kozgf FOR t682i-kozgf.
SELECTION-SCREEN END OF BLOCK b01.
*SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s04.
*PARAMETERS: p_vari LIKE disvariant-variant.
*SELECTION-SCREEN END OF BLOCK b4.
**SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
*SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
PARAMETERS R1 RADIOBUTTON GROUP RADI1 DEFAULT 'X'.
*SELECTION-SCREEN END OF BLOCK b02.
A T S E L E C T I O N - S C R E E N *
M A I N P R O G R A M *
START-OF-SELECTION.
*Initializing the local tables.
CLEAR:it_t682i,it_t683s,it_t685.
REFRESH:it_t682i,it_t683s,it_t685.
clear it_output_report.
refresh it_output_report.
*Selection of data from pricing procedure tables
SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
INTO TABLE it_t682i
WHERE kvewe = 'B'
AND kappl = 'V1'.
SELECT kvewe kappl kalsm stunr zaehk kschl FROM t683s
INTO TABLE it_t683s
WHERE kvewe = 'B'
AND kappl = 'V1'
and kschl in s_kschl
AND kalsm IN s_kalsm.
sort it_t683s by kvewe kappl.
DELETE adjacent duplicates FROM
it_t683s .
SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
AND kschl IN s_kschl
AND kozgf IN s_kozgf.
LOOP AT it_t683s.
it_output_report-kvewe = it_t683s-kvewe.
it_output_report-kappl = it_t683s-kappl.
it_output_report-kalsm = it_t683s-kalsm.
it_output_report-stunr = it_t683s-stunr.
it_output_report-zaehk = it_t683s-zaehk.
it_output_report-kschl = it_t683s-kschl.
SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
INTO TABLE it_t682i
WHERE kvewe = it_t683s-kvewe
AND kappl = it_t683s-kappl
and kozgf in s_kozgf
and kotabnr in s_kabnr.
clear it_t682i.
loop at it_t682i.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
APPEND it_output_report.
CLEAR it_output_report.
endloop.
APPEND it_output_report.
ENDLOOP.
E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*Output to a list
FORMAT COLOR 2 .
WRITE:/2 'Usage',09 'App',17 'Proced',24 'Step',
37 'Counter',50 'CondType',63 'Description',85 'AccSeq',
97 'AccSeqNum',108 'ConTable'.
WRITE:/1(225) sy-uline.
LOOP AT it_output_report.
WRITE:/ it_output_report-kvewe UNDER 'Usage',
it_output_report-kappl UNDER 'App',
it_output_report-kalsm UNDER 'Procedure',
it_output_report-stunr UNDER 'Step',
it_output_report-zaehk UNDER 'Counter',
it_output_report-kschl UNDER 'CondType',
it_output_report- UNDER 'Description',
it_output_report-kozgf UNDER 'AccSeq',
it_output_report-kolnr UNDER 'AccSeqNum',
it_output_report-kotabnr UNDER 'ConTable'.
it_output_report- UNDER 'SalesOrg',
it_output_report- UNDER 'DocType'.
it_output_report- UNDER 'Customer'.
ENDLOOP.
output of the report:
Usage App Proced Step Counter CondType AccSeq AccqNum ConTable
B V1 V10000 220 00 ZCR1 Z200 05 511
B V1 V10000 220 01 ZRAS Z200 05 511
B V1 V10000 225 00 ZTPT Z200 05 511
B V1 V10000 230 00 ZOP4 Z200 05 511
B V1 V10001 010 01 RD03 Z200 05 511
B V1 V10002 010 00 ZREP Z200 05 511
B V1 V10000 200 00 ZOP3 z200 05 511
B V1 V10000 130 00 ZOC3 z200 05 511i would like to thanks you for your valuable help.
i am still getting repeated values for access seq , access number and cond table,last three columns in the output, pls see as it it is very urgent...
here is the code:
REPORT zmaster_condition LINE-COUNT 80 LINE-SIZE 225.
D A T A *
INCLUDE zmaster_condition_top.
S E L E C T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
SELECT-OPTIONS: s_kvewe FOR t683s-kvewe,
s_kappl FOR t683s-kappl,
s_kalsm FOR t683s-kalsm,
s_kschl FOR t683s-kschl,
s_kabnr FOR t682i-kotabnr.
s_kozgf FOR t682i-kozgf.
SELECTION-SCREEN END OF BLOCK b01.
*SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s04.
*PARAMETERS: p_vari LIKE disvariant-variant.
*SELECTION-SCREEN END OF BLOCK b4.
**SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
*SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
PARAMETERS R1 RADIOBUTTON GROUP RADI1 DEFAULT 'X'.
*SELECTION-SCREEN END OF BLOCK b02.
A T S E L E C T I O N - S C R E E N *
M A I N P R O G R A M *
START-OF-SELECTION.
*Initializing the local tables.
CLEAR:it_t682i,it_t683s,it_t685.
REFRESH:it_t682i,it_t683s,it_t685.
REFRESH it_output_report.
SELECT kvewe kappl kalsm stunr zaehk kschl FROM t683s
INTO TABLE it_t683s
WHERE kvewe IN s_kvewe
AND kappl IN s_kappl
AND kalsm IN s_kalsm
AND kschl IN s_kschl.
*delete adjacent duplicates from it_t683s comparing
kvewe kappl kschl.
SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
INTO TABLE it_t682i
FOR ALL ENTRIES IN it_t683s
WHERE kvewe = it_t683s-kvewe
AND kappl = it_t683s-kappl
AND kozgf IN s_kozgf
AND kotabnr IN s_kabnr.
LOOP AT it_t683s.
it_output_report-kvewe = it_t683s-kvewe.
it_output_report-kappl = it_t683s-kappl.
it_output_report-kalsm = it_t683s-kalsm.
it_output_report-stunr = it_t683s-stunr.
it_output_report-zaehk = it_t683s-zaehk.
it_output_report-kschl = it_t683s-kschl.
move-corresponding it_t683s to it_output_report.
sort it_t683s.
sort it_t682i.
READ TABLE it_T682i with KEY KVEWE = it_T683s-KVEWE
kappl = it_t683s-kappl.
LOOP AT it_T682i WHERE KVEWE = it_T683s-KVEWE
AND kappl = it_t683s-kappl.
AND kotabnr IN s_kabnr.
IF SY-SUBRC EQ 0.
move-corresponding it_T682i to it_output_report.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
ENDIF.
APPEND it_output_report.
ENDLOOP.
*DATA TAB(4).
*DATA VKORG LIKE TAB-VKORG.
*CONCATENATE it_t683s-kvewe it_t682i-kotabnr INTO TAB .
*SELECT SINGLE VKORG INTO VKORG FROM TAB WHERE
KSCHL = 'ZRC1'.
E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*Output to a list
FORMAT COLOR 2 .
WRITE:/2 'Usage',09 'App',15 'Proced',24 'Step',
37 'Counter',50 'CondType',63 'Description',85 'AccSeq',
97 'AccSeqNum',108 'ConTable'.
WRITE:/1(225) sy-uline.
LOOP AT it_output_report.
WRITE:/ it_output_report-kvewe UNDER 'Usage',
it_output_report-kappl UNDER 'App',
it_output_report-kalsm UNDER 'Proced',
it_output_report-stunr UNDER 'Step',
it_output_report-zaehk UNDER 'Counter',
it_output_report-kschl UNDER 'CondType',
it_output_report- UNDER 'Description',
it_output_report-kozgf UNDER 'AccSeq',
it_output_report-kolnr UNDER 'AccSeqNum',
it_output_report-kotabnr UNDER 'ConTable'.
it_output_report- UNDER 'SalesOrg',
it_output_report- UNDER 'DocType'.
it_output_report- UNDER 'Customer'.
here is the output:
Report to list out all Condition Records for Output and Pricing.
Usage App Proced Step Counter CondType AccSeq AccSeqNum ConTable
B V1 V05000 010 01 AF00 Z001 05 551
B V1 V05000 020 02 MAIL Z001 05 551
B V1 V05000 030 01 ESYM Z001 05 551
B V1 V06000 010 01 AN00 Z001 05 551
B V1 V06000 020 02 MAIL Z001 05 551 -
Splitter operator doesnt use multi table inserts in OWB...very very urgent
Hi,
I am using OWB 9i to carry out tranformations. I want to copy the same seuence numbers to the two target tables.
Scenario:
I have a source table source_table, which is connected to a splitter and the splitter is used to dump the records in two target tables namely target1_table and target2_table. I have a sequence which is also an input to the splitter, so that I can have the same sequence number in the the two output groups of he splitter. I then map the sequence number from the two output groups to the two target tables expecting to have the same sequence number in the target tables. But when I see the generated code it creates two procedures and effectively inserts sequencing numbers in the target tables which are not consistent. Please help me so that I have the same sequencing numbers in the target tables which are consistent.
Well the above example works in row based operating mode but not in set based mode. Please give me a valid explanation.
OWB pdf says that splitter uses multi table inserts for multiple targets. After seeing the generated code for set based operations I dont agree to this.
Its very urgent.
thanks a lot in advance.
-SharatHi Mark,
You got me wrong, let me explain you the problem again.
RDBMS oracle 9.2.0.4
OWB 9.2.0.2.8
I have three tables T1,T2 and T3.
T1 is the source table and the remaining two tables T2 and T3 are target tables.
Following are the contents of table T1 -
SQl>select * from T1;
DEPTNAME LOCATIO?N
COMP PUNE
MECH BOMBAY
ELEC A.P
Now I want to populate the two destination tables T2 and T3 with the records in T1.
For this I am using splitter operator in OWB which is suppose to generate multi table inserts, but unfortunately its not doing so when I generate the SQL. There si no "insert all" command in the sql it generates.
What I want is, when I populate T2 and T3 I use a sequence generator and I want the same sequences for T2 and T3 eg.
SQl>select * from T2;
NEXT_VAL DEPTNAME LOCATIO?N
1 COMP PUNE
2 MECH BOMBAY
3 ELEC A.P
SQl>select * from T3;
NEXT_VAL DEPTNAME LOCATIO?N
1 COMP PUNE
2 MECH BOMBAY
3 ELEC A.P
I am able to achieve this when I set the operating mode to ROW BASED. I am not geting the same result when I set the operating mode to SET BASED.
Help me....
-Sharat -
FM to create equipment task group counter by copying the existing one.
Hi Experts,
I need FM to create equipment task group counter by copying the existing one.
Manully we do this through the Tcode : IA01 but i want to do this through the Prog... for that i wrote one bdc it is creating some problem.
Please let me know any FM avaliable IN 4.0B
its very urgent please help me..
Regards,
Kali Pramodtry this /ISDFPS/TASKLIST_CREATE
-
Target group with attributes of persons and organizations
Hi,
we are using marketing attributes for persons and organizations.
Now, we want to realize a segmentation for organizations with marketing attribute productgroup xyz and persons with marketing attribute decider.
Is it possible to combine organizations with marketing attributes and persons with marketing-attributes in one target group?
thanksHi,
thank you very much for your answers!
Im sorry, I think my description was too short. I have the following situation / problem:
I am using InfoSet CRM_MKTTG_BP_ORG with business partner BUT000-PARTNER_GUID.
My person datasource based on Info Set CRM_MKTTG_BP_ORG and business partner BUT000_PER-PARTNER_GUID.
Furthermore Im using an attribute Set for organizational attributes and an attribute set for person attributes.
Now I want to build up a target group with persons who have specific attributes. The persons should be members of organisations with specific attributes.
Example: Persons with attribute decider should be member of organizations with attribute productgroup xyz.
We are using SAP CRM 5.0. I added the function modul CRM_MKTTG_PF_BP_TAB_TO_CP in my organization Datasource.
But I have problems to build up a profil set and a target group where I can combine the attributes of the organizations and the attributes of the persons. The counting result is 0.
I hope my description is understandable. Thank you in advance!
Volker -
Creation of Target group.
Hi All,
I having one urgent requirement, we have maintained the Ztable for maintaning the information of Vehicles against Business partners.
The Fields in the said Ztables are Vehicle type, vehicle Reg Number and BP number.
I want to send the mails using target group to customer who is having Perticular vehicle type for that i have created Infoset using the Ztable, then i have created the data source for target group still i m not getting the desired result !!!!!!
please anybody tell me that i missing any of step for above requirement ???
how to link up the BP to Ztables fields ???
How to create the said Target group ???
Regards,
DipeshHi,
You can try this alternative solution:-
Instead of maintaining vehicle type etc in Z table, please crate it as "attribute", and assign it to Business Partners.
You can use CRMD_PROF_BP transaction to assign Attributes to Business partners.
Based on the attributes , you can subsequently create the "target group".
Regards,
PD
Pl. Reward points if it helps !!
Maybe you are looking for
-
Can't get more than one mac online at once with aiport express
Hi, I hope someone can help - I've searched the forum and been on the phone to level 2 support at Apple for 6 hours to no avail! I have a D-Link DSL 300G+ modem connected to an airport express and can connect to the internet fine on just one mac if I
-
I've made a project on Imovie on my Iphone 4. The project includes clips taken on the phone, photos, songs and text. I've managed to save the project to the camera roll and it comes in at about 3.4gb. When i connect the phone to my PC and go through
-
Using classes inside of classes
I have created a custom sound class called MySoundClass that extends the Sound class... it is declared as class com.stickyMatters.WineGlassPiano.MySoundClass. I also have another class called SongPlayer that is declared as com.stickyMatters.WineGlass
-
One or more Runtime Repositories
LS, I've been working with OWB903 for a while, but now we've migrated to 9.2, and I have a question about the best practice regarding the use of the Runtime Repository. Since multiple project are going to be defined in OWB, do I need only 1 general r
-
hi masters, i am using oracle 10g on RHEL5. i just tried to export the schema with expdp rather than conventional export. for that i created a directory exp_dir in 'u01/app/oracle/oradata' ,grant create any directory to user which i want to export. c