cancel
Showing results for 
Search instead for 
Did you mean: 

I have an xml file which has to hit the GL for more than 999 records.

Former Member
0 Kudos

Hi All

I have an xml file which has to hit the GL(General Ledger). The problem is GL is accepting values only upto 999.

I have more than 999 values in the xml . How to overcome this problem.

Please give your valuable suggestions.

Zia

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ,

The Idea proposed by DEBASHISH should work.

SOmetime we have limited number of repeating nodes in IDOC so we can take the IDOC xml and edit it for the repeating node. Second step is top just import it as EXTERNAL DEFINITION and then you can continue with you mapping.

Regards.....

RaghuVamseedhar
Active Contributor
0 Kudos

Hi Zia Rehman,

I understand your input payload is like this

InputMessage

<?xml version="1.0" encoding="utf-8"?>
<root>
  <records>
    <record1 />
    <record2 />
    <record3 />
    <record998 />
    <record999 />
    <record1000 />
    <record1001 />
    <record1200 />
  </records>
</root>

As target system is accepting only 999 records at time, you want input message to be split like this.

Message1

<?xml version="1.0" encoding="utf-8"?>
<root>
  <records>
    <record1 />
    <record2 />
    <record3 />
    <record998 />
    <record999 />
  </records>
</root>

Message2

<?xml version="1.0" encoding="utf-8"?>
<root>
  <records>
    <record1000 />
    <record1001 />
    <record1200 />
  </records>
</root>

To achieve above requirement, you need to write a [Multi-Mapping|http://help.sap.com/saphelp_nwpi711/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm ] using Java Mapping.

Regards,

Raghu_Vamsee

former_member854360
Active Contributor
0 Kudos

Hi,

IN mapping create a external defination using IDOC xsd structure with 0..unbounded

Then in mapping crete multiple IDOC for more than 999 Item from source.

Former Member
0 Kudos

a file split could help ? FCC sender adapter has an option to spilt an input into smaller subsets (Recordsets per Message, available when you active the content conversion mode) ...

Chris