Regarding structure whose value is not comming in workarea
Hi experts,
I had created a structure in abap dictionary in that i taken one fields whose data element is char and even in driver program i had use char for that fields, the field value is of decimal i.e 11.340. so when i used this structure in smartforms , the field value is coming in the internal table but not in workarea. I dont get to know why it is not coming in workarea as it come in internal table.
Thanks In Advance,
Ashish
Make sure that you have the same type declared in form interface section ad driver program. put a beak point in your smart form inside the initialization section using the break-point statement. check that value is getting populated in smart form on not using debugging. if it is getting populated in debugging mode then you would have made a mistake in writing the value of work area in instead of just writing &wa_area& , Use the Field list button to list the the fields and drag and drop the values from your structure you have at the left bottom .or use the insert button to insert the work area just writing the &wa_area& will not print the value .if you have already used field list button then debug and see that are you getting the value in smart form or not.the value of decimal can be passed to smart form using the char data type or numeric. best thing debug and see.
Steps : 1. Have the data type same in Form interface and print program .
2. Use the Button field just on the application toolbar just before the form painter button to get the list of variables available for printing .
3. Drag the variable from the structure to print area .
4. Put the statement BREAK-POINT hardcoded in your smart form .
5.print the output type to see if value is getting populated .
Revert back for further details .
Thanks .
Edited by: Anjaneya Bhardwaj on May 23, 2011 6:29 AM
Similar Messages
-
Define a SAML Attribute whose value is not in any data store
I attempting to define a SAML Attribute in Sun OpenSSO Ent 8.x, whose value is not in any data store. I need to assign static text. The SP requires a unique value for all assertions under the same company. This is their method to help ensure an employee and assertion are for the correct data. For example,
<saml:Attribute Name="AccountID">
<saml:AttributeValue>ref-193749900</saml:AttributeValue>
</saml:Attribute>
I have not found a way with the OpenSSO admin portal. Any assistance would be appreciated.
Thanks.Any response to this? I have the same need.
-
Excise base value is not comming to are3 and are1
hi sap gurus
can any one tell me about excise base value is not flowing to are1and are3.HI
First check your condition types here the condition category should be H. for your base price
Check these SAP notes
1171753 Excise base zero when excise invoice created in background
1035545 Excise base amount is not updated in table J_1IEXCDTL.
regards
Edited by: PRASHANTHgoud on Jul 10, 2009 6:09 PM -
Event Structure's value change, not detecting changes when tabbing thru array of clusters
Hi! I have an array of clusters (int, int, string, int) control, and want to detecting changes made to the it. I used the Event Structure's value change case on the array, it works excellent except that it'll only detect the changes when you click out of the element or press the enter key (the one by the numbers, not carriage return). I want it to detect the changes when I tab thru the cluster or array too, but I can't figure it out... Does anyone have any ideas?
Thanks!mfitzsimons wrote:
altenbach
Tried Value Change with my example done in 7.1 and it doesn't trgger an event. That is why I suggested Mouse Down.
Curious. I did a few minor edits in 8.0 before saving as 7.1, but the simple value change event got triggered just fine when the value vas terminated with a tab in 7.1. Every time. Strange....
Are you on 7.1 or 7.1.1? Maybe there's a difference (I am using 7.1.1).
LabVIEW Champion . Do more with less code and in less time . -
How come the item value does not come thru via PL/SQL anonymous block?
Hi,
It's a Form with 3 tables -
1) ClinicianProfileTb (with about 40 columns, insert/update via DML),
2) PeopleTb (with about 7 columns, insert/update via PL/SQL anonymous block) and
3) ClinicianPracticeTb (with about 10 columns, insert/update via PL/SQL anonymous block) for after-submit-processes.
So I have several After-Submit-Processes. For some reason, it appears that PeopleId which is supposed to come thru via the 2nd After-Submit-Process (ie: Insert/Update PeopleTb) does not do the way it's supposed to. And when I press "Create" button at the bottom, I got the following error msg:
ORA-01400: cannot insert NULL into ("TEST_0712"."CLINICIANPRACTICETB"."PEOPLEID")
I tried the "debug" mode (via edit page link), but to no avail. (I'm newbie, trying to learn and deliver at the same time :)).
I uploaded the app to apex.oracle.com, if someone could kindly take a look and let me know what goes wrong, it'd be greatly appreciated.
workspace: test_0712
app: 43408 - TEST
user: demo
pswd: demoPswd
Page#21 -> look at the After-Submit-Processes -> in "Insert/Update PeopleTb" it appears that PeopeId does not come thru; thus it cannot be updated to ClinicianProfileTb.PeopleId (allows null) -> and thus cannot be inserted into ClincianPracticeTb.PeopleId (which does NOT allow null). Basically my logic is that in order to create ANY row in ClinicianPracticeTb, BOTH PracticeId AND PeopleId must be present.
Acutally I should have used the PeopeTb as DML (as the driving table) to enforce that PeopleId must be present in order to insert ClinicianProfileTb and ClinicianPracticeTb, but it'd be lots of codes to write to insert/update in ClinicianProfileTb (40 columns).
In addition, does ApEx consider EVERY SINGLE after-submit-process are in ONE transaction for commit/rollback? It appears that it treats all PL/SQL anonymous blocks are in ONE transaction, while Automatic Row Processing (DML) is commited/rolled back on its own?
Thanks much,
HelenAll blocks that do not commit in one of the ways I detailed (and which do not explicitly commit using a commit statement) are part of the transaction started with > the first DML statement issued in any of the page processes and continuing until a commit is issued.Say, there are the following processes in the After-Submit-Processes:
1. Process1 -> Automatic Row Processing (DML)
2. Process2 -> PL/SQL anonymous block
3. Process3 -> PL/SQL anonymous block
Based on what you describe, in the event that if there is no explicit "commit" issued in any of these processes, then an implicit "commit" will be issued at the end of Process3?
Thanks, Scott.
Doreen -
COGS Values are not flowing to COPA
HI
Dear experts
here i have prepared copa report , but cogs values are not comming to copa report
cogs elements have been created by taking cost element category "1"
Regards
RAJESHHi,
Can you check whether COPA document is created for billing document and COGS value field is updated in this document? If this value is not updated then you need to check COGS value field mapping to COGS condition type (generally VPRS).
If the COGS value is updated in COPA document then you need to check COPA form and report.
Let me know if you need further details.
Thanks & Regards,
ADI -
Value are not coming (tcode cm50)
hi expert ,
in below code values are not comes into ITAB_TXTLINES ( WA_DATA ) . we use a standard program cm50 tcode . into
customize program memory but values is not coming into wa.
values(arbpl ,werks,kapar,planr)
this is my first time i use standard progarm
so plz help
REPORT ZPP_CM50 LINE-SIZE 170..
TYPE-POOLS : SLIS.
DATA : INT_CAT TYPE SLIS_FIELDCAT_ALV,
INT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : LS_LINE TYPE SLIS_LISTHEADER,
VN_TOP TYPE SLIS_T_LISTHEADER,
IT_SORT TYPE SLIS_T_SORTINFO_ALV,
WA_SORT LIKE LINE OF IT_SORT.
DATA : LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: BEGIN OF SLIST_LISTLINE,
LINE(1024) TYPE C,
END OF SLIST_LISTLINE.
DATA: ITAB_TXTLINES LIKE SLIST_LISTLINE OCCURS 0 WITH HEADER LINE.
TABLES : CRHD , KAKO .
DATA: BEGIN OF ITAB_DATA OCCURS 0,
AA(20),LEVEL(20),ITEM(20),OBJ(20),OBJID(20),
OBJDES(20),OVRFLW(20),QTY(20),UOM(20),ICT(20),
END OF ITAB_DATA.
DATA : WA_DATA LIKE ITAB_DATA.
DATA: TEXT TYPE C LENGTH 10,
RSPAR_TAB TYPE TABLE OF RSPARAMS,
RSPAR_LINE LIKE LINE OF RSPAR_TAB,
RANGE_TAB LIKE RANGE OF TEXT,
RANGE_LINE LIKE LINE OF RANGE_TAB.
*DATA: TEXT TYPE C LENGTH 10,
RSPAR_TAB TYPE TABLE OF RSPARAMS,
RSPAR_LINE LIKE LINE OF RSPAR_TAB.
RANGE_TAB LIKE RANGE OF TEXT,
RANGE_LINE LIKE LINE OF RANGE_TAB.
DATA : LIST_TAB TYPE TABLE OF ABAPLIST.
SELECTION-SCREEN : BEGIN OF BLOCK ABC WITH FRAME TITLE TLT.
SELECTION-SCREEN SKIP 1.
*SELECT-OPTIONS ARBPL FOR CRHD-ARBPL.
SELECT-OPTIONS WERKS FOR CRHD-WERKS.
SELECT-OPTIONS KAPAR FOR KAKO-KAPAR.
SELECT-OPTIONS PLANR FOR KAKO-PLANR.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN : END OF BLOCK ABC.
START-OF-SELECTION.
*RSPAR_LINE-SELNAME = 'TRUST_ID'.
RSPAR_LINE-KIND = 'P'.
RSPAR_LINE-LOW = 'RPF1'."'VD06011013'.
APPEND RSPAR_LINE TO RSPAR_TAB.
CLEAR RSPAR_LINE.
RSPAR_LINE-SELNAME = 'YEAR'.
RSPAR_LINE-KIND = 'P'.
RSPAR_LINE-LOW = '2009'.
APPEND RSPAR_LINE TO RSPAR_TAB.
CLEAR RSPAR_LINE.
RSPAR_LINE-SELNAME = 'REPONAME'.
RSPAR_LINE-KIND = 'P'.
RSPAR_LINE-LOW = 'FORM3A'.
APPEND RSPAR_LINE TO RSPAR_TAB.
CLEAR RSPAR_LINE.
SUBMIT RCCRY000 EXPORTING LIST TO MEMORY
USING SELECTION-SCREEN '1000'
WITH CRHARBPL-LOW EQ ARBPL
WITH CRHWERKS-LOW EQ WERKS
WITH KAKKAPAR-LOW EQ KAPAR
WITH KAKPLANR-LOW EQ PLANR
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LIST_TAB
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
LIST_INDEX = -1
WITH_LINE_BREAK = ' '
TABLES
LISTASCI = ITAB_TXTLINES
LISTOBJECT = LIST_TAB
EXCEPTIONS
EMPTY_LIST = 1
LIST_INDEX_INVALID = 2
OTHERS = 3.
LOOP AT ITAB_TXTLINES . "from 5.
CLEAR WA_DATA.
SPLIT ITAB_TXTLINES AT '|' INTO: WA_DATA-AA
WA_DATA-LEVEL
WA_DATA-ITEM
WA_DATA-OBJ
WA_DATA-OBJID
WA_DATA-OBJDES
WA_DATA-OVRFLW
WA_DATA-QTY
WA_DATA-UOM
WA_DATA-ICT.
IF ITAB_TXTLINE-SY-INDEX .
then
DO 4 TIMES.
REPLACE '.' IN WA_DATA-LEVEL WITH SPACE.
ENDDO.
*DELETE ITAB_DATA-INDEX=1." WHERE WA_DATA = ITAB_DATA.
CONDENSE WA_DATA-LEVEL.
IF NOT WA_DATA-LEVEL IS INITIAL and not WA_DATA-LEVEL cp 'Emp*'.
APPEND WA_DATA TO ITAB_DATA.
ENDIF.
ENDIF.
ENDLOOP.
thanks.Hi,
CM50 is generated from CM10 main program for parameter 'M'. It generates it on the runtime and exports values into memory. It's less likely you will be able to generate the whole set into a Z Program.
I didn't find a function module to do so. But, with your consultants help you can create your own function module that gives results similar to CM50, it's merely calculation of capacity of workcenters for a period using the sales order booked against the work centers in that period. If you try a bit you can create it.
Good luck.
Also remember, before you post a code, use ... -
Subcontracting challen po net value not come in challen
Hi
While I taking print of subcontracting challen po net value not come in challen
any reply
Regards
Kailas ugale
Edited by: Csaba Szommer on May 9, 2011 10:36 AMHi
check this link it may helpful to you
same question was put by me in forum some day ago
[net value not coming in subcontracting challen|subcontracting challen print;
Regards
Kailas ugale -
In Bex Query day from calday value and sales in prev yr value not come
Dear all
right now i got output like
Sales Sales in Prev Yr
Sales Organization Day From Calday Calendar Day Sales Value Sales Value
1020 Not assigned 05/1/2010 2,013,176.00 INR
1020 Not assigned 05/1/2011 2,945.00 INR
and i want output like base on date 05/01 how to do pl help
Sales Organization Day From Calday Calendar Day Sales Value Sales Value
1020 05/01 05/1/2010 2,945.00 INR 2,013,176.00 INRHi ,
This is possible via customer exit.You can populate day on the bases of your date .
Try this :
WHEN 'tech name of exit var'.
data : v_day type c length 5 ,
v_day_val type c length 5.
IF i_step = 2.
READ TABLE i_t_var_range INTO LS_T_VAR_RANGE WITH KEY vnam = 'date_value u2019.
v_day = LS_T_VAR_RANGE-high+4(4).
concatenate v_day+2(2) '/' v_day(2) into v_day_val .
ls_range-low = v_day_val .
ls_range-opt = 'EQ'.
ls_range-sign = 'I'.
APPEND ls_range TO e_t_range.
Hope this will be helpful .
Regards,
Jaya -
R/3 ZCOND values are not picked properly in BW
We had a issue in one of the BW Reports. There are three types of discounts offered in the sales, namely Hospital Discount, Market Discount & Pharmacy Discount.
For certain billing document nos, the R/3 and BW values were not matching. However, the Net Amount is matching.
There is a table by the name ZVBW_PRICE_COND which is a view created out of the tables VBRK, VBRP & ZSBW_PRICE_COND.
In R/3, we put the POSNR value (Billing Item) and BELNR value (Billing Doc no.) to generate KNUMV value (Number of Document Condition) and KSCHL values.
In the KONV table, we put the KPOSN (Condition Item no.) = 10, KNUMV value and KSCHL value (Condition Type) to get the Condition value.
The value generated was ok and were same as that of vf03.
Now we checked the Data source 2LIS_13_VDITM and its extract structure.
Here we found Field only in Customer Exit checkbox ticked for ZCOND1 to 4.
However, in BW, there are specific Infoobjects like Condition Value1,2,3,& 4 each of which is directly mapped to ZCOND1,2,3,& 4 respectively.
Hospital Discount and Market Discount are mapped to ZCOND3 & ZCOND2 respectively in the concerned report.
I could have remove the ticks in the checkbox and make ZCOND accesible to extractor. But problem is that it is only certain billing doc nos for which discounts are not matching. Any help will be highly appreciated.
Best Regards,
SurajitHi,
This checkbox is set for those fields of the datasource(in rsa6) which are custom fields,and whose values are determined by a user-exit written in tcode CMOD.
We have observed that keeping this checkbox ticked or unticked does not make any difference at all.So even removing this checkbox for your 4 fields will not solve the mismatch issue.
The mapping for the 4 fields in your case,is already there in BW.
Please go to tcode CMOD,enter the BW project name,select components and click on display.4 user exits will be displayed.
1st is for TD datasources,2nd for master data attr,and next are for text and hierarchies.
Double click on 1st exit FM,then double click on the include program,and find the exit code written for your datasource.Most probably user-exit not working OK.
cheers,
Vishvesh -
Report painter - GGR2- filter on a characteristic whose value is empty
Hi Experts,
In element defintion, we must filter on a characteristic (C/f level - RCFLEV - Document and Predecessor not Carried Forward) whose value is empty but represent a set of data . The list of values is :
Document and Predecessor not Carried Forward
X Document or Predecessor Carried Forward
U Customer Flag: Document or Predecessor Carried Forward
9 Cstomer Specification: Number of Carryforwards
The report painter does not allow to exclude certain values. Which solution can you propose to me to filter on Document and Predecessor not Carried Forward?
Thanks and Regards
FabianHi,
Thanks but unfortunately, this solution does not function
The report is based on structure FMRBCS. The basic key figure is HSLT. In the characteristic , I selected c/f level and I encoded '#' in the field u201Cfromu201D and in the field " tou201D but not result. With the value u201CXu201D, I have a result.
I also tested the use of character u201C#u201D for filter on field C/F Level with the transaction se16N on transp. table FMIOI (Commitment Documents Funds Management) mais no values found.
I am interested of all solutions to solve this problem in the report painter.
System : SAP ERP 6.0 - EHP 4
Fabian -
The user exit-sy-ucomm value is not changing
Hi Everyone,
I have created a subscreen to be called from the program SAPLXQQM (Notification header).Within that suscreen (0115) I am calling another screen (say,1000) after wrapping it in a FM, as shown below:
Code in the flow logic of subscreen 0115-> Call Function 'XYZ' .
FM 'XYZ':
Function XYZ
Call screen '1000'
End Function XYZ
This is done by pressing a button created on the subscreen with F-code already provided in the enhancement.
After the processing of the FM the control comes back to the calling screen of the subscreen 0115. Here the value of sy-ucomm is the same as that while calling the FM 'XYZ' .Now the problem here is that this value is not changing even when the control comes back and I do any other event like pressing an 'Enter' or 'Scrolling'.So the FM gets called again and again.
I want to know why is this hapening and how can I rectify this?Is this because of the way I called the screen 1000 from the subcreen 0115.
Please reply.
Regards
AbhishekHi abhishek,
Once after completing the processing of ur sub subscreen(0115) u r cming to ur subscreen
and still getting the same screen(0115) for any other event, it might mean that the events which u r calling are not defined with the respective ok code.
Bcoz of which every time after calling other events ur sy-ucomm is not getting modified
bt persists the same old value.
Pls chk the Function codes neccessary to trigger other events. eg: back button
regards,
ajit. -
Account 'Contra account: Acquisition value' could not be found in ASKB
Hi SAP experts
1. First we have created new asset with reference old assets in As01
2. After that we have transfer all asset from old to new asset with in the company code in the ABUMN T.code in the month on 01.04.2010
3. After that we have run the deprecation for April, May and Jun. Up to this, there were no problem those periods
(now here we are following first we are running the ASKB and after that we are running AFAB)
4. now we are facing the new issue for July month while running ASKB Like Below
Account 'Contra account: Acquisition value' could not be found for Deprecation area 52
Message no. AU133
Diagnosis: When creating the accounting document, the system could not find account
'Contra account: Acquisition value' for company code 0216.
System Response
Procedure: Enter this account in the account determination for Asset Accounting.
Here in Error log it showing three account determinations 100002,100010 and 100040
5.As per my knowledge we can maintain the G/L account for account determination in the T.code AO90 for deprecation area wise but why the new error massage has come into picture.
Please let me know if you require more information about the issue
Can you any body please give me suggestion based on the issue and
Thanks and Regards
sudharshana vamsiHi Sridevi
Thanks for your suggestions
if i will maintain G/L account for account determination in the T.code AO90 for deprecation area wise, is there any effects for another company codes and balance sheet wise
And also we are running depreciation since 2003, now suddenly it is coming into picture in the month of July. and may i know the reason. Are there any new patches are added in sap
And also if you donu2019t mind can you tell me what are purpose to maintain the Contra G/L account in the AO90.
Thanks and Regards
sudharshana vamsi -
So, I work on a legacy CF web site and there are numerous SELECT * FROM USERS_TABLE queries all over the site.
Well, we changed the structure of said table in the database on our Testing and Staging sites, with no issues.
When we pushed up to our production environment and changed the structure of the production DB table, the server kept kicking back "Value can not be converted to requested type."
After doing some searching out there, it looks like CF caches the structure of the table, and you either have to restart CF to clear it, or rename and then name-back the DSN to fix the issue.
http://www.bennadel.com/blog/194-ColdFusion-Query-Error-Value-Can-Not-Be-Converted-To-Requ ested-Type.htm
That said, this doesn't happen in our testing and staging environments - so what would be the difference?
Is there some setting I need to change in the CF Admin to keep this from happening again?Also, if you can use a Stored Procedure to retrieve the data, do so. Standard queries gets all the information, anyway, chokes bandwidth passing it all to the CF server, and forces the CF server to filter, sort, and format the data. SPs tell the db server to get ONLY the data requested, and forces the db server to filter and sort the data, leaving only formatting to the CF server.
That's not true. The only time CF messes with data returned from the DB is if there's a maxrows attribute, and the record set returnded from the DB has more than that number of records... which causes CF to truncate the recordset to the correct size before returning it. The DB might or might not stop sending rows down to CF after CF says "yeah, I've got all I want now".
Other than that, for all intents and purposes all CF does with the SQL is pass it to the DB and wait for an answer. The only thing it does to the returned data is to create a CF record set ("query") with it... this does not involve any filtering and sorting.
Adam -
Value mapping not working properly
Hi All,
I am using value mapping twice in same mapping program. But only 1 field is coming with value and other is taking same value from source payload, can you please tell me what can be issue here?
Value mapping 1 -
Context - http://sap.com/xi/XI
SenderParty- SenderSchema
ReceiverParty- ReceiverSchema
Value Mapping table in ID -
Value mapping at field 2 -
Context - http://sap.com/xi/XI
SenderParty1- SenderSchema1
ReceiverParty2- ReceiverSchema2
Value Mapping table in ID -
Source payload -
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_VM_Send xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
<Record>
<Emp_ID>123</Emp_ID>
<Name>rash</Name>
<Surname>sumit</Surname>
<Gender>Male</Gender>
<Grade>E2</Grade>
</Record>
</ns0:MT_VM_Send>
Target Payload -
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_VM_Receiver xmlns:ns0="http://xyz.com/Rashmi_CollectPatternDemo">
<Record>
<Emp_ID>123</Emp_ID>
<Full_Name>rash sumit</Full_Name>
<Designation>E2</Designation>
<Gender>M</Gender>
<Travel_Mode>Train</Travel_Mode>
</Record>
</ns0:MT_VM_Receiver>
Here travel_mode is coming perfect, but designation is same as defined in source payload. Why here Value mapping not working???
Thanks & regards,
Rashmi JoshiHi Rashmi,
The problem would either be in cache update or your mapping. Please provide the sceenshot of mapping (after clicking the value mapping function).
you can also choose the option to throw error in value mapping function, so it will throw error when value not found.
regards,
Harish
Maybe you are looking for
-
Hi, When I was checking the top visitors list under web analytics report I see few user names as full name and most of other users as domain\userid. How can i show all the list as user full name. We are using SharePoint 2010. Thanks in advance!!!!!!
-
New Hard drive and no original OS install disks to hand.
Hi, Just installed a new WD hard drive after my original HD died after 2 and a half years of use, unfortunately I do not have my Tiger disks to hand. Do I have to buy the full Snow Leopard Box Set to install with no previous OS system or could the SL
-
How to run reports in Application Server 10g?
Dear Friends, I am running my forms on Application Server 10g. How do I launch reports from my Forms on the 10g application server? My friend told to use web.show_document(http://serverip:port/reports/rwservlets/getjobid - what should it be after tha
-
Procedure takes long time to execute...
Hi all i wrote the proxcedure but it takes long time to execute. The INterdata table contains 300 records. Here is the procedure: create or replace procedure inter_filter is /*v_sessionid interdata.sessionid%type; v_clientip interdata.clien
-
Export iphoto library to android phone
Is there a simple method to export my iPhoto library so that it could be accessed via an Android phone, while keeping the logical segmentation by Events? I know I can just photos, then copy them to DropBox or Google Drive, then access on the phone.