cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Generation for Production Order RCCLORD

Former Member
0 Kudos

Dear Team,

I am using the program "RCCLORD" for IDoc generation of production order. In this program, in the field "System Status" (Selection at the header level), i CAN NOT enter the system status "I0002" (the system status "I0002" refers to status "RELEASED") since the "System Status" field can only carry four characters (ie, i can only enter "I000"). How to select only "RELEASED" production order for IDoc generation in this program?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

You can use the selection profile BS42 here you can define the Selection conditions with Status like REL.

Please refer OSS note 84091 - POI: additional selections for IDoc LOIPRO by implementing this note you make a modification of your R/3 System.

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

The SAP Note "84091" refers as below:

Step 1:

You must create a selection profile (for example, MYSEL) in which you can specify which orders

should be selected with which statuses in Transaction 'BS42'.

The selection profile can be maintained in Customizing under Production -> Production orders ->

Master data -> Order -> Define selection profile.

Step 2:

This selection profile must then be transferred during the order selection for IDoc LOIPRO. This is

carried out in the 'Source code corrections'. Note that the selection profile, which must be

implemented in the 'Source code corrections', must agree with the selection profile defined before.

As per "Step 1" i have done the below settings in BS42:

I have created the selection profile "ZSAPP01" and in the selection profile, i have included the status REL (State is "Active" & i have not checked the check box "Not") in BS42.

As per "Step 2" In which program should i include the selection profile "ZSAPP01"?

Thanks

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

Please implement the OSS note or do the correction in function CLOI_DOWNLOAD_TRIGGER_TRANS (POIT) suggested in that note.

Modification note 84091; please replace 'MYSEL' with your own status here you can specify "ZSAPP01"

* selection profile as defined in the customizing (transaction BS42).

  WITH p_selid EQ 'ZSAPP01' "MOD_84091

  WITH ORDTOMEM EQ CLOI_X AND RETURN.

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

I think in my system also the note is already implemented.  In my system also i having the same code as like your screen shot. Attached the screen shot for your ref. So in the SE38, in the program "RCCLORD", i can enter the selection profile as "ZSAPP01" & the status as "REL". But i can not enter the status alone as "REL" without entering the selection profile. Am i right?

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

This note is valid up to 606 version  please check with your technical person where the correction are implement in you system for your status profile according to this note.

Also refer OSS note 1377678 - COOIS: REL and CLSD system status is not unique.

Call tranaction BS22 and perform the following steps.

Change the status text for I7203 from "REL" to "Rel" and IF007 from "CLSD" to "CLS".

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

my system status is:

SAP_ABA7020013SAPKA70213Cross-Application Component

SAP_BASIS7020013SAPKB70213SAP Basis Component

SAP_APPL6050010SAPKH60510

Logistics and Accounting

With above system status, still do i need to implement the SAP note 84091?

Do i  need to explicitly specify the selection profile "ZSAPP01" while implementing the SAP note? Suppose if i have some 10 selection profile, do i need to mention all the 10 selection profiles while implementing the note? Then it becomes that whenever the selection profile is created in BS42 & the same to be added in the program RCCLORD? Is it?

Thanks

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

Note is valid for your version This note is used to select orders by their status so that, for example, no orders completed technically are sent. Yes you need to specify the selection profile "ZSAPP01"  Your technical person can guide you in better way on it Why do you need multiple profile one profile can have multiple status. Yes you can include that status or status profile.


Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

After implementing the above SAP note, can i ONLY provide the system status as "REL" & i will NOT specify any Selection profile in RCCLORD. Is this OK? (OR) Should i enter the selection profile as mandatory in RCCLORD?

Thanks

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

You can specify the status profile in program RCCLORD it will work for you. Please test the same and come back.

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

I can provide the selection profile in RCCLORD & i can generate the IDocs for production order (message type: LOIPRO01). Then Why should i specify the selection profile in the FM "CLOI_DOWNLOAD_TRIGGER_TRANS" as specified in the SAP note 84091?

Thanks

Former Member
0 Kudos

Hi Rupesh,

What is the use of implementing the SAP Note 84091? After implementing this SAP Note, will the selection profile which is mentioned in the SAP note 84091 will be defaulted in program RCCLORD?

Thanks

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Selva,

This additional selection condition to execute program RCCLORD. Otherwise every time you have to have select the status profile in program RCCLORD. I would suggest you please test the same and then come back if you have any specific issue.

Regards,

R.Brahmankar

Former Member
0 Kudos

Hi Rupesh,

This SAP note hard codes the field value for the screen field "P_SELID" which means that whenever i execute the program "RCCLORD" always the selection profile will be defaulted (for example the selection profile will be defaulted as "ZSAPP01"). Instead of implementing this SAP note, i can create the variant for this program with the required input field values & i can generate the IDoc for the production order. Is this OK?

Thanks

Former Member
0 Kudos

Hi Rupesh,

This SAP note hard codes the field value for the screen field "P_SELID" which means that whenever i execute the program "RCCLORD" always the selection profile will be defaulted (for example the selection profile will be defaulted as "ZSAPP01"). Instead of implementing this SAP note, i can create the variant for this program with the required input field values & i can generate the IDoc for the production order. Is this OK?


Thanks

rupesh_brahmankar3
Active Contributor

Hi Selva,

Yes that's right why don't you test the same? I hope it should work for you.

Regards,

R.Brahmankar

Answers (1)

Answers (1)

former_member211676
Contributor
0 Kudos

Hi Selva

In the header level you supposed to pass the system status ( Individual status of an object (short form)) of the order ex: REL.

Regards

Kesava

Former Member
0 Kudos

Hi Kesava,

We can not enter the status alone (Eg: REL) without entering the selection profile. The entry of selection profile is mandatory to restrict / filter the production orders based on the status (Eg: REL, CRTD)

Thanks