cancel
Showing results for 
Search instead for 
Did you mean: 

How to Count schedule lines in IDoc ORDERS05 using XSLT Mapping

nitinlpatil12
Participant
0 Kudos

Hi Experts,

In a Scenario where we are sending Purchase order (ORDERS05) to SAP SNC using XSLT Mapping,

where in we need to count the no. of schedule lines against the Purchase Order line.

As in Schedule line segment there is no such provision, so it needs to be handle in XSLT mapping to count the schedule lines.

Can you all please guide me how to go about the same.

Regards,

Nitin P

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nitin,

Open your mapping altova then you can use this command to count the number of schedule lines.

<xsl:value-of select="count(//schedule lines)"/>

Regards,

---Satish

nitinlpatil12
Participant
0 Kudos

Hi Satish,

Thank you very much for the reply,

as there is only Quantity and other information is maintained against schedule lines how we can count the schedule line repeatation against PO line ? Is that very simple as you suggested or some other consideration also needs to be taken.

Please clarify the same and let me also know if there are some standard documents also for the same.

Regards,

Nitin P

Answers (0)