cancel
Showing results for 
Search instead for 
Did you mean: 

How to change customs document via /sapsll/api_6800_synch

jason_zhou7
Explorer
0 Kudos

Dear experts,

Scenario & Requirement:
We don't have SAP ERP as the feeder for customs document, and we have a option to create the customs document manually. Afterwards we need to change the manually created customs documents. The actions for creation and change are triggered from the Fiori app, as the backend side we try to use FM /sapsll/api_6800_synch for implementation.
For the change scenario, we may change the quantity/amount of an item, and we want the system to trigger rechecking license assignment.

Open question:
There's so many non-optional parameters need to be supplied for /sapsll/api_6800_synch. If we just want to update the quantity/amount, can we just leave some mandatory parameters empty and what're the fewest parameters we need to supply?

Appreciate if you have such experience to share!

Accepted Solutions (1)

Accepted Solutions (1)

derek_yang
Advisor
Advisor
0 Kudos

Hi Jason,

If you want to use API /sapsll/api_6800_synch, each time you have to supply all the parameters. Since all GTS data are relying on the feeder system transfer, without the necessary parameter, it cause confusion in the GTS side.

The function module you mentioned is actually purely from a technical point of view in GTS side, by using the object layer FM. It doesn't consider any feeder system data.

Regards,

Derek

former_member194424
Active Participant
0 Kudos

Hi Derek,

I'm using the same API passing all the parameters for create & change but in change mode, the GTS checks aren't occurring. Any ideas? In fact, the documents are created and checked fine in create mode, only change mode is problem. The traffic lights disappear in the change mode. Any ideas, please?

Regards,
Satish

Answers (1)

Answers (1)

jason_zhou7
Explorer
0 Kudos

I have managed to change the customs document with the combination of serial FMs.

Options differ for different scenarios:

Scenario 1: No need to trigger rechecking license assignment

/SAPSLL/CUHD_MAINTAIN_OBJECT + /SAPSLL/CUHD_SAVE_MASS

Scenario 2: Need to trigger rechecking license assignment

/SAPSLL/CUHD_MAINTAIN_OBJECT + /SAPSLL/CUHD_SAVE_EXTENDED