Sei sulla pagina 1di 10

10/11/2017 DMEE how to remove charecter "@" in between two fields.

(http://w
ww.sap.c
Products
om/) (https://www.sap.com/products.html)

Industries (https://www.sap.com/industries.html)

Support (https://www.sap.com/support.html)

Training (https://www.sap.com/training-certi cation.html)

Community (https://www.sap.com/community.html)

Developer (https://www.sap.com/developer.html)

Partner About
(https://www.sap.com/partner.html) About (https://www.sap.com/corporate/en.html)

(https://sharedui.services.sap.com/v2/protected.html?ref=https://archive.sap.com/)
Home (https://www.sap.com) / Community (https://www.sap.com/community.html) / Archives (/) / Discussions + Actions
Archive (/discussions) / SAP ERP Financials (/discussions/space/erp/financials)

Archived discussions are read-only. Learn more about SAP Q&A


(https://go.sap.com/community/about/questions-and-answers.html)

DMEE how to remove charecter "@"


in between two elds.
This question is answered

Hi,

I'm creating DMEE Structre for country HK.

Request to bring Vendor name form both the fields .i.e. ZNME1 and ZNME2.

https://archive.sap.com/discussions/thread/3550690 1/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

When i do the structre for each field, it consists of 35 charecters.

I need to remove charecters appearing in between two fields. ?

i want to make both fields concatenate and make one name.

Please guide me how to do this...

Regards,

Pasha

(https://people.sap.com/tp786)

Tahaseen Pasha (https://people.sap.com/tp786)


May 16, 2014 at 08:31 AM
0 Likes

Correct Answer

amitash shah (https://people.sap.com/amitash.shah1) replied


(https://people.sap.com/amitash.shah1)
May 15, 2014 at 15:40 PM

Hi Tahaseen,

I hope you have selected "Own


mapping" in the element and also 01
in atom handling field.

If not make this setting. Also, send


me the screenshot of the changes
you have done so as to have a better
clarity.

BR

Amitash

1
View this answer in context (/discussions/message/15051547#15051547)

Helpful Answer by
Bohdan Petrushchak (/discussions/message/15033153#15033153) , Ravish Prabhu
(/discussions/message/15033813#15033813) , Ajay Maheshwari SAP Trainer
(/discussions/message/15034434#15034434) , amitash shah (/discussions/message/15051015#15051015)
, Tahaseen Pasha (/discussions/message/15051426#15051426)

ng for? View more on this topic (https://go.sap.com/community/tag.html?


23242285841826221) or

https://archive.sap.com/discussions/thread/3550690 2/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

//answers.sap.com/questions/ask.html?primaryTagId=648420875567243523242285841826221)

14 replies

Helpful Answer

(https://people.sap.com/the.wirtschaftsmann)

Bohdan Petrushchak (https://people.sap.com/the.wirtschaftsmann)replied May 08, 2014 at 21:17 PM

Hello, Tahaseen!

Does this symbol "@" appear only between these two parts that you would like to
concatenate or between all fields? If this symbol appears between all fields you should
go to the tab "Format attributes" of your format tree and remove @ from the field
"Delimiter" in segments. It should work this well.

Hope this will help you!

The Wirtschaftsmann

1
likes
Helpful Answer

(https://people.sap.com/ravish.prabhu)

Ravish Prabhu (https://people.sap.com/ravish.prabhu)replied May 09, 2014 at 06:36 AM

Hi,

If i understand you correctly, in DMEE file the character '@' (mailto:'@') shouldn't
appear. In that case put '@' (mailto:'@') in File Data tab - Charact and select Do not
Allow these characers option.

This appears in topmost node - DMEE tree : properties node.

Cheers,

2
likes
https://archive.sap.com/discussions/thread/3550690 3/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

(https://people.sap.com/the.wirtschaftsmann)

Bohdan Petrushchak (https://people.sap.com/the.wirtschaftsmann)replied May 09, 2014 at 08:31 AM

I agree with Ravish. In this case, you should also select the node with aggregated
values and press on the button Detail view: conversion near the Conv. function
drop down box and select under Additional options the checkbox Exclude/allow
defined characters.

0
likes
(https://people.sap.com/amitash.shah1)

amitash shah (https://people.sap.com/amitash.shah1)replied May 09, 2014 at 08:51 AM

Hello Tahaseen,

If the Special character "@" is not to be considered in the complete DME fields, use
the "character defination"

field in DME tree Properties (File data tab) - as also mentioned by others. Enter the
Special character "@" and select the Option "do not allow These characters".

However, if teh Special character Need not to be considered only for this particular
node, then make use of "source Offset" field in the source tab (set it as 1 so that the
1st character is ignored from the field value).

Hope that helps

BR

Amitash

1
likes
Helpful Answer

(https://people.sap.com/ajay.maheshwari)

Ajay Maheshwari SAP Trainer (https://people.sap.com/ajay.maheshwari)replied

May 09, 2014 at 09:52 AM

Hi Tahaseen

https://archive.sap.com/discussions/thread/3550690 4/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

Try with the options suggested above

if that does not work, you can try this way, which will work for
sure

In OBPM1, Select your Format Tree and Click on EVENT


MODULES on the Top Left Hand side

Assign Event 05 to your Tree and Create a Copy of Function


Module FI_PAYMEDIUM_DMEE_05 and assign this FM to
Event 05

It should look like Event 05 ->


ZFI_PAYMEDIUM_DMEE_05

You can write your custom logic in the FM to concatenate the


Name 1 and 2 and store the same in a Reference Field in
FPAYHX structure... Assign this Ref Field to your DMEE node

I did this to populate EMAIL ID in the Payment file.. Sample


code is given below to update EMAIL ID in REF01 field in
FPAYHX... I assigned REF01 to my DMEE node

DATA: WA_adr6 TYPE adr6.


CLEAR wa_adr6.
SELECT SINGLE * FROM adr6
INTO wa_adr6
WHERE addrnumber = IS_FPAYH-zadnr.

ES_FPAYHX-REF01 = wa_adr6-SMTP_ADDR.

Br. Ajay M

2
likes
(https://people.sap.com/tp786)
Tahaseen Pasha (https://people.sap.com/tp786)replied

May 14, 2014 at 16:14 PM


Thank you Every one,

This character appearing all fields because we have mentioned


in tab "Format attributes" segment is @.

We wanted only character"@" should not appear in between


ZNME1 & ZNME2 not in complete DMEE fields.

Example. My name contain more than 70 characters, ZNME1


field i can give max 35 characters,
https://archive.sap.com/discussions/thread/3550690 5/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

rest i need to mention under ZNME2.

abcdef@ghijklm

DMEE File should should concatenate and show full name rather separate
in between.

Kindly help.

Regards,

Tahaseen Pasha

0
likes
(https://people.sap.com/amitash.shah1)

amitash shah (https://people.sap.com/amitash.shah1)replied May 15, 2014 at 08:38 AM

Hi Tahsseen,

Check my answer above regarding use of offset. Did you try that?

BR

Amitash

0
likes
(https://people.sap.com/tp786)
Tahaseen Pasha (https://people.sap.com/tp786)replied

May 15, 2014 at 12:30 PM

Hi Amitash,

Yes i tried, above option will work only to consider from 2nd
character of a particular field.

Regards,

TP.

0
likes
Helpful Answer

https://archive.sap.com/discussions/thread/3550690 6/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

(https://people.sap.com/amitash.shah1)

amitash shah (https://people.sap.com/amitash.shah1)replied May 15, 2014 at 13:27 PM

Hi Tahanseen,

What I understood, here is your scenario

ZNME1 - abcdef

ZNME2 - @ghijklm

If my understanding is corect, use offset for the second field and concatenate the 2
nodes.

YOu have to create an Element under which you can create atoms for ZNME1 and
ZNME2.

Please provide proper example if i have understood wrongly so that i can check again.

BR

Amitash

0
likes
Helpful Answer

(https://people.sap.com/tp786)
Tahaseen Pasha (https://people.sap.com/tp786)replied

May 15, 2014 at 15:17 PM

Hi,

Had created element under that i have created two atoms for
ZNMEI and ZNME2.

Applied offset for second field but still it is not concatenating.

By doing this file is considering only 2nd atoms details.

ZNME2- hijklm is only showing by excluding first character i.e.


"g".

its not concatenating the both the fields.

Regards,

Tahaseen Pasha

0
likes
Correct Answer

https://archive.sap.com/discussions/thread/3550690 7/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

(https://people.sap.com/amitash.shah1)

amitash shah (https://people.sap.com/amitash.shah1)replied May 15, 2014 at 15:40 PM

Hi Tahaseen,

I hope you have selected "Own mapping" in the element and also 01 in atom handling
field.

If not make this setting. Also, send me the screenshot of the changes you have done
so as to have a better clarity.

BR

Amitash

1
likes
(https://people.sap.com/tp786)
Tahaseen Pasha (https://people.sap.com/tp786)replied

May 15, 2014 at 17:22 PM

Hi Amitash,

It worked. Thank you very much for your valuable time

Regards,

TP.

0
likes
(https://people.sap.com/amitash.shah1)

amitash shah (https://people.sap.com/amitash.shah1)replied May 16, 2014 at 08:31 AM

Great Tahaseen

0
likes
https://archive.sap.com/discussions/thread/3550690 8/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

(https://people.sap.com/lakshmisama)

Lakshmi Sama (https://people.sap.com/lakshmisama)replied May 16, 2014 at 07:52 AM

Hi Pasha,

Please do the modifications as stated below.

I hope this is your exact requirement. Vendor name - ZNME1 & ZNME2

Create the tags as like this.

Vendor name - Keep mapping criteria as Own Mapping. And pls create 2 elements for
ZNME1 & ZNME2 and keep the mapping procedure as structure field.

In source tab - ZNME1 tag as FPAYH - ZNME1 in structure & Field name columns.

ZNME2 tag - target offset - 35, Structure - FPAYH & Field name - ZNME2.

Please try this. I hope it works else please revert us with your query. Please let me
know if you have different requirement.

Thanks & Regards,

Lakshmi S

0
likes
Share & Follow
(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity)

(https://www.youtube.com/c/SAPCommunities) (https://www.linkedin.com/company/sap)
(https://plus.google.com/+SAPCommunities) (https://instagram.com/sap/) (http://www.slideshare.net/SAP)

Privacy (http://go.sap.com/about/legal/privacy.html) Terms of Use (http://go.sap.com/corporate/en/legal/terms-of-use.html)


Legal Disclosure (http://go.sap.com/about/legal/impressum.html) Copyright (http://go.sap.com/about/legal/copyright.html)
Trademark (http://go.sap.com/about/legal/trademark.html) Sitemap (http://www.sap.com/sitemap/index.html) Newsletter
(https://go.sap.com/registration/newsletter.html)

https://archive.sap.com/discussions/thread/3550690 9/10
10/11/2017 DMEE how to remove charecter "@" in between two fields.

https://archive.sap.com/discussions/thread/3550690 10/10

Potrebbero piacerti anche