DMEE - How to supress tags with no values – Using Module exit
Hi,
I have created a payment format tree using transaction DMEE The problem is, when I don’t have
any values in a tag, I don’t want to display the tag for that particular node.
I am using Exit module mapping procedure, so I can’t add any condition. (See attached image)
Could you help me , please?
Thanks a lot in advance.
Best regards.
Ana
Hi Shannon,
I understand that it is possible using conditions tab of the given node.
Can you exactly tell me the condition that you used?
I am using some exit function module to populate my node.
So what should be the condition that I should put there to chck that the value fetched from the exit FM is not blank?
Thanks a lot for your help.
Regards,
Suganya
Similar Messages
-
DMEE - How to supress tags with no values
Hi,
I have created a payment format tree using transaction DMEE and the values are getting generated as required. But the problem is, when i dont have any values in a given node, I dont want to display the tag for that particular node.
For example,
say, for my format tree is as below:
PmtInf
--> PmtTpInf
--> Cd
Say, Cd has a value of 2, in XML it is displayed as <Cd>2</Cd>.
When Cd is empty, it is displayed as <Cd/>.
In case I dont have value in the node, I dont want to display this tag.
Any idea on how to achieve this?
We tried using the field "Status" in the Attributes by setting it as 2. [ 2 - Optional: if object has no value, object is skipped].
Still it doesnt work, and the empty tag gets displayed in the XML file.
Any help is highly appreciated.
Thanks a lot.
Regards,
SuganyaHi Shannon,
I understand that it is possible using conditions tab of the given node.
Can you exactly tell me the condition that you used?
I am using some exit function module to populate my node.
So what should be the condition that I should put there to chck that the value fetched from the exit FM is not blank?
Thanks a lot for your help.
Regards,
Suganya -
How to replace namespace tag with new value using -JAVA MAPPING
Hi Guys,
I need to replace namespace Tag in Target xml with a new value.
For Eg: My namespace Tag is - <ns0:TestHeader xmlns:ns0="http://0020.TestHeader.SS.com">
I want My target xml to have value- <ns0:TestHeader>
How can i achieve it using JAVA mapping?
Can you provide me the code to do so.Sarjana,
Not well-formed XML is only possible by Java Mapping. Please use below replace logic in Java map.
inputContent.replaceAll("<ns0:TestHeader xmlns:ns0=\"http://0020.TestHeader.SS.com\">", "<ns0:TestHeader>");
Link1, Link2. -
How to create counter with charcteristic values using exception aggregatio
Dear Experts,
Can some one help me on the below issue
Requirement : Creating a counter with char ( accounting doucment number) in the query by using exception aggregation & summarize on totals with CKF.
Note : i dont have any keyfigure called counter in my infoprovider
Please let me know how to create it.
I came to know that create new CKF & FV with replacemtn path with IO(Account document number) & use FV in CKF. is this true & works??
Please let me know how i should proceed ahead??
Thanks
SurendraI have resoloved by own
By createin zckf--> fv choosing replacement path with IO as reference and key.
then excepetion aggreation chosen : counter for all detailed values & check the checkbox calucate after aggreagation.
Thanks -
How to merge rows with similar values in alv grid display in webdynpro
Hi experts,
i want to know about how to merge rows with similar values in alv grid display of webdynpro.grouping rows is possible in table display in webdynpro but i am not able to do row grouping in the alv grid display in webdynpro.
kindly suggest.
thanks ,
Anita.Hi Anita,
did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
Is there an ALV function similar to the TABLE Row grouping?
Thanx in advanced!!!
Kind Regards,
Gerardo J -
How to connetct macair with windows laptop using wifi
how to connetct macair with windows laptop using wifi
m8,
You might need to download the latest driver for your Dell Latitude(D600). PAN(personal Area Networking or Piconet) is just one of the profiles(device support/services) of bluetooth(SIG). Blue Soleil are only for that blutooth that uses that chips, like that of widcomm. Toshiba/HP laptops have updates for their bluetooth I can't see why Dell wouldn't have also. And check if the driver,is one that is known to work with Nokia phones.
Good luck.
Message Edited by android on 25-Feb-2008 12:52 PM
Knowledge not shared is knowledge wasted!
If you find it helpfull, it's not hard to click the STAR.. -
How can I register with iTunes without using a credit card it's not giving me a none option!!
Did you follow these instructions? You have to. Also, you have to use an email addresss that you have not used with Apple before, it has to be a new acciount.
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card -
Crystal Reports with BEx Query using Custom Exit Variable
Hi,
We have BW BEx Query using Customer User Exit variable to derive the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem". (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
Crystal Reports with BEx Query using Custom Exit Variable
Thanks,
AndyHi Vibhav,
We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
We tried that "mandatory" option and did not work either.
Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
23.08.2011 - 08:20:49 CET - Info for Customer by SAP
I have raised this issue on the Idea#s Place as an enhancement request
on the below link:
https://cw.sdn.sap.com/cw/ideas/5586
This ER contains the information of including the customer exit
variables in the report without checking the #input for ready# option.
This ER can be considered for being implemented in the future
versions. You can refer to SAP Note: 1515837 - How To: Enhancement
Request Process - "Idea Place" for more information regarding the Idea
Place.
Cheers,
Andy -
How to set an attribute of a HTML tag with a value in the Servlet
I have a HTML page and a Servlet.
The HTML page sends a request to the Servlet.
The Servlet has to read the contents of the HTML page. When the Servlet encounters the body tag it should set the bgcolor attribute of the body tag with a string(For eg.a string called color with a value blue) in the servlet.
After doing this the Servlet has to update the original HTML page with the changes (in the body tag).
I need a help on this.Hi sangee,
you could get what you want to do by using a Java Server Page instead of both a HTML page and a Servlet.
I should code something like this:
<%Strung color="yourColor"%>
<html><head><title></title></head>
<body bgcolor="<%=color%>
</body>
</html> -
XQuery Mapper - leave out tags with empty values, how to?
Hi everybody,
I am using the XQueryMapper to map 2 XML schemas and get an output for a Webservice but I am unable to get rid off the tag elements that are empty (i.e. there is no content within the tag).
For example:
If my output is:
<customer>
<first_name>John</first_name>
<last_name></last_name>
<title></title>
<company>1BRN</company>
<customer>
What I would like to obtain is:
<customer>
<first_name>John</first_name>
<company>1BRN</company>
<customer>
What do you have to do to avoid that? If I do NOT use XQuery then that happens as a default behaviour.
Unfortunately I have to use it.
Cheers,
Manuel SilvaI found the solution to the problem. To avoid getting tags with no content the way to do it is defining properly your schema. Just adding minOccurs="0" if the element is optional, when it returns with no content, it does not come up in the output.
<xs:element name="order_type" minOccurs="0" maxOccurs="1" type="xs:string"/>
XQuery builds different constructs behind the scenes depending how your elements are defined.
Cheers,
Manuel
Message was edited by manuel.silva at Aug 27, 2004 1:58 AM -
How to pass tag name and value dynamically in the output of PCo notification?
Hi,
I have a requirement to develop such a scenario where there can be multiple no of tags in PCo (Say 10) but there will be single notification to push the tag name when the value got changed and the changed value to MII. for any value change for any of the tag, the notification will be trigger. So As per my knowledge I have to pass the tag name and value dynamically in the "output" tab of the notification. But need your support to find out how to pass them dynamically.
Thanks in advance.
Regards,
SumanHi Suman/Jeedesh,
As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
For above issue, My suggestion
1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
4. And in the mean time, send those Tag details vie mail trigger or as per requirement
Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
Hope it might solve your problem
Regards,
Praveen Reddy -
Display xml- tags with NULL - value
Hello
is there a way to display a tag while the value is null in this matter :
select
xmlforest(AFRAGNR_1, AFRAGNR_2 , AFRAGNR_3 ,AFRAGNR_4 )
AS XML
FROM VIEW_ABC WHERE x = v1 and y = v2
-- result: :AFRAGNR_3 and AFRAGNR_4 is null and not displayed:
XML
<AFRAGNR_1>J</AFRAGNR_1><AFRAGNR_2>J</AFRAGNR_2>
-- by using this, its not the result I want to get,
select
xmlelement( "AFRAGNR_1" , AFRAGNR_1 ) AFRAGNR_1
,xmlelement( "AFRAGNR_2" , AFRAGNR_2 ) AFRAGNR_2
,xmlelement( "AFRAGNR_3" , AFRAGNR_3 ) AFRAGNR_3
,xmlelement( "AFRAGNR_4" , AFRAGNR_4 ) AFRAGNR_4
FROM VIEW_ABC WHERE x = v1 and y = v2
another way ?
regards Norbert
Edited by: astramare on Nov 20, 2008 12:32 PMI have the same problem:
- I need to generate XML in format <element id="1" />
- I need to pass some null values:
SELECT XMLElement ( "ShipToAddress"
, XMLAttributes ( customer_id as "CustomerNo"
, '' as "Code"
, substr(name,1,30) as "Name"
, '' as "Name2"
, substr(street||' '||house_nr,1,30) as "Address"
, '' as "Address2"
, city as "City"
, last_name ||' '|| first_name as "Contact"
, phone as "PhoneNo"
, '' as "CountryCode"
, fax as "FaxNo"
, zip_cd||' '||postal_code_extention as "PostCode"
, '' as "County"
, email as "EMail"
, website as "HomePage")) customer
FROM customers;
result should be:
<ShipToAddress CustomerNo="100001004" Code="3" Name="4C
Cons" Name2="" Address="Metrologielaan" Address2="" City="BRUSSEL" Contact="" PhoneNo="" CountryCode="BE" FaxNo="" PostCode="1130" County="" EMail="" HomePage="" />
and NOT (this is my result at the moment):
<ShipToAddress CustomerNo="100001004" Code="3" Name="4C
Cons" Address="Metrologielaan" City="BRUSSEL" CountryCode="BE" PostCode="1130"></ShipToAddress>;
Can someone help me with this please?
Edited by: willeha on Mar 5, 2009 7:18 AM -
How to display characteristics with filterd values in WebReports
Hi
we use webreporting (BI 7.0) for our endusers and have designed a very simple webtemplate. All the characteristics you can see in the "selection window" are displayed in a header section with the values set for each variable. Due to the simplicity of the template we do not want to display all characteristics in the header with all possible filtered values set on any charateristic which are available on the report.
There is a standard webitem to display these filtered values but we can not use it as it is too large.
Is it possible to change the apperance of a characteristic (make it bold, or red, or underline if a filter is set) so that the user can see that he have set a filter on any characteristic?
If not, is it possible to simply display any text on the webtemplate indicating that a filter has been set?
Any Ideas?
Best Regards
MarkusHi Anita,
did you find a solution for this? I have opened a Thread, if you know the answer maybe you could help me out:
Is there an ALV function similar to the TABLE Row grouping?
Thanx in advanced!!!
Kind Regards,
Gerardo J -
How to Add column with default value in compress table.
Hi ,
while trying to add column to compressed table with default value i am getting error.
Even i tried no compress command on table still its giivg error that add/drop not allowed on compressed table.
Can anyone help me in this .
Thanks.Aman wrote:
while trying to add column to compressed table with default value i am getting error.This is clearly explain in the Oracle doc :
"+You cannot add a column with a default value to a compressed table or to a partitioned table containing any compressed partition, unless you first disable compression for the table or partition+"
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#sthref5163
Nicolas. -
How to bring fields with no values into workbook..?
Hi Gurus,
We have a query, which is filtered with some 60 GL Accounts. Some of these GL account has no values or activity since long back. But we need to display it in the report for some reasons. Since it doesnu2019t have any value, its not coming up in the report. Only the accounts with values are coming up.
Is there any way I can bring these accounts in the report with 0 as values...? Any help is highly appreciated.
Thanks
UanHi,
there are two ways:
1) first you update in the infocube all values from gl_account.
=> your data volume grown up very much.
2) in the query you create a structure with all values from gl_account.
Sven
Maybe you are looking for
-
HOW to define the default language in the portal
Normally the portal take the language of the internet explorer for user. I want to define a default language for all portal users in our portal, so that every user get the same default language. Can anyone tell me how to do this? We are on EP6 SP2. T
-
Change GTS business partner type from person to organization.
Hi Gurus, My problem is , I have created business partner in GTS under "Person" but I need to change the role to be a Legal unit under organization. How do I achieve it. I created business partner LUUS-4280 under "person" with role Business partner g
-
Parameters while extending a page
Hi, I am trying to extend Personal Information page in SSHR to add a new region with location and organization details of the employee. But how can i get the person's employee number or personId in that page to join in my new query? Thanks in advance
-
How do I get the NIK Software Suite to work in Photoshop CC?
I am running Photoshop CC on a PC running Windows 7 Ultimate. I installed the NIK Software Suite into the Plug-ins folder within Photoshop CC (64bit). The suite is available from the Filters menu, but the adjustments made within the software elemen
-
Where are my pictures stored? I can't find the directory
Where is your iPhoto library? I can't find it