Anda di halaman 1dari 7

Simple start routine DSO->DSO

1 of 7

https://archive.sap.com/discussions/thread/3371250

10/31/2016 6:57 PM

Simple start routine DSO->DSO

2 of 7

https://archive.sap.com/discussions/thread/3371250

Hi experts
This coding in a start routine gives the following error message: E:Field specification missing
What's wrong?
Thanks

DELETE SOURCE_PACKAGE WHERE FC_OPBEL = FC_AUGBL


.
enterprise_data_warehousing/business_warehouse

Thomas Fabian
June 06, 2013 at 16:23 PM
0 Likes

Anshu Lilhori

replied

June 06, 2013 at 18:44 PM

Hi,
Please check the field name is proper or not.
This error usually occurs when field name is not specified properly.
Kindly check this thread.

10/31/2016 6:57 PM

Simple start routine DSO->DSO

3 of 7

https://archive.sap.com/discussions/thread/3371250

This error usually occurs when field name is not specified properly.
Kindly check this thread.
https://scn.sap.com/thread/2030617
Regards,
AL
0

Thomas Fabian

replied
June 07, 2013 at 07:57 AM

Thanks Anshu
Solved with the following coding:

data
: l_t_data type _ty_t_SC_1.
loop at SOURCE_PACKAGE assigning
<source_fields>.
if <source_fields>-FC_OPBEL <> <source_fields>FC_AUGBL.
append <source_fields> to l_t_data.
endif.
endloop.
SOURCE_PACKAGE = l_t_data.

Regards
PC
0

The message was moderated

Thomas Fabian

replied
June 07, 2013 at 09:33 AM

10/31/2016 6:57 PM

Simple start routine DSO->DSO

4 of 7

https://archive.sap.com/discussions/thread/3371250

June 07, 2013 at 09:33 AM

Would like to give points, but the


function seems to be inactive at this
moment. Can you confirm this on your
side? Thanks PC
0

Matthew Billingham
replied
June 07, 2013 at 10:29 AM

This discussion is not marked


as a question, so no points are
available. Anyway - we help for
the simply joy of giving, not for
points.
0

Thomas Fabian

replied
June 07, 2013 at 10:37 AM

Okay, thanks for all of your


replies. I accidently unflagged
the question flag of this
"document". Sorry for that...
0

Matthew Billingham

replied
June 07, 2013 at 09:32 AM

More efficiently:
loop at SOURCE_PACKAGE assigning
<source_fields>.
if <source_fields>-FC_OPBEL EQ
<source_fields>-FC_AUGBL.

10/31/2016 6:57 PM

Simple start routine DSO->DSO

5 of 7

https://archive.sap.com/discussions/thread/3371250

if <source_fields>-FC_OPBEL EQ
<source_fields>-FC_AUGBL.
DELETE source_package.
endif.
endloop.
0

Ravi Chandra

replied

June 06, 2013 at 18:51 PM

Hi
DELETE SOURCE_PACKAGE WHERE FC_OPBEL = FC_AUGBL

what is the value assigned to the FC_AUGBL,


Pls paste the error screenshot.
0

CH Raman

replied
June 06, 2013 at 18:56 PM

Hi pc,
You need to give proper field
name and pass the the right
value whne you use
condition.
Please check below example.
http://help.sap.com
/saphelp_nw70/helpdata
/en/43
/c3963dfbde4dede10000000a
422035/content.htm

10/31/2016 6:57 PM

Simple start routine DSO->DSO

6 of 7

https://archive.sap.com/discussions/thread/3371250

Thanks
0

vinod bokade

replied

June 06, 2013 at 19:26 PM

The problem here I can guess is FC_AUGBL

DELETE SOURCE_PACKAGE WHERE FC_OPBEL = FC_AUGBL


What is it, same from source package, what you are trying to do delete the row
from source package compairing two fileds of source package ?
If yes, then this will not work, you have to get data into internal table and then use
it to do so.
Thank-You.
Regards,
Vinod Bokade
0

bhaskar JPM

replied

June 06, 2013 at 19:36 PM

DELETE SOURCE_PACKAGE WHERE FC_OPBEL = FC_AUGBL

in this code,
FC_opbel - what is the exact name of this IOBJ, see at structure in Start Routine.
FC_AUGBL - what is this ?

ex: Delete source_package where /bic/ziobj = 'MAT'.


Regards,
Bhaskar
0

10/31/2016 6:57 PM

Simple start routine DSO->DSO

7 of 7

https://archive.sap.com/discussions/thread/3371250
Bhaskar
0

Jared Leable

replied

June 06, 2013 at 19:36 PM

Can you please show more of your code from the start routine?
0

Matthew Billingham

replied
June 06, 2013 at 19:42 PM

Here are the steps to solve your problem.


1. Put the cursor on the word "DELETE".
2. Press F1.
3. Read the syntax.
4. Try to understand how the command
5. If successful at step 4, write the start routine
6. If not successful at step 4, do one of:
a) Take an ABAP training course
b) Find an ABAP programmer
2

Ravi Chandra

replied

June 07, 2013 at 07:04 AM

HI PC
You need to write the condition finally , based on the condition the records which
is present in the source_package will be deleted .

10/31/2016 6:57 PM

Anda mungkin juga menyukai