cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Master Data On the fly

Former Member
0 Likes
205

Hello Experts,

I have a few doubts in the master data on the fly code, the code we write for the data manager package,

 

PROMPT(TEXT,%PROP_ID%,"New Member ID",)

 

PROMPT(TEXT,%PROP_EVDESCRIPTION%,"Description",)

 

PROMPT(SELECT,%SELECTION%,,"Select the Parent for the new member, Click Next","RSPF_CCOUNT")

 

PROMPT(TEXT,%ACCTYPE%,"ACCOUNT TYPE",)

 

PROMPT(TEXT,%RATETYPE%,"RATE TYPE",)

 

PROMPT(SELECT,%TEMPLATE_MBR%,,"Select the Template Member (default property values will be copied from this member), Click Next", "RSPF_CCOUNT")

 

INFO(%EQU%,=)

 

INFO(%TAB%,;)

 

TASK(ZUJDXRL_VARIANT,TAB,%TAB%)

 

TASK(ZUJDXRL_VARIANT,EQU,%EQU%)

 

TASK(ZUJDXRL_VARIANT,SUSER,%USER%)

 

TASK(ZUJDXRL_VARIANT,SAPPSET,%APPSET%)

 

TASK(ZUJDXRL_VARIANT,SAPP,%APP%)

 

TASK(ZUJDXRL_VARIANT,SELECTION,%SELECTION%)

 

TASK(ZUJDXRL_VARIANT,LOGICFILENAME,MDOFX.LGF)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM1_KEY,ID)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM1_VALUE,%PROP_ID%)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM2_KEY,EVDESCRIPTION)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM2_VALUE,%PROP_EVDESCRIPTION%)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM3_KEY,ACCTYPE)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM3_VALUE,%ACCTYPE%)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM4_KEY,RATETYPE)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM4_VALUE,%RATETYPE%)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM5_KEY,TEMPLATE_MBR)

 

TASK(ZUJDXRL_VARIANT,REPLACEPARAM5_VALUE,%TEMPLATE_MBR%)

In this code what is the meaning of

INFO(%EQU%,=)

 

INFO(%TAB%,;)

and what is tamplate_MBR, what if I dont want to use the Template_MBR.I want to add all the new property values which are not present in any of the other dimension member.

and the last question is suppose I want to give the value from excel rather then TEXT or Select Statement ant what should be the code.

Can anyone please write a sample code is i want to ass the ID from cell A1 rather then from a text prompt.

Thanks & Regards

Ronit Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Likes

Hi Rohit,

1. Look here:

INFO(%EQU%,=)

INFO(%TAB%,;)

 

TASK(ZUJDXRL_VARIANT,TAB,%TAB%)

TASK(ZUJDXRL_VARIANT,EQU,%EQU%)

Result is:


TASK(ZUJDXRL_VARIANT,TAB,;)

TASK(ZUJDXRL_VARIANT,EQU,=)


to pass the delimiters... not sure it's required here!


2. Template is required, but properties defined in parameters will overwrite the template. And for sure you can change ABAP code to not use the template.

3. Read here:

Vadim

Former Member
0 Likes

Hi Vadim,

For my question no 2 what I should write in the abap code IF I dont want to use the template member.

Thanks & Regards

Ronit Kumar

former_member186338
Active Contributor
0 Likes

You have to know ABAP development... then you will easily correct the code. If not - ask the right person.

Vadim