Skip to Content
avatar image
Former Member

Answer Prompt file for UJD_TEST_PACKAGE_LINK

Hi All,

I am trying to trigger a BPC Data Manager Package link through program

UJD_TEST_PACKAGE_LINK. Package link has two tasks namely 'AMT GC1', AMT GC2'.

Prompts are not set for both the tasks.

package-link.jpg

Then I ran the Program UJD_TEST_PACKAGE_LINK by setting all the necessary parameters and passed the below "Answer Prompt File".

answer-prompt.jpg

Execution of the program results with following error "You do not have authorization".

I feel I am missing something in Answer Prompt file (Probably syntax error).

Could you help in resolving the issue.

Thanks & Regards,

Ramesh.

package-link.jpg (32.9 kB)
answer-prompt.jpg (212.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jul 28, 2017 at 02:38 PM

    Sorry, but without understanding how do you created the answer prompt it's not possible to help you...

    Please read:

    https://blogs.sap.com/2016/08/16/how-to-create-ujdtestpackagelink-answer-prompt/

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vadim,

      I have created the Answer Prompt file based on the suggested blog only.

      Attaching the file content below,

      <LINK_PROCESSES>
      <LINK_PROCESS_PROCESSID='AMT GC3'>
      InforProvide = XXXXX
      SELECTION = <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"><Selection Type="Selection"><Attribute><ID>ZB_DATE</ID><Operator>1</Operator><LowValue>20170331</LowValue><HighValue /></Attribute></Selection><Selection Type="FieldList"><FieldID>0CHNGID</FieldID><FieldID>0CS_CHART</FieldID><FieldID>0CS_DIMEN</FieldID><FieldID>0CS_ITEM</FieldID><FieldID>0CS_PARTNER</FieldID><FieldID>0CS_SITEM</FieldID><FieldID>0CS_SITEMCT</FieldID><FieldID>0CS_UNIT</FieldID><FieldID>0CS_VERSION</FieldID><FieldID>0CURKEY_GC</FieldID><FieldID>0CURKEY_LC</FieldID><FieldID>0CURKEY_TC</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZB_CURGC2</FieldID><FieldID>ZB_CURGC3</FieldID><FieldID>ZB_CURGC4</FieldID><FieldID>ZB_CURLC</FieldID><FieldID>ZB_CURTC</FieldID><FieldID>ZB_DATE</FieldID><FieldID>ZB_GC1KEY</FieldID><FieldID>ZB_GC2KEY</FieldID><FieldID>ZB_GC3KEY</FieldID><FieldID>ZB_GC4KEY</FieldID><FieldID>ZB_GUID</FieldID><FieldID>ZB_REPPER</FieldID><FieldID>ZB_WID</FieldID><FieldID>ZC_FUNCID</FieldID><FieldID>ZC_GAADID</FieldID><FieldID>ZC_RGPDTY</FieldID></Selection></Selections>
      TRANSFORMATION = \ROOT\WEBFOLDERS\XXXXX\XXXXX\DATAMANAGER\TRANSFORMATIONFILES\TRANSACTION DATA\IC_ELIMINATION\AMOUNT_GCKEY3.XLS
      TARGETMODE = Yes
      RUNLOGIC = No
      CHECKLCK = No
      </LINK_PROCESS>
      </LINK_PROCESSES>

      <LINK_PROCESSES>
      <LINK_PROCESS_PROCESSID='AMT GC4'>
      InforProvide = XXXXX
      SELECTION = <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"><Selection Type="Selection"><Attribute><ID>ZB_DATE</ID><Operator>1</Operator><LowValue>20170331</LowValue><HighValue /></Attribute></Selection><Selection Type="FieldList"><FieldID>0CHNGID</FieldID><FieldID>0CS_CHART</FieldID><FieldID>0CS_DIMEN</FieldID><FieldID>0CS_ITEM</FieldID><FieldID>0CS_PARTNER</FieldID><FieldID>0CS_SITEM</FieldID><FieldID>0CS_SITEMCT</FieldID><FieldID>0CS_UNIT</FieldID><FieldID>0CS_VERSION</FieldID><FieldID>0CURKEY_GC</FieldID><FieldID>0CURKEY_LC</FieldID><FieldID>0CURKEY_TC</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZB_CURGC2</FieldID><FieldID>ZB_CURGC3</FieldID><FieldID>ZB_CURGC4</FieldID><FieldID>ZB_CURLC</FieldID><FieldID>ZB_CURTC</FieldID><FieldID>ZB_DATE</FieldID><FieldID>ZB_GC1KEY</FieldID><FieldID>ZB_GC2KEY</FieldID><FieldID>ZB_GC3KEY</FieldID><FieldID>ZB_GC4KEY</FieldID><FieldID>ZB_GUID</FieldID><FieldID>ZB_REPPER</FieldID><FieldID>ZB_WID</FieldID><FieldID>ZC_FUNCID</FieldID><FieldID>ZC_GAADID</FieldID><FieldID>ZC_RGPDTY</FieldID></Selection></Selections>
      TRANSFORMATION = \ROOT\WEBFOLDERS\XXXXX\XXXXX\DATAMANAGER\TRANSFORMATIONFILES\TRANSACTION DATA\IC_ELIMINATION\AMOUNT_GCKEY4.XLS
      TARGETMODE = Yes
      RUNLOGIC = No
      CHECKLCK = No
      </LINK_PROCESS>
      </LINK_PROCESSES>

      Thanks & Regards,

      Ramesh.

  • Jul 31, 2017 at 08:10 AM

    And how do you fill other fields in UJD_TEST_PACKAGE_LINK?

    What User ID was selected?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have set prompts directly in Package link and ran the program with empty answer prompts. It is working as expected. But I want to pass the answer prompt file while running the program.

  • Jul 31, 2017 at 11:10 AM

    Now I see what was incorrect in your answer prompt! Has to be:

    <LINK_PROCESSES>
    <LINK_PROCESS_PROCESSID='AMT GC3'>
    %InforProvide%    XXXXX
    %SELECTION%    <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"><Selection Type="Selection"><Attribute><ID>ZB_DATE</ID><Operator>1</Operator><LowValue>20170331</LowValue><HighValue /></Attribute></Selection><Selection Type="FieldList"><FieldID>0CHNGID</FieldID><FieldID>0CS_CHART</FieldID><FieldID>0CS_DIMEN</FieldID><FieldID>0CS_ITEM</FieldID><FieldID>0CS_PARTNER</FieldID><FieldID>0CS_SITEM</FieldID><FieldID>0CS_SITEMCT</FieldID><FieldID>0CS_UNIT</FieldID><FieldID>0CS_VERSION</FieldID><FieldID>0CURKEY_GC</FieldID><FieldID>0CURKEY_LC</FieldID><FieldID>0CURKEY_TC</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZB_CURGC2</FieldID><FieldID>ZB_CURGC3</FieldID><FieldID>ZB_CURGC4</FieldID><FieldID>ZB_CURLC</FieldID><FieldID>ZB_CURTC</FieldID><FieldID>ZB_DATE</FieldID><FieldID>ZB_GC1KEY</FieldID><FieldID>ZB_GC2KEY</FieldID><FieldID>ZB_GC3KEY</FieldID><FieldID>ZB_GC4KEY</FieldID><FieldID>ZB_GUID</FieldID><FieldID>ZB_REPPER</FieldID><FieldID>ZB_WID</FieldID><FieldID>ZC_FUNCID</FieldID><FieldID>ZC_GAADID</FieldID><FieldID>ZC_RGPDTY</FieldID></Selection></Selections>
    %TRANSFORMATION%    \ROOT\WEBFOLDERS\XXXXX\XXXXX\DATAMANAGER\TRANSFORMATIONFILES\TRANSACTION DATA\IC_ELIMINATION\AMOUNT_GCKEY3.XLS
    %TARGETMODE%    Yes
    
    ...

    %variable%(Tab)value

    Just look again on the sample here:

    https://blogs.sap.com/2016/08/16/how-to-create-ujdtestpackagelink-answer-prompt/

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 02, 2017 at 12:28 PM

    Hi All,

    Finally I am able to trigger the BPC Package link using below Answer Prompt.

    <?xml version="1.0"?>
    <LINK_PROCESS>
    <ANSWERPROMPT PROCESSID="AMT GC3">%InforProvide% XXXXX
    %SELECTION% <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xmlns:xsd=" http://www.w3.org/2001/XMLSchema">

    Type="Selection"><Attribute><ID>ZB_DATE</ID><Operator>1</Operator><LowValue>31.03.2017</LowValue><HighValue

    /></Attribute></Selection><Selection

    Type="FieldList"><FieldID>0CHNGID</FieldID><FieldID>0CS_CHART</FieldID><FieldID>0CS_DIMEN</FieldID><FieldID>0CS_

    ITEM</FieldID><FieldID>0CS_PARTNER</FieldID><FieldID>0CS_SITEM</FieldID><FieldID>0CS_SITEMCT</FieldID><FieldID&g

    t;0CS_UNIT</FieldID><FieldID>0CS_VERSION</FieldID><FieldID>0CURKEY_GC</FieldID><FieldID>0CURKEY_LC</FieldID><Fie

    ldID>0CURKEY_TC</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZB_CURGC2</FieldID><F

    ieldID>ZB_CURGC3</FieldID><FieldID>ZB_CURGC4</FieldID><FieldID>ZB_CURLC</FieldID><FieldID>ZB_CURTC</FieldID><

    FieldID>ZB_DATE</FieldID><FieldID>ZB_GC1KEY</FieldID><FieldID>ZB_GC2KEY</FieldID><FieldID>ZB_GC3KEY</FieldID><

    ;FieldID>ZB_GC4KEY</FieldID><FieldID>ZB_GUID</FieldID><FieldID>ZB_REPPER</FieldID><FieldID>ZB_WID</FieldID><F

    ieldID>ZC_FUNCID</FieldID><FieldID>ZC_GAADID</FieldID><FieldID>ZC_RGPDTY</FieldID></Selection></Selections>
    %TRANSFORMATION% \ROOT\WEBFOLDERS\XXXXX\XXXXX\DATAMANAGER\TRANSFORMATIONFILES\TRANSACTION DATA\IC_ELIMINATION\AMOUNT_GCKEY3.XLS
    %TARGETMODE% 1
    %RUNLOGIC% 0
    %CHECKLCK% 0
    </ANSWERPROMPT>

    <ANSWERPROMPT PROCESSID="AMT GC4">%InforProvide% XXXXX
    %SELECTION% <?xml version="1.0" encoding="utf-16"?><Selections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xmlns:xsd=" http://www.w3.org/2001/XMLSchema">

    Type="Selection"><Attribute><ID>ZB_DATE</ID><Operator>1</Operator><LowValue>30.03.2017</LowValue><HighValue

    /></Attribute></Selection><Selection

    Type="FieldList"><FieldID>0CHNGID</FieldID><FieldID>0CS_CHART</FieldID><FieldID>0CS_DIMEN</FieldID><FieldID>0CS_

    ITEM</FieldID><FieldID>0CS_PARTNER</FieldID><FieldID>0CS_SITEM</FieldID><FieldID>0CS_SITEMCT</FieldID><FieldID&g

    t;0CS_UNIT</FieldID><FieldID>0CS_VERSION</FieldID><FieldID>0CURKEY_GC</FieldID><FieldID>0CURKEY_LC</FieldID><Fie

    ldID>0CURKEY_TC</FieldID><FieldID>0RECORDTP</FieldID><FieldID>0REQUID</FieldID><FieldID>ZB_CURGC2</FieldID><F

    ieldID>ZB_CURGC3</FieldID><FieldID>ZB_CURGC4</FieldID><FieldID>ZB_CURLC</FieldID><FieldID>ZB_CURTC</FieldID><

    FieldID>ZB_DATE</FieldID><FieldID>ZB_GC1KEY</FieldID><FieldID>ZB_GC2KEY</FieldID><FieldID>ZB_GC3KEY</FieldID><

    ;FieldID>ZB_GC4KEY</FieldID><FieldID>ZB_GUID</FieldID><FieldID>ZB_REPPER</FieldID><FieldID>ZB_WID</FieldID><F

    ieldID>ZC_FUNCID</FieldID><FieldID>ZC_GAADID</FieldID><FieldID>ZC_RGPDTY</FieldID></Selection></Selections>
    %TRANSFORMATION% \ROOT\WEBFOLDERS\XXXXX\XXXXX\DATAMANAGER\TRANSFORMATIONFILES\TRANSACTION DATA\IC_ELIMINATION\AMOUNT_GCKEY4.XLS
    %TARGETMODE% 1
    %RUNLOGIC% 0
    %CHECKLCK% 0
    </ANSWERPROMPT>
    </LINK_PROCESS>

    Thanks & Regards,

    Ramesh.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28 at 08:26 PM

    Ramesh,

    I have the problem in creating answer prompt file for BW info provider extract. I have created file as you mentioned but the selection part is getting truncated could you please advice

    Add comment
    10|10000 characters needed characters exceeded