B2B Integration

 View Only
Expand all | Collapse all

We have to export only selected BPs and maps from back end - scripts

  • 1.  We have to export only selected BPs and maps from back end - scripts

    Posted Mon December 07, 2020 09:31 AM
    Hi All - Can you let me know how can we export only selected maps/BPs through back-end scripts and also import them?
    We tried using 
    MAPS[1] = MapsName1 
    MAPS[2] = MapsNam2
    MAPS[3] = MapsName3
    etc..

    Export failed throwing error reason inavlid export.

    Please let me know correct command syntax.


    Thanks and Regards

    Prathamesh Chavan

    Mondelez B2B Application Team





    This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
    ______________________________________________________________________________________

    www.accenture.com

    #B2BIntegration
    #SupplyChain


  • 2.  RE: We have to export only selected BPs and maps from back end - scripts

    Posted Tue December 08, 2020 01:26 AM
    Hi Prathamesh Chavan,
    Selected Maps and BP's can be exported by using "export.sh" script by passing the input in the below format,

    BPDEFS[1]=BP1
    BPDEFS[2]=BP2
    BPDEFS[3]=BP3

    MAPS[1]=MAP_NAME1-HW
    MAPS[2]=MAP_NAME2-HW
    MAPS[3]=MAP_NAME3-HW

    For the Map names, you need to provide the map type param suffixed at the end like the one shown in above sample,
    HW for all translation maps
    LW for XML encoder maps
    DRAFT for just the source code without compiler file
    DRAFT XML for source code XML without compiler file
    WTX if for all ITX maps

    Sample Commands:
    ********************
    ./export.sh -input myInput.txt -output maps_export.xml -report maps_export.log -passphrase {passphrase}

    ./import.sh -input maps_export.xml -report maps_import.log -passphrase <passphrase>

    Hope this helps.!

    ------------------------------
    Ramkumar Panchanatham
    ------------------------------



  • 3.  RE: We have to export only selected BPs and maps from back end - scripts

    Posted Tue December 08, 2020 08:14 AM
    This helped, thankyou !

    ------------------------------
    Prathamesh Chavan
    ------------------------------



  • 4.  RE: We have to export only selected BPs and maps from back end - scripts

    Posted Tue December 08, 2020 08:06 AM
    Hi Prathamesh,

    I created a file named teste.txt, include inside...

    MAPS[1]=ABARouting
    MAPS[2]=ABCCodes

    ran the commande   export.sh -input teste.txt and works fine

    [siuser@SFG6001 tp_import]$ ./export.sh -input teste.txt
    EXPORT, SelectedListForResource={MAPS=[ABARouting, ABCCodes]}
    EXPORT, Final SelectedListForResource={MAPS=[ABARouting, ABCCodes]}
    Beginning generateXML() ...selected resources...
    The exported xml file is Export.xml
    Export completed.

    Share de command you are executing.

    Regards
    Ricardo Bortoletto

    ------------------------------
    Ricardo Bortoletto
    ------------------------------