Skip to Content
avatar image
Former Member

CA02 changes when running LSMW vs. normal transaction

In CA02 when I update a routing and enter in the following information:

When I hit enter it just brings in the record. When I do this through an LSMW recording and hit enter I get this pop-up:

Does anyone know why this is showing up? It seems to have something to do with the include LQPAAFI1 with the variable g_call_mod which is initial in CA02 but in LSMW running CA02 it isn't. We see this code here:

Can anyone help with this? It is making it so my LSMW doesn't work correctly because sometimes it brings up that screen and other times it doesn't.

Thanks and hopefully someone can solve this!

pastedImage_1.png (34.1 kB)
pastedImage_2.png (10.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jun 09, 2015 at 05:28 AM

    This is typical issue with task list when you use LSMW by recording method. Even with BDCs also this persists. And you can't avoid this pop up coming. I also at least faced it earlier. 2 ways I can suggest here!

    1. LSMW by recording method has few limitations for task list. But if this is working fine for you and you are only bothered with that inspection method pop up then - You should insert some dummy inspection method in to your template file. Records will be created with this dummy inspection method code. Later (once the entire data uploading is done) you can remove/delete this using CWBQM mass transaction. You need not change the ABAP code at least here!
    2. Go with LSMW by batch input method instead of recording. It uses the standard program RCPTRA01. But this is tedious in nature somehow compared to option 1.

    Anand

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Anand Rao

      You are correct it seems to not matter if it is qualitative or quantitative but only dependent upon inspection method being assigned. We found an old program that runs a BDC for this that we can modify so that if the inspection method is blank, the steps in the BDC for screen 1502 aren't included. This should solve our issue, but thanks for the help!

  • avatar image
    Former Member
    Jun 08, 2015 at 01:00 PM

    I moved this discussion to the SAP QM section.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09, 2015 at 05:01 AM

    Hi Joseph,

    I believe you will get the pop up screen when the "Inspection method plant" is blank.

    The cursor will point to the first available column and in your case it is Insp Method plant. Probably in another routing if this is not empty, your LSMW may work also without any error.

    If that's the case, then either you need to re-record the LSMW or change the routing for such cases.

    Thanks

    Prem

    Add comment
    10|10000 characters needed characters exceeded