‎2006 Mar 08 4:26 AM
1. What are the mandatory inputs to different tables and structures for BAPI_ENTRYSHEET_CREATE to work ?
2. Is there a way to create ENTRYSHEET based on a PO / WO
with all items copied, just by giving the PO / WO number and a few more parameters instead of listing all the items again ? (<b>Using BAPI_ENTRYSHEET_CREATE or any other BAPI, but should be remote-enabled</b>)
Please reply with exact solution if you have, not a link to help.sap.com - I have looked at that.
Thanks for your help to the SAP community !
‎2007 Jan 08 11:17 AM
Hello
check OSS message 420334 for examples of BAPI_ENTRYSHEET_CREATE usages.
Cheers, a14
‎2006 Mar 08 4:54 AM
Hi,
This BAPI_ENTRYSHEET_CREATE can be used to create entry sheets. Also, it is remote enabled.
ENTRYSHEETHEADER is the only mandatory parameter.
Hope this helps.
Regards,
Shashank
‎2006 Mar 08 5:11 AM
Shashank,
1. Thanks for a quick response.
2. which fields in ENTRYSHEETHEADER are mandatory ?
3. Are you sure that no fields need to be filled in for the ENTRYSHEETACCOUNTASSIGNMENT and ENTRYSHEETSERVICES tables ?
4. no texts are required ?
5. Have you successfully used this BAPI ?
6. Second part of my original question is unanswered.
Thanks
‎2006 Mar 08 5:38 AM
Hi,
All the fields in header are mandatory.
ENTRYSHEETACCOUNTASSIGNMENT,ENTRYSHEETSERVICES tables can be filled according to requirements, though they are not mandatory.
I have not used BAPI.
regards,
Shashank
‎2006 Mar 08 6:01 AM
Shashank,
Thanks for the follow-up answer.
I populated all the fields of ENTRYSHEETHEADER and it did create the entrysheet. So it is partially useful. I need more info on this BAPI with help on some of the important fields of ENTRYSHEETHEADER and also in other optional tables, because this BAPI will actually be used in production environment.
If any one has used this BAPI, please provide more help, not just to make it work, but on significance and semantic meaning of some of the important fields and where the data comes from. Any book on MM-SRV ?(other than help.sap.com)
Shashank, thanks again for the answer. I tried to give some points - if I know how to do it.
Regards,
‎2006 Mar 08 7:25 AM
HI MB,
Here is an example of values given to various import/tables parameters of BAPI 'BAPI_ENTRYSHEET_CREATE'.
Hope this will help you.
ENTRYSHEETHEADER
PCKG_NO 0000000001
SHORT_TEXT TEST
PO_NUMBER 4500017443
PO_ITEM 00010
BLOCK_IND
SCORE_TIME 0
SCORE_QUAL 0
DOC_DATE 12.10.2005
POST_DATE 12.10.2005
REF_DOC_NO
ACCASSCAT F
COMM_NO
USER_FIELD
ACCEPTANCE X
ENTRYSHEETACCOUNTASSIGNMENT
PCKG_NO 0000000001
SERIAL_NO 01
GL_ACCOUNT 417000
BUS_AREA 9900
COSTCENTER 9010
SD_DOC
ITM_NUMBER 000000
ASSET_NO
SUB_NUMBER
ORDER
CO_AREA 2000
TO_COSTCTR
TO_ORDER
TO_PROJECT
COST_OBJ
PROF_SEG 0000000000
PROFIT_CTR 3402
ENTRYSHEETSERVICES (two lines)
PCKG_NO 0000000001
LINE_NO 0000000001
EXT_LINE 0000000000
OUTL_LEVEL 0
OUTL_NO
OUTL_IND X
SUBPCKG_NO 0000000002
SERVICE
SERV_TYPE
EDITION 0000
SSC_ITEM
EXT_SERV
QUANTITY 0,000
BASE_UOM
UOM_ISO
OVF_TOL 0,0
OVF_UNLIM
PRICE_UNIT 0
GR_PRICE 0,0000
FROM_LINE 1
TO_LINE
PCKG_NO 0000000002
LINE_NO 0000000002
EXT_LINE 0000000020
OUTL_LEVEL 0
OUTL_NO
OUTL_IND
SUBPCKG_NO 0000000000
SERVICE 3000000000017
SERV_TYPE
EDITION 0000
SSC_ITEM
EXT_SERV
QUANTITY 2,000
BASE_UOM AU
UOM_ISO PCE
OVF_TOL 0,0
OVF_UNLIM
PRICE_UNIT 1
GR_PRICE 100 000,0000
FROM_LINE
TO_LINE
SHORT_TEXT WINDOW INSTALLATION
ENTRYSHEETSRVACCASSVALUES
PCKG_NO 0000000002
LINE_NO 0000000002
SERNO_LINE 01
PERCENTAGE 100,0
SERIAL_NO 01
QUANTITY 2,000
NET_VALUE 100 000,00
Hope it helps...
Lokesh
‎2006 Mar 08 4:12 PM
Hi Lokesh,
Can you tell me what all these fields mean, what all the values are (which of them are arbitrary inputs, which are from the PO, and which are from check tables ?
I really need this info in order to use this BAPI. It is not just to see that it works, but to actually use it in real-life situation.
I sincerely appreciate your and Shashank's help and hope to get some more help to complete this cycle.
Thanks a lot.
‎2007 Jan 08 11:17 AM
Hello
check OSS message 420334 for examples of BAPI_ENTRYSHEET_CREATE usages.
Cheers, a14