Skip to Content
avatar image
Former Member

Seeburger - Mapping Variables

From the Seeburger Workbench there is a tab "Mapping Variables" -- Is there a document or a blog entry that discussing reading these values in an operation mapping, and/or using the attribmapper module?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Mar 10, 2011 at 03:09 PM

    If you have Seeburger installation CD/Data, you may check the "SAP_Functions_en.pdf" which has complete details about mapping variables.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Seeburer resource management component should be installed.

      I am not the one who installed the seeburger but you can check with basis people or the one who installed the seeburger.

  • avatar image
    Former Member
    Mar 09, 2011 at 04:27 PM

    You can read the counter and varible in java mapping., You also need to import jar file SeeCommonCollection PI.jar and SeeFunctionPI.jar

    Reading (and incrementing)

    a counter

    try {

    CounterBean be=CounterFactory.getCounterInstance();

    return "" + be.nextCounter("COUNTERNAME");

    } catch (Exception e) {

    throw new RuntimeException(e);

    }

    Setting a variable

    try {

    VariableBean

    be=VariableFactory.getVariableInstance("");

    be.setStringVariable("VARIABLE",value);

    return "";

    } catch (Exception e) {

    throw new RuntimeException(e);

    }

    Reading a variable

    try {

    VariableBean

    be=VariableFactory.getVariableInstance("");

    return be.getStringVariable("VARIABLE");

    } catch (Exception e) {

    throw new RuntimeException(e);

    }

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2011 at 07:04 PM

    Hi

    By using UDFs we can generate the control numbers for ISA,GS and ST segments. We can store this control number value in one variable, this variable we can use in the mapping.

    The same variable, what ever we mentioned in the mapping that automatically come to seeburger work bench and when we executee the mapping the value in the varible is incremented.

    We can move these variables from Dev to QA by export option. we can reset this values in the seeburger workbench by double click on that variable.

    Regards

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      What I am trying to do is pretty simple. I have 3 SAP PI instances. Dev, UAT, and Production.

      When I promote from an environment there is typically some predictable things that need to chanage. For example, the hostname in an SFTP channel what I would like to do is "variableize" this, so changes will not need to be made between each environment for these common values.