‎2008 Feb 05 7:58 AM
hello all,
i am doing BDC for change routing (ca02) transaction.
in that my need is to assign PRT allocation for operations.
i have written a program for it but if suppose for a particlular operation i want to assign PRT and if there are no PRT assigned for that particular operation before that recording fails.and if already there is atleast one PRT assigned to that operation it runs fine. so i want to remove this error.for that may be i shd first record tha no of PRTS on screen and save that in particular counter and if suppose its greater than 0 then it will run the code and if not it will escape.
I know some of u will not understand the problem..in that case i have all screen shots and program ready for it ....plz send u r mail address to me and i will send u my problem with all details on u r mail id.waiting for quick reply.
Edited by: abhijeet shastri on Feb 5, 2008 9:01 AM
‎2008 Feb 05 10:11 AM
Hi Abhya ,
Are as per our discussion just check in database that for if there is PRT assignment is allready done or check PRT link is there through select query . If PRT assignmnt you got there then dont go there or if not skip the screen code you want.
Regards .
Pradip Pawar.
ABAP
‎2008 Feb 05 10:02 AM
hi,
Here you have to take 2 perform statements, one is for PRT and another one is for without PRT
After populating the input internal table, need check whether the particuler operation is having PRT values or not.
if PRT values are available then go for PRT screen (Perform statement for PRT values).
if not PRT values are available then go for not PRT screen.
If the PRT screen is depedable on process operation values.
then you have to make prevalidation . in prevalidation the appropriate operation containing any values for the same then call perform statement for the same. else skip that session through coding.
Ask to your functional consultant regarding tables (In which table you will PRT screen values based on process operation fields) for PRT pre validation.
I hope this message will clear your doubt
Regards,
Sreenivasa Babu
‎2008 Feb 05 10:11 AM
Hi Abhya ,
Are as per our discussion just check in database that for if there is PRT assignment is allready done or check PRT link is there through select query . If PRT assignmnt you got there then dont go there or if not skip the screen code you want.
Regards .
Pradip Pawar.
ABAP