cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding BAPI /POSDW/BAPI_POSTR_CREATE

Former Member
0 Kudos

Dear Friends,

I have the POS data in XML  data and my requirement is as below

1-->Read the XML data structure wise and store in a internal table.

2-->Create a Remote Function module

3-->Call the BAPI(/POSDW/BAPI_POSTR_CREATE) in that Remote function module bcz this BAPI is available in BW system and i want to call it from

      the PI7.0 system.

4-->Push the internal table data to the BW system using the BAPI.

Appreciate  if anyone could please would share valuable input in this .

Thank you very much in advance.

Regards

Jay

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Mrutyunjaya,

1-->Read the XML data structure wise and store in a internal table.

2-->Create a Remote Function module

3-->Call the BAPI(/POSDW/BAPI_POSTR_CREATE) in that Remote function module bcz this BAPI is available in BW system and i want to call it from

      the PI7.0 system.

You can achieve this with a JDBC - RFC scenario. Check this thread for the How-To http://scn.sap.com/thread/1600379

I would consider to do a Z RFC which wraps the BAPI, you can have more control to commit and roolback and i dont know if that bapi has supporte the remote call.

To connect the bapi response with BW, better without PI, check this thread http://scn.sap.com/thread/2109599 and this link http://help.sap.com/saphelp_nw04/helpdata/en/71/a202400d67c342e10000000a1550b0/content.htm

Regards.

Former Member
0 Kudos

Hi Inaki,

Thanks a lot for the quick reply.I can achieve the below points.

1-->ABAP program to read the POS XML file and save the data in a internal table.

The BAPI(/POSDW/BAPI_POSTR_CREATE) can be called from PI sysem as customer done it earlier for the first implementation but now for this re implementation they dont want do go for Graphical Mapping as there was some critical issues they faced which could not be resolved through Graphical Mapping.

Appreciate if you could please give me idea on below point.

Can I achive if I follow the below design-->

1-->Develop an ABAP class to read the XML file and store the data in a Internal Table.

2-->Create a custom RFC  Function module and call this BAPI (/POSDW/BAPI_POSTR_CREATE) .

3-->Call this RFC in the ABAP class and push the internal table data to BW thorugh this BAPI.

Thanks a lot in advance.

Cheers

Jay

iaki_vila
Active Contributor
0 Kudos

Hi,

Im very sorry, i missunderstood your requeriment, i read it too quickly, forget the jdbc issue.

If you have the bapi in the BW system, you can use a  Proxy ABAP - PI - RFC scenario.

Regards.