This website has been archived, it is working in read-only mode.

This website has been archived, it is working in read-only mode.

User is posting some finansal document in RE-FX module. In main class program creates cl_cashflow_mngr class instance, <some not="" related="" stuff="" here="">, then BADI implementation is called. My problem is i can't find way to take some data from cl_cashflow_mngr instance that was created in the beginig of process. Is there any way to EXPORT/IMPORT object to/from memory or get existing class instance from stack?

asked 14 Feb '13, 16:02

Pawel%20Hixohe%20Grze%C5%9Bkowiak's gravatar image

Pawel Hixohe...
2112511
accept rate: 16%

edited 14 Feb '13, 16:05


In a system that has the enhancement framework (I guess now most system have it) the way I would try:

1) create a new class to use as data transfer (e.g. YCL)

2) use an implicit enhancement point in cl_cashflow_mngr object (for example in the constructor) to set an attribute of YCL with a reference to the object (the me variable)

3) later in the badi access the cl_cashflow_mngr object through the reference in YCL attribute

permanent link

answered 17 Feb '13, 16:28

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840
accept rate: 32%

This is one way to do this.

2nd way is to use Shared Memory Objects but it require modification of cl_cashflow_mngr definition.

I probably use first method.

(17 Feb '13, 17:02) Pawel Hixohe...

Many times I was able to get a pointer to variables (or objects) outside the user-exits using these dynamic assignments. If your class instance is a variable of a program, or an attribute of some other object variable that you can get from a program, then this might work for you.

CONSTANTS: c_mseg(21)  VALUE '(SAPMM07M)MSEG'.
FIELD-SYMBOLS: <fc> TYPE MSEG.

ASSIGN (c_mseg) TO <fc>.
<fc>-exbwr = 99.
permanent link

answered 14 Feb '13, 16:32

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840
accept rate: 32%

I don't know exacly how to write correct syntax related to ABAP OO.

For example i have class zcl_test.

program1

DATA: lo_test TYPE REF TO zcl_test.

create object lo_test.

submit program2.

program2

CONSTANTS: c_object(18) VALUE '(program1)zcl_test'. FIELD-SYMBOLS: <fc> TYPE REF TO zcl_test.

ASSIGN (c_object) TO <fc>.

or i should use in constants name of object like this:

CONSTANTS: c_object(18) VALUE '(program1)lo_test'.

This is way to do this or i'm missing something?

(15 Feb '13, 14:58) Pawel Hixohe...

You are right, I also did a quick test and the dynamic assign failed for the object reference. Something to investigate later.

(17 Feb '13, 16:21) pedrolima ♦♦

Nike technically referred to as inside 1978. Its above the best type Adidas, Puma, Reebok, called this "new globe to get nearly something like 20 decades designed probably the most flourishing customer things organizations. " Nike increased through dollar thirteen mil benefit around 1985 to be able to regarding several mil Oughout. S. cash inside 1994, dollar 13, 000, 000 connected with this 1985 Nike international revenue connected with organizations on the planet such as inside 1994 a new turnover connected with four. 7 thousand money. From the Usa, will be Qi Cheng the younger generation fantasizing connected http://www.dhruwalandankita.com/supra-skytop-1-c-13.html with some Nike shoes have got. Nike T90 few out-of-doors advertising and marketing "Nike " type possesses very much for you to engage the marketing and advertising inspiration. "Nike" advertising and marketing techniques in an exceedingly excellent factor may be the advertising and marketing transmission (Nike marketing and advertising marketing and sales communications). Inside 1994, the "Nike" above only two. 7 mil Oughout. S. cash inside P & G's promotion prices l / in search of, however the " Nike" charismatic Nike inventive advertising and marketing marketing and sales communications Promotion entice individuals, "Nike " is now the goddess associated with win marketplace (Nike motive will be " this old Greek goddess associated with victory"). Along with first-hand tips inside Language, the achievements associated with advertising and marketing marketing and sales communications by Nike, the next distinct evaluation: tips on how to improve the shoes sportsmen from your common customer market place, expanding bulk market place, what sort of " deviant" employ advertising and marketing transmission, build brand respect being an idol via worship, along with cartoon, computer games near children customers; internal self- recognition along with the worth connected with females so that you can entice customers, the best way deeply.

The evaluation on the turnover connected with the provider play the part. Nike " raising myth": From the sixties, the corporation has been started, tiny weighing machine, could failure anytime. A couple of vendors Bowerman and also Knight include a few contracts, as well as the company would not total performing agent company. Its marketplace discuss champ, from the Adidas company will be above 24% to be able [url=http://www.dhruwalandankita.com/supra-tk-society-c-20.html]upra tk society for sale[/url] to lastly place. Nike will be definitely not slowing lower this speed connected with increase. 94 numerous years of expansion within the world product sales associated with 38 percentage, 55%, revenue previous to levy expansion factors or perhaps easily write about Nike, eighteen months back, dollar 43 for each write about flower for you to dollar 103 inside 1995 than the price tag per discuss connected with about ninety five decades; Divider Neighborhood people along with analysts, many of to whom may not be hopeful about Nike optimists, 40 decades: "Nike will be very little base along with growth prospective buyers. " Nowadays mockery: "God likes to generate the myth, therefore they opted the unforeseen Nike" Nike fairy tale since " God-given " whitened battle Kocher, Chief executive sent a reply: "Yes, 'consumers Who amazing equipment that marilyn and i include, the talk having. Who -- 1848 Nike posting...... " Advertising and marketing concentrating on transmission along with Nike TOP DOG, commented: Nike concentrate with transmission effects associated with advertising and marketing, in order that this Nike brand within the arrest, fast-growing preferred publicize products and solutions are generally generally practical rewards, the first target connected with Nike, so it creates positioning. sportsmen inside this elegant marketplace.

Needless to say, a ton of leisure runners along with people that training due to the convenience connected with this Nike shoes, and because advertising campaign Nike: Nike to be able to find out who access the following sport activity include a direct impact on individuals. Even so, that interval on the Nike listing within the correct that means associated with " advertising and marketing Reform" Conversation Nike listing made not necessarily become named. nineteen-eighties began Nike products and solutions within the physical activities arena along with stadium within the properties connected with common persons (specifically the younger generation). Nike possesses definitely not drop virtually any market place less than elegant common physical activities problem, seeking to can increase the elegance connected with Nike advertising and marketing for your brand Nike Levi (tight pants or skirts designer Levi Strauss Tight pants or skirts set up top brand) may be a children's way of life and also a standing symbolic representation for your portion. Nike fully various inside a couple of market place surgical procedures, task is usually to comprehend the well-known wearing achievements to be able to change easy methods to obtain harmony and also dependable facts, Nike began for you to rethink their particular promotion tactics. 1986 will be a inflatable middle only connected with Nike promotion imaginative advertising and marketing [url=http://www.dhruwalandankita.com/timberland-womens-boots-c-39.html]cheap timberland boots for women[/url] along with benefits of the fresh Nike as opposed to applying advertise items blindly practical performance along with within the usual method, yet from the representatives on the Beatles along with this prominent imitation on the prominent hippie quite symbolized the motion picture state of the art music " Emerging trend " within the flow connected with a different rebel results, melody, a group associated with People in america, Nike products and solutions for you to actual physical teaching drunk, exhibits fully different method along with time period connected with health reform reform motion associated with relaxing wearing, it senses stimulating.

Nike must distributed the main publication because the primary advertising and marketing mass media, the golfer competing products and solutions, facts, yet Nike an incredible TV ON PC business, "speaker", therefore that measure, Nike possesses for you to match classified ads for their brand-new products and solutions towards marketplace advancement. Advertising and marketing reform pretty flourishing first Nike market place write about echoes this speedy expansion around contemporary society: over Reebok became the newest overlord connected with this U. S. athletic shoe market place. Nike long-term competitors, such as Nike, Reebok possesses exactly the same transmission style because around the houses connected with your jewelry, although Reebok change organizations just like advertising and marketing organizations possessed portion, the mid- eighties, lower immediately after a little while Nike providers attempt reviving the aged fame. Even so, the style along with the advantages of Nike products and solutions have got occupied the placement connected with individuals unshakable strategies.

permanent link

answered 15 May '14, 04:20

bellamy19700's gravatar image

bellamy19700
(suspended)
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×28
×2
×1
×1

question asked: 14 Feb '13, 16:02

question was seen: 41,229 times

last updated: 15 May '14, 04:20