2010 Feb 10 9:29 AM
Hi,
When i use the ref po no and create the same ref po in ME21n tcode, there is no issue po is succesfully created.
When im trying to pass through BAPI_PO_CREATE1, it is giving me a error as "Network or network activity 4008252 does not exist", though the Network 4008252 exists in CN23 with activites 120 and 250.
I have debugged the report, inside the BAPI_PO_CREATE1, we have one perform "get_current_data", in side that go to the method CALL METHOD l_item->get_po_accountings.and again go inside teh FM MEPO_DOC_ITEM_ACCOUNTS_ID_GET, and again go inside the perform GET_ITEM_accounts_id(saplmepo), there we fidn the read table KNT. This Table KNT is filled some where before the call of BAPI_PO_CREATE1 and it is filled. in this KNT, the activity is missing,by the time breakpoint reaches there. i have added the activities in debugging mode but still it is giving me a same error "Network or network activity 4008252 does not exist".
Regards,
Deepthi.
Hi,
When i use the ref po no and create the same ref po in ME21n tcode, there is no issue po is succesfully created.
When im trying to pass through BAPI_PO_CREATE1, it is giving me a error as "Network or network activity 4008252 does not exist", though the Network 4008252 exists in CN23 with activites 120 and 250.
I have debugged the report, inside the BAPI_PO_CREATE1, we have one perform "get_current_data", in side that go to the method CALL METHOD l_item->get_po_accountings.and again go inside teh FM MEPO_DOC_ITEM_ACCOUNTS_ID_GET, and again go inside the perform GET_ITEM_accounts_id(saplmepo), there we fidn the read table KNT. This Table KNT is filled some where before the call of BAPI_PO_CREATE1 and it is filled. in this KNT, the activity is missing,by the time breakpoint reaches there. i have added the activities in debugging mode but still it is giving me a same error "Network or network activity 4008252 does not exist".
Regards,
Deepthi.
2010 Feb 10 11:37 AM
2010 Jun 16 11:08 AM
Dear deepthi dandibh,
Do you know how to solve it? I got the problem similar as you.
When I debug via BAPI_PO_CREATE1 function, I found the KNT has the G/L Account inside, But when I call BAPI_PO_CREATE1 by Zxxx program and debuging it. It doesn't has the G/L Account inside KNT table.
Could you please help to advise me how to do ?
Best Regard,
NNP
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |