cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW to upload supplementary condition (eg. FRA1) in PIR

Former Member
0 Kudos

Hi All,

I want to create an LSMW to upload condition types ( PB00, FRA1, etc) in PIR. I am trying to upload with IDOC "Cond_A".

When I am trying to upload FRA1 or other supplementary condition, I am getting an error message " Table XXX is not defined for use with cond type FRA1".

Can you please help.

regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

JL23
Active Contributor
0 Kudos

SAP explained in OSS note 41127 - Batch input purchasing info record : Conditions that this error is caused by a wrong setup in the source file.

Even this note is already 18 years old and was created for batch input, the said things in there are valid for IDoc method too.

I further recommend to read my blog as I explained how to prepare a source file

If you still need input after reading the note and the blog then show how the data is in your source file and how it is in the Converted file of LSMW (alternative you can show the details of your IDOC)

Former Member
0 Kudos

Hi Jurgen,

Let me go through the SAP notes and your blog you have mentioned and let you know.

thanks,

Former Member
0 Kudos

Hi,

I am attaching the file and IDOC.

The file contains four lines for 4 types of condition types. But, this file is creating 4 different IDOCs with different cond type rather than one single idoc.

regards,

JL23
Active Contributor
0 Kudos

If you have only one source without any hierarchy then each record in the source creates a new transaction in LSMW, except you help SAP with some ABAP coding to know when it shall create a new IDOC .

See in the blog how my source structure looks like

Former Member
0 Kudos

What is the message number you are getting ?

Former Member
0 Kudos

Hi,

Message number is VK024.

Former Member
0 Kudos

Hi,

Kindly refer the below OSS Notes which explains clearly the solution for your query.

41127 - Batch input purchasing info record : Conditions




Rgds,

Former Member
0 Kudos

Hi,

Thanks you your response.

I followed to update info record using program RM06IBI0. I followed the modifications as mentioned in this note.

The issue I am facing is : when I am processing the batch session, the condition PB00 is only getting uploaded in PIR and the other supplementary conditions are not getting uploaded.

any idea how to proceed and upload those supplementary conditions.

Regards,

Former Member
0 Kudos

Did you followed the sequence on which the condition types needs to be updated during batch input session...