Synthetic Profile Header creation
Hi Experts,
I am trying to create synthetic profile using FM ISU_S_PROFHEAD_CREATE but its giving error 'Save profile header before maintaining synthetic profile values'.
Would like to know is this the correct FM to create synthetic profile and how to use the same?
I tried the BDC recording method also. Where I am creating the first Tab(General Tab) in Create mode (using Tcode EEDM06).
Then changing the profile created (using EEDM07) and updating the second Tab(Details Tab) of the profile.
When I enter the season group and day group and press enter it shows the tree structure, but through SHDB I am not able to record selection of a particular value under a tree, for which I have to allocate a profile.
Is there any other way to upload the data of Synthetic profile??
Thanks,
Kumar
I believe ISU_S_PROFHEAD_CREATE is just for elementary profiles.
What you could try is to use an Excel script. In your SAP GUI press ALT+F12, then choose Script Recording and Playback.
Record the actions you do to create a synthetic profile.
This will generate an Excel sheet with a macro recorded. Adjust the Macro in VB scripting so to use values from your Excel worksheet (profiles to be used in the synthetic profile). After adjusting to your needs just execute the macro and you will see your script running the required actions.
I think this should be possible, but haven't tried myself. I used to configure them manually in the past.
Similar Messages
-
hi friends
i have got an issue in profile creation in edm
when i tried to create profile header t code eedm06 i selected the interval length as price but its asking for unit of measurement..actually it must ask only for currency..
but its asking for both currency and unit of measurement
can any 1 help me with this????
regards
princehi friends
atlast the error has been solved.for this error u need to assign the energy and price in sproedmprofile managementdefine units of menasurment
here v need to maintain the diviosn and profile value category with kwh
in my case it was
electricity price and energy was the data entered in that screen
and it worked
thanks and regards
prince -
User-Exit for Serial Number Profile / Equipment creation
Hi ,
In the Material Master Data , we have a serial number profile and at the time of
Post Good Issue , the system do generate an equipment record in the Service Module .
That is standard SAP and working very well .
For some customers (Inter-Company) customers we do not want any Equipment record in the Service Module to be created .
What standard SAP functionality or user-exit can we use in order to not create the Equipment record in the Service Module ?
Regard'sTransaction SPRO
Plant Maintenance and Customer Service --> Master Data in Plant Maintenance and Customer Service --> Technical Objects --> Serial Number Management --> Define Serial Number profile
In the Serial number profile, go to Serializing procedures. The EqReq field determines whether an equipment is to be created or not. For e.g. 01 in MMSL implies that equipment will not be created during GR,
Not sure whether this will satisfy your requirement. Will need more information for that...
Hope this helps,
Lakshman -
Roaming Profile Folder Creation Immediately Inaccessible
Set up is AD 2008. Terminal 2012 R2, Fileserver 2012.
Before we've had it set so we could create a user in AD, log them onto the Terminal, it creates the profile, which on log out is saved to its roaming location on the Fileserver with a V2 after it. In their profile field in AD, that Fileserver location
was given as well.
Something changed recently and we're not sure what. Now if I create a user in AD, and log them into the Terminal, it gives me a message that a temporary profile is being used for this log on. When I log out, it creates the V2 on the Fileserver,
but I'm unable to access it even with admin credentials. I've been able to change the owner, but it doesn't allow me to delete that folder and try again. I have been able to run this
SET DIRECTORY_NAME="C:\profilelocation"
TAKEOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /grant administrators:F /t
PAUSE
where the profile location is the folder in question and have it open it up enough to delete so we can troubleshoot. But doing that doesn't change the initial Terminal status of using a roaming profile and it using a temporary profile.
On the terminal server, I have also found the registry setting for that user and deleted it (the one with the .bak ending). That allows a good logon if I remove the profile location setting in AD. But when I move the folder to the fileserver,
and then add the location back in AD, I get the Temporary Profile error again.
Any ideas where to start looking? I don't think we've changed any GPs that affect our terminal users. Current users are fine, but I won't be able to create any new users and have them use a roaming profile.
Ben RollmanWell, I'm still not sure what changed. Here's what I've done so far. (Email to my boss yesterday.)
I set up a test container under States and moved all the state user, test user, etc into it. Then I backed up the current ExtUsers_UsersGPO settings and imported them
into a new GPO called TextExt… and enabled the computer settings. It had the following but the Computer Setting wasn’t enabled so it wouldn’t have done that.
Policy
Setting
Comment
Add the Administrators security group to roaming user profiles
Enabled
I deleted the local and roaming file, and for good measure the registry entry. I logged in as “testuser” and didn’t receive any problems. Created a test folder,
test file, logged off. I see the testuser.V2 on the FS, but I can’t access it, like before.
I run the following script to change it so I can access it.
SET DIRECTORY_NAME="C:\Files\Profiles\testuser.v2"
TAKEOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /grant administrators:F /t
PAUSE
The FS profile is set for full rights for domain and local admin, but no user. So I add the user as the owner, and give the user full rights. Log in, and I get
this.
Your roaming profile is not synchronized correctly with the server. Windows will load your previously-saved local profile instead. See the previous events for details.
And these in event viewer.
Windows cannot copy file
\\statefs\Profiles\testuser.V2\ntuser.ini to location C:\Users\testuser\ntuser.ini. This error may be caused by network problems or insufficient security rights.
DETAIL - The system cannot find the file specified.
Windows could not load your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you log off. Windows could
not load your profile because a server copy of the profile folder already exists that does not have the correct security. Either the current user or the Administrators group must be the owner of the folder.
I had put the icons on the FS folder just to see if it would show up. I saw the test folder okay in both. But when I logged back in, the shortcut icons weren’t
there. AND when I logged off, it overwrote the FS folder, removing the icons.
From there I checked the TS local profile folder (just in case) and saw it had no testuser rights at all. The owner of that folder was SYSTEM. So just for fun I
changed the owner to testuser, made sure to set it for all subfolders, logged in, no error message. Logged out, put shortcuts into the desktop folder on FS, logged back in, no errors and the shortcuts are there.
So.
I don’t know if it’s the GP or the fact that maybe the TS folder wasn’t getting the right permission to allow the roaming process to write to it or both. I’m going to
try to recreate this, see if there’s a way to shorten the process or create a template like before.
Ben Rollman -
Dynamic header creation using SQL
Hi Gurus,
I need your help again. I have a query which uses a date parameter to populate a report. The report pulls out data from the user entered date to minus eleven months. The report counts totals calls registered each month. I have the query working fine but I need help in populating the header.
For ex - suppose I run the query on todays date (18-Jan-2012)
The report header will be -
Jan Feb Mar Apr ....Dec
But I want the header to be populated in the following format -
Jan 2012 Feb 2011 Mar 2011 Apr 2011....Dec 2011
And for ex if I run the report for a future date say (21-May-2012)
The header will be in the following format -
Jan 2012....May 2012 Jun 2011 Jul 2011 .......Dec 2011.
Please let me know if I can populate the header using SQL. Any help is greatly appreciated.Hi Tenacious,
You wrote:
I want the header to be populated in the dynamic format with the year value concanated to the Month column.My script does that; you can look one more time at the output in my first post, and also in my second post.
And if you want another example, when we replace 18-Jan-2012 by 21-May-2012, we have the following:
SQL> select to_char(col,'Monyyyy') col_date
2 from
3 (select
4 add_months(to_date('21-May-2012','dd-Mon-yyyy'),
5 -level + 1) col
6 from dual
7 connect by level <= extract(month from to_date('21-May-2012','dd-Mon-yyyy')
8 union
9 select
10 add_months(to_date('21-May-2012','dd-Mon-yyyy')
11 , level - 12 )
12 from dual
13 connect by level <= 12 - extract(month from to_date('21-May-2012','dd-Mon-y
yyy')))
14 order by extract(year from col) desc, extract(month from col);
COL_DAT
Jan2012
Feb2012
Mar2012
Apr2012
May2012
Jun2011
Jul2011
Aug2011
Sep2011
Oct2011
Nov2011
COL_DAT
Dec2011
12 rows selected.
SQL> -
Mulitiple Line Header creation in ALV
Hi ALV Folks,
I am trying to display mulitple lines in the ALV column headings like below .Can any one help how can i do this using ALV .
i need to show like
Header-A -
Header-B------
hedA1
HedA2
HedA3
HedB1
HedB2
HedB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
dataA1
dataA2
dataA3
dataB1
dataB2
dataB3
Early response will be appriciated .
Thanks in advance .
Thanks & Regards,
Ramesh babu .PHi Ramesh,
Sad to say that its not possible. you will have to code using the non-ALV approach e.g. WRITE command.
Cheers,
Kelvin -
Header creation in ALV - 3lines - How can ?
I have created ALV Report already.
But I am strugling with Header to create like Below : (Could any body help me in coding how to code this below header )
<Report> <Company name> <Date>
<Page> ZGXXXX Transmission Report <Time: >
<Pd/Yr: > <System name>
Countless Thanks,How can I get header ?
What is the wrong in this coding ?
REPORT zgr2245
NO STANDARD PAGE HEADING
LINE-SIZE 255
LINE-COUNT 60
MESSAGE-ID zg.
DATA DECLARATIONS *
INCLUDE zgr2245_top_include.
*Variant Capture - Data Declaration Include
INCLUDE zzez410a.
SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_period LIKE bkpf-monat DEFAULT sy-datum+4(2),
p_year LIKE bkpf-gjahr DEFAULT sy-datum(4).
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK b2 .
SELECT-OPTIONS : s_bukrs FOR zccod-sp_cocode, " Company code
s_reploc FOR zccod-rpt_loc, " Reporting Location Number
s_procen FOR zccod-lg_locnum. " Profit center
SELECTION-SCREEN SKIP 1.
*PARAMETERS :
*p_alv LIKE rlgrap-filename DEFAULT '/DEFAULT'.
For variant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-lay.
PARAMETERS: p_vari LIKE disvariant-variant DEFAULT '/DEFAULT'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF BLOCK b1.
Initialization - For ALV variant
INITIALIZATION.
PERFORM read_default_layout.
&--F4 HELP - FOR ALV VARIANT GET--
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
&--AT SELECTION-SCREEN.- For ALV Variant--
AT SELECTION-SCREEN.
*Getting variant Existence
PERFORM get_exist_variant.
START-OF-SELECTION.
Variant Capture - Start-of-Selection Include
INCLUDE zzez410b.
PERFORM read_zccod.
PERFORM z_gl_get_zgxmit.
PERFORM alv_display.
END-OF-SELECTION.
Variant Capture - End of Processing Include
INCLUDE zzez410c.
INCLUDE zgr2245_routines.
*& Form z_gl_get_zgxmit
This routine gathers various information for each entry of loop *
by calling function module z_gl_get_zgxmit three times *
FORM z_gl_get_zgxmit .
DATA :
prior_period(2) TYPE c,
prior_year(4) TYPE c,
wa_ktext LIKE cepct-ktext.
DATA : wa_lg_locnum LIKE zgxmit-zprctr,
wa_year LIKE zgxmit-zgjahr,
wa_period LIKE zgxmit-zmonat.
wa_year = p_year.
wa_period = p_period.
LOOP AT gt_zccod INTO wa_zccod.
wa_lg_locnum = wa_zccod-lg_locnum.
First time Calling FUNCTION 'Z_GL_GET_ZGXMIT'
CALL FUNCTION 'Z_GL_GET_ZGXMIT'
EXPORTING
i_prctr = wa_lg_locnum
i_gjahr = wa_year
i_monat = wa_period
IMPORTING
e_zgxmit = wa_zgxmit
EXCEPTIONS
no_entry_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Second time Calling FUNCTION 'Z_GL_GET_ZGXMIT'
Before call FM, calculating prior year and prior period.
p_period = p_period - 1.
IF p_period = 0.
p_period = '12'.
p_year = p_year - 1.
ENDIF.
CALL FUNCTION 'Z_GL_GET_ZGXMIT'
EXPORTING
i_prctr = wa_zccod-lg_locnum
i_gjahr = p_year
i_monat = p_period
IMPORTING
e_zgxmit = wa_zgxmit_p
EXCEPTIONS
no_entry_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Fill ZCCOD n ZGXMIT values into wa_zgxmit_l.
wa_zgxmit_l-lg_locnum = wa_zccod-lg_locnum.
wa_zgxmit_l-sp_cocode = wa_zccod-sp_cocode.
wa_zgxmit_l-corp_pc = wa_zccod-corp_pc.
wa_zgxmit_l-cost_ctr = wa_zccod-cost_ctr.
wa_zgxmit_l-zgroup = wa_zccod-zgroup.
wa_zgxmit_l-disc_ctr = wa_zccod-disc_ctr.
wa_zgxmit_l-subsidiary = wa_zccod-subsidiary.
wa_zgxmit_l-plant_req = wa_zccod-plant_req.
wa_zgxmit_l-blocked_pc = wa_zccod-blocked_pc.
wa_zgxmit_l-user_auth = wa_zccod-user_auth.
wa_zgxmit_l-p_cocode = wa_zccod-p_cocode.
wa_zgxmit_l-indic = wa_zccod-indic.
wa_zgxmit_l-rpt_loc = wa_zgxmit-rpt_loc.
wa_zgxmit_l-post_to_p01 = wa_zccod-post_to_p01.
wa_zgxmit_l-late_year_end = wa_zccod-late_year_end.
wa_zgxmit_l-xmit = wa_zccod-xmit.
wa_zgxmit_l-bal_xmit = wa_zgxmit-bal_xmit.
wa_zgxmit_l-inc_xmit = wa_zgxmit-inc_xmit.
wa_zgxmit_l-z500_xmit = wa_zgxmit-z500_xmit.
For prior period fields( RPT_LOC, Z500_XMIT, BAL_XMIT and INC_XMIT )
wa_zgxmit_l-rpt_loc_p = wa_zgxmit_p-rpt_loc.
wa_zgxmit_l-z500_xmit_p = wa_zgxmit_p-z500_xmit.
wa_zgxmit_l-bal_xmit_p = wa_zgxmit_p-bal_xmit.
wa_zgxmit_l-inc_xmit_p = wa_zgxmit_p-inc_xmit.
Compare selected period with the Prior Period
and assign difference value accordingly.
IF wa_zgxmit-rpt_loc <> wa_zgxmit_p-rpt_loc
OR wa_zgxmit-bal_xmit <> wa_zgxmit_p-bal_xmit
OR wa_zgxmit-inc_xmit <> wa_zgxmit_p-inc_xmit
OR wa_zgxmit-z500_xmit <> wa_zgxmit_p-z500_xmit.
wa_zgxmit_l-difference = '*'.
ELSE.
wa_zgxmit_l-difference = ' '.
ENDIF.
APPEND wa_zgxmit TO gt_zgxmit.
CLEAR : wa_zgxmit.
Third time Calling FUNCTION 'Z_GL_GET_ZGXMIT'
Concatenate field ZGJAHR, a space and ZMONAT to come up with the
Period/Year of the Latest Entry.
CALL FUNCTION 'Z_GL_GET_ZGXMIT'
EXPORTING
i_prctr = wa_zccod-lg_locnum
I_GJAHR =
I_MONAT =
IMPORTING
e_zgxmit = wa_zgxmit_3
EXCEPTIONS
no_entry_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CONCATENATE wa_zgxmit_3-zmonat wa_zgxmit_3-zgjahr
INTO wa_zgxmit_l-period_year
SEPARATED BY SPACE.
Gather text information for each location from CEPCT table
SELECT ktext FROM cepct
UP TO 1 ROWS
INTO wa_ktext
WHERE prctr = wa_zccod-lg_locnum
AND spras = sy-langu.
ENDSELECT.
IF sy-subrc <> 0.
SELECT ktext FROM cepct
UP TO 1 ROWS
INTO wa_ktext
WHERE prctr = wa_zccod-lg_locnum
AND spras = 'E'.
ENDSELECT.
ENDIF.
wa_zgxmit_l-ktext = wa_ktext.
APPEND wa_zgxmit_l TO gt_zgxmit_l.
CLEAR : wa_zgxmit, wa_zgxmit_l.
CLEAR : wa_zccod, wa_ktext.
ENDLOOP. " LOOP AT gt_zccod INTO wa_zccod.
ENDFORM. " z_gl_get_zgxmit
*& Form alv_display *
This subroutine is to display the out put in ALV. *
FORM alv_display .
Local data
DATA: y_x LIKE boole VALUE 'X'.
DATA: lh_index LIKE lf_fieldcat-col_pos.
For variant
DATA: ws_repid LIKE sy-repid,
g_save TYPE c VALUE 'A', "#EC *)
g_exit TYPE c. "#EC *)
For 1st field.( LG_LOCNUM )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'LG_LOCNUM'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'LG_LOCNUM'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-key = y_x.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( SP_COCODE )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'SP_COCODE'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'SP_COCODE'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( CORP_PC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'CORP_PC'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'CORP_PC'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( COST_CTR )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'COST_CTR'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'COST_CTR'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( ZGROUP )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'ZGROUP'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'ZGROUP'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( DISC_CTR )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'DISC_CTR'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'DISC_CTR'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( SUBSIDIARY )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'SUBSIDIARY'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'SUBSIDIARY'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( PLANT_REQ )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'PLANT_REQ'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'PLANT_REQ'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( BLOCKED_PC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'BLOCKED_PC'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'BLOCKED_PC'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( USER_AUTH )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'USER_AUTH'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'USER_AUTH'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( P_COCODE )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'P_COCODE'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'P_COCODE'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( INDIC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'INDIC'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'INDIC'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( RPT_LOC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'RPT_LOC'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'RPT_LOC'.
lf_fieldcat-reptext_ddic = text-002.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( POST_TO_P01 )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'POST_TO_P01'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'POST_TO_P01'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( LATE_YEAR_END )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'LATE_YEAR_END'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'LATE_YEAR_END'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'XMIT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'XMIT'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For ( Z500_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'Z500_XMIT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'Z500_XMIT'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For field.( BAL_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'BAL_XMIT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'BAL_XMIT'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For field.( INC_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'INC_XMIT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'INC_XMIT'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
The prior period information.
For prior period ( RPT_LOC )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'RPT_LOC_P'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZCCOD'.
lf_fieldcat-ref_fieldname = 'RPT_LOC'.
lf_fieldcat-reptext_ddic = text-004.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For prior period ( Z500_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'Z500_XMIT_P'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'Z500_XMIT'.
lf_fieldcat-reptext_ddic = text-005.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For prior period .( BAL_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'BAL_XMIT_P'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'BAL_XMIT'.
lf_fieldcat-reptext_ddic = text-006.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For prior period .( INC_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'INC_XMIT_P'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = 'INC_XMIT'.
lf_fieldcat-reptext_ddic = text-007.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For field.( Difference )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'DIFFERENCE'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = ''.
lf_fieldcat-reptext_ddic = text-003.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For field.( period_year )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'PERIOD_YEAR'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'ZGXMIT'.
lf_fieldcat-ref_fieldname = ''.
lf_fieldcat-reptext_ddic = 'Latest Period/Year'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
For field.( Z500_XMIT )
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'KTEXT'.
lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
lf_fieldcat-ref_tabname = 'CEPCT'.
lf_fieldcat-ref_fieldname = 'KTEXT'.
lf_fieldcat-reptext_ddic = '0500 Transmit'.
lh_index = lh_index + 1.
lf_fieldcat-col_pos = lh_index.
lf_fieldcat-no_sum = y_x.
lf_fieldcat-outputlen = '20'.
APPEND lf_fieldcat TO lt_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "#EC *)
EXPORTING
i_callback_program = ws_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = v_alv_layout "gx_variant "
it_fieldcat = lt_fieldcat
IT_SORT = sortcat[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
i_save = 'A'
is_variant = g_variant
it_events = it_events[]
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
TABLES
t_outtab = gt_zgxmit_l
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " alv_display
*& Form define_event
text
--> p1 text
<-- p2 text
FORM define_event . "#EC CALLED)
v_prog = sy-repid.
v_alv_layout-colwidth_optimize = c_x.
v_alv_layout-zebra = c_x.
v_alv_layout-detail_popup = 'X'.
v_alv_layout-info_fieldname = 'COL'.
Events table
it_events-name = 'TOP_OF_PAGE'.
it_events-form = 'TOP_OF_PAGE'.
APPEND it_events.
ENDFORM. " define_event
*& Form top_of_page
Process IP standard page header
To display TOP_OF_PAGE.
FORM top_of_page.
data : v_concate(50) type c.
data : v_space(10) type c.
wa_comment-typ = 'S'.
wa_comment-key = 'Field Name'.
wa_comment-info = sy-repid.
append wa_comment to it_comment.
wa_comment-typ = 'S'.
wa_comment-key = 'DATE:'.
wa_comment-info = sy-datum.
append wa_comment to it_comment.
wa_comment-typ = 'S'.
wa_comment-key = 'TIME:'.
wa_comment-info = sy-timlo.
append wa_comment to it_comment.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = it_comment.
clear it_comment.
ENDFORM. "TOP_OF_PAGE -
EDM Report to generate profile values (synthetic profile)
Hi profis!
I want to create a report to generate synthetc profile values in IS-U/EDM.
Can you suggest a function modul or an object type and accordingly method/methods?
thanks a lot!
regards
ReinerHello,
The following function module ISU_S_SYNPROF_GENERATE_ALL should be of help...however be aware it has status "not released" for customers
Regards
Olivia -
Profile set creation problem..
Hi,
I was trying to create profile set..but when I select attribute list from left, I am unable to expand data source ( attribute set & attribute ) & hence unable to drag to modelling area....don't know where did i mess up...?
Your guidance will be appreciated
Thanks in advance
AnilHi Deepak,
sorry. lemme tell you what z happening.
Everything is ok till maintaing data source for segment builder.attribute list is created with attribute set. i can see assigned attributes & these are filtered as well.basically in this section I can see my attribute set & expand these to see filtered attributes.no problem so far.
now coming to segment builder craete profile set, then camapign execution then camapign, new profile set is given a name.If i go left to attribute set & scroll to my attribute list I cannot see anything below attributes in component area. it seems nothing is being selected. i tried to save & see. no results.Obviously no drag/drop in staging area.
I know this is a very basic problem but i have nobody around me who i can sit with & sort out. I am just referring different materials & practising on my system.
If you can reply on anilbatra1athotmail.co.uk as i think i shouldn't waste everybody's precious time on such a basic operational issue.
Your prompt reply will be highly appreciated.
regards.
Anil -
Status Profile -Transaction Creation
Hi to all.
I have a confusion in status profile.
What do u mean by "Transactions allowed by the Object"
CAPR approve
CCID change number.
CCLS finsih Etc..
What is the exact meaning of Transaction here?
Is it Transaction Types???
regards,
sanjanaHello Sanjana,
This is only used for CRM Activities. Press F1 when you cursor is in that field to get the explanation:
CRM: User Status Triggers Business Transaction
This field is only relevant if the status schema for object type CRM Activity is to be used. If you set a user status this triggers the execution of the business transaction assigned here.
This has the followig consequences:
The system status assigned to this business transaction by SAP is set/deleted (transaction BS33, menu option Follow-up actions)
The user status you assigned to the business transaction under menu option Business transaction control in this transaction is set/deleted
Hope this helps,
Reward points if useful, people put their time in providing you with an answer!!
Regards,
Joost -
Non-standard EDM Profile intervals
Can 15 minutes intervals like 05,20,35,50 be accommodated in EDM.
00:05
00:20
00:35
00:50
01:05
23:50
To my knowledge, it cannot be. We just had got an interval meter readings like that under a test scenario. Also it does not make sense as the RTP pricing has a very slim chances to be in that format.
However would like to confirm from the experts.
With thanks & regards,
VinodhYes you can.
P.S One small note, while using EDM please see the below area for correctness of interval length:
1. RTP interface
2. Register settings for maintaining interval length
3. Profile Header creation.
All of them should have ideally the same length of interval.
Edited by: born2bdahero on Oct 3, 2011 4:18 PM -
Creation of Header and Sub headers in Hyperion data forms
Hello all,
I have a Hyperion Planning dataform with many account members in columns. I want to create header to differentiate each category of accounts.
A-Type
A001
A002
B-Type
B001
B002
B003
How can i do the header creation using XML code of the form extract.
I need to colour the background of the account members corresponding to the grouping.
Please revert for the query ASAP.Hi,
About the header creation:-
Howz about adding a formula row instead of using xml code?
Like you can add a formula row and label it as A-Type.
As it is formula row, it will be greyed out.
Remember to validate the formula or else you might see "#error" in the rows.
Also you can use label only members for the scenario.
About the grouping by coding, it will try something by self and then can comment.
Hope this helps.
Regards
-SM -
How to Estimate Profile Values
Hi Experts,
For a particular Senario I need to Estimate the Value of the Particular Profile I have Created.
Can I know How to go abt It.
From Carry Out Mass Corrections , if I select Extrapolate Or Intrapolate Option it is Giving an Error.
Thanx & Regards,
SagarYou have to maintain the RVP Group in Profile Header. Only then, based on the replacement value procedure thus selected, will you be able to use the Extrapolate / Intrapolate Options.
However the ideal way to estimate profile values is create a Synthetic Profile, which contains a pattern of the consumption. Then once total consumption, say for a month is entered, this is split into intervals, as per the Synthetic Profile.
Edited by: Pranjal Gadkari on Apr 23, 2008 11:52 AM -
Certificate Profile (COA) and SmartForms
Currently we are using SapScripts for our COA's. We want to start using SmartForms for our COA's. I know once I build the SmartForms, I will have to modify the Print Program. What I don't know though is how I can tell the Cert Profile which SmartForm to Use. Normall you would do this though transcation QC01/QC02, put in Profile Name, type as CERT and go into the Header Area. The Header area allows you to specify the layout set, but when you select the drop down box beside the name, it only references SAPScripts.
Does anyone know how I can change this to reference Smart Forms?Hi,
The CoA SAP Script (standard QM_QCERT_01) is very tightly integrated into the Cert Profiles and the Print Programs (standard RQCAAP00/1/2).
1) The Cert Profile Header needs the SAP Script name. The Characteristics you specify in the Cert Profile need the Text Elements, which is not possible with Smartforms.
2) The Print Programs Build the Text Element names to be called dynamically from the Cert Profile. You will have to build such logic from scratch in the Smartforms environment.
3) If you still want to pursue, keep the SAPScript for the purpose of Cert Profile maintenance. You can get some headstart in Smartform creation by using the Migrate SAPScript Form utility in Smartforms. Then, you will need considerable custom coding in the Print programs (copied from RQCAAP00) the and Smartform(s).
4) Of course, you will need to configure the Delivery output type to point to this program and Smartform. You also need to make sure that the Smartform works in tandem for the Batch / Insp Lot (QC22/21).
Good luck,
Bhanu -
Problem in creation of sales order using BAPI
Hi Guru's,
I am currently working on Minimum Order Value problem. If the ordered item is less than 5$, the requirement is to add a new material MOV to the existing order by filling the difference amount and making it to 5 pounds. I am using the bapi BAPI_SALESORDER_CHANGE to amend the existing order with the MOV material. The material is getting created successfully and the order is getting amended. When i tried to process the order for billing It shows incompletion log exist. On checking the incompletion log it shows "missing configuration". But when i go to the configuration of the material it shows green sign. <b>The most important thing is the material MOV has 2 configuration profile, I believe there is a confusion in selecting the configuration profile for creation of MOV </b>. I came to know about that problem because when i go to change mode (VA02) and try to check the configuration, It askes me to choose the configuration profile and when i choose the configuration profile incompletion log is cleared. When i save the order and send it to billing the billing happens successfully. Could any one help me on this issue.......
Parameters passed to BAPI for configuration.
st_order_cfgs_ref-posex = '900010'. "PM14/06/07
st_order_cfgs_ref-config_id = '000010'. "PM14/06/07
st_order_cfgs_ref-root_id = '10000010'. "PM14/06/07
append st_order_cfgs_ref to t_order_cfgs_ref. "PM14/06/07
st_order_cfgs_inst-config_id = '000010'. "PM14/06/07
st_order_cfgs_inst-inst_id = '10000010'. "PM14/06/07
append st_order_cfgs_inst to t_order_cfgs_inst. "PM14/06/07
st_order_cfgs_refinst-posex = '900010'. "PM14/06/07
st_order_cfgs_refinst-config_id = '000010'. "PM14/06/07
st_order_cfgs_refinst-inst_id = '10000010'. "PM14/06/07
append st_order_cfgs_refinst to t_order_cfgs_refinst. "PM14/06/07
Thanks in advance...
ShivHi,
Did u have a look at the standard programs which make use of BAPI_SALESORDER_CREATEFROMDAT1
Heres a list...
LWSSOU08
MV45WF0S
MWWMJF21_BAPI_SALESORDER_CREAT
RBUS2032
Regards,
Tanveer.
<b>Please mark helpful answers</b>
Maybe you are looking for
-
How to Print PDF using BI Publisher or Apache FOP in APEX 4.0.1
Hi friends. I have a problem with APEX and print report in ouput of PDF. My configuration is: 1. Database: Oracle 11gR2 Standart Edition 2. APEX version: 4.0.1 3. APEX Listener version: 1.0.2.238.15.24 4. Oracle WebLogic Server version: 10.1.3.3.0 5.
-
I own a windows RT and am desperately looking for an app that I can fill out PDF forms created by my job to then email to another party. It seems after I open a PDF form I have to then save it as a copy before I can even start working on it and then
-
802.1x over ethernet and airport impossible together ??
I am connected to my University network (and to the internet) through a 802.1x network (Through Ethernet, not Airport). I have an iPod Touch with which I want to connect to the Internet. I went under Sharing, and created a Wireless network sharing th
-
Nokia 301 RM-839 v9.04 hanging issue.
Hello, I have observed hanging issue while we take photo using camera. Instead of saving & showing options it show image taken preview. Keyboard also hangs. Only way is to stop camera or restart removing battery. Has anyone seen such issue? Any clue?
-
Subscriptions delivered, but can't use
[Topic title updated by moderator to be more descriptive. Original topic title was: "subscriptions"] i signed up with 2 continues sucscriptions end of last month, everything went well with them,, 2 days ago i got a message that the automatic renewal