Skip to Content
1

C1F5_SPECIFICATIONS_READ usage for reading specification value assignments

May 03, 2017 at 04:02 PM

95

avatar image
Former Member

Hi SAP EH&S experts,

I have a requirements for reading custom VAT from specification data to support few custom report symbols. Though these report symbols are for specification data I need the report symbols to be 02 parameter since the output is based on user entries during label generation and there needs to many validation based on user entered country.

My technical consultant is using C1F5_SPECIFICATIONS_READ FM to read the custom VAT. All VAT instances are getting updated to table X_VALUATION_USAGE_TAB once the specification read with custom VAT id. But after that, our code is written to go through this table X_VALUATION_USAGE_TAB and determine the entries relevant for REGION Validity area by checking against the user entered country. This became complex to accommodate exclusion and multiple REGIONS. We tested the FM by passing the REGION Validity but that does not seems to return all required value.

Having said that, have you used C1F5_SPECIFICATIONS_READ FM for reading VAT data based on exact validity area, if so can you provide an example or your experience in using this FM.

Thanks

Pugal Shanmugam

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christoph Bergemann May 06, 2017 at 03:58 PM
0

Hello

I have heard that some companies are using "report symbols" of type "02" to read data in propety tree. I know that it is possible. I am not sure if we use it. But it is not "recommended"

E.g. The symbols of type "01" are used to prepare data in "raw" report. Any "repeating etc. group" is prepared to follow this structure. Therefore your issue is not so easy. Let us assume this:

You have some kind of property (e,.g density)

Using "main repeating" group you need to look for data. This approach you can not use (in my opnion) if you look for "02" symbols. So the first issue: you "reprogramm" the "repeating logic" idea

Second: the whole "wwi" process is then (for 01 symbols) related to "usage" (an Status etc.) and other topics (which are defined via generation variant)

So if have currently no clue to prepare a "WWI" like logic using symbols of type "02" to "drill "down and find the data

You must more or less "reprogramm" the logic,. first you need to look for correct VAT (either of type "A", "B;" etc.). Than you need to start a "loop" checking if some data record with usage xy is present (then you need tocheck for"right" data (using the country as specified by the user). As you know the "generation variant" uses quite "complex" logic to handle "validity area" topics (ignoring for a second the "G group topic). You you "reprogramm" then the other logioc (as superset, subset explosion of validity area etc.)

Then you need to read data and show it in final report (e.g. characteristic data etc.)

What kind of data are you looking for to show and why is it dependant on "country"?

Example: you might use, as alternative, a "material class" (Class type 001) to store the data. Here the data would "fit" to WWI logic (data of material class is always of type "02" (report symbol) so you need not to "reprogram" the whole WWI logic. Same: can the data be stored in a "batch class" (class type 023 if i remember correct). Here, as with material class: you are using "02" report symbols to read and print the data in WWI report

Currently i am working on some project in which your issue is discussed (and I know that a solution is possible): but I am not allowed to share solution here (and I have not checked the solution)

Conclusion: which kind of data are we talking about? Why must the data be stroed in "property tree"? These are more or less the key questions here

C.B.

Share
10 |10000 characters needed characters left characters exceeded